Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00101/0.00101, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009145/0.0009145, allocations: 160.9 kB / 23.95 MB, free: 0.5938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8783/0.8783, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.794e-05, allocations: 6.844 kB / 324.6 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.003136/0.003154, allocations: 3.707 MB / 328.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.004551, allocations: 0.9382 MB / 329.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.004764, allocations: 12 kB / 329.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.004932, allocations: 95.06 kB / 329.3 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000269/0.0052, allocations: 194.2 kB / 329.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.005555, allocations: 171.6 kB / 329.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.006012, allocations: 0.7039 MB / 330.4 MB, free: 10 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002053/0.006218, allocations: 135.7 kB / 330.5 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.006577, allocations: 391.1 kB / 330.9 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001877/0.006764, allocations: 215.3 kB / 331.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.276e-05/0.006817, allocations: 56 kB / 331.2 MB, free: 9.215 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.315e-05/0.0069, allocations: 56 kB / 331.2 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.151e-05/0.006962, allocations: 135.4 kB / 331.3 MB, free: 9.027 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.007093, allocations: 211.4 kB / 331.5 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004694/0.007563, allocations: 0.6658 MB / 332.2 MB, free: 8.152 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.007566, allocations: 0 / 332.2 MB, free: 8.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.007567, allocations: 3.938 kB / 332.2 MB, free: 8.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.007576, allocations: 0 / 332.2 MB, free: 8.148 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.0009278/0.008504, allocations: 0.8008 MB / 333 MB, free: 7.316 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.008544, allocations: 15.98 kB / 333 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001099/0.008654, allocations: 107.8 kB / 333.1 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.008826, allocations: 96.44 kB / 333.2 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.009204, allocations: 321.3 kB / 333.5 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.413e-05/0.009228, allocations: 41.62 kB / 333.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.888e-05/0.009277, allocations: 60.36 kB / 333.6 MB, free: 6.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005645/0.009841, allocations: 0.6427 MB / 334.3 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.009853, allocations: 192 / 334.3 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.009886, allocations: 28.12 kB / 334.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.009896, allocations: 12 kB / 334.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.01029, allocations: 340.4 kB / 334.7 MB, free: 5.586 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.01187, allocations: 1.538 MB / 336.2 MB, free: 3.961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.01217, allocations: 261 kB / 336.5 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001336/0.01231, allocations: 133.7 kB / 336.6 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.01232, allocations: 4 kB / 336.6 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.01235, allocations: 38.56 kB / 336.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.844e-06/0.01236, allocations: 0 / 336.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001142/0.0135, allocations: 0.8271 MB / 337.4 MB, free: 2.637 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.01353, allocations: 81.11 kB / 337.5 MB, free: 2.539 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002823/0.01382, allocations: 393.5 kB / 337.9 MB, free: 2.145 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/0.01384, allocations: 33.7 kB / 337.9 MB, free: 2.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.01396, allocations: 308 kB / 338.2 MB, free: 1.797 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.01401, allocations: 119 kB / 338.4 MB, free: 1.68 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.532e-05/0.01409, allocations: 78.14 kB / 338.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.01418, allocations: 346.8 kB / 338.8 MB, free: 1.25 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.01431, allocations: 104.9 kB / 338.9 MB, free: 1.141 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.01447, allocations: 195.2 kB / 339.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.01476, allocations: 302.1 kB / 339.4 MB, free: 0.582 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01476, allocations: 4 kB / 339.4 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004657/0.01523, allocations: 448.9 kB / 339.8 MB, free: 136 kB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.01524, allocations: 8 kB / 339.8 MB, free: 128 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.01525, allocations: 4 kB / 339.8 MB, free: 124 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.01546, allocations: 81.88 kB / 339.9 MB, free: 36 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001768/0.01563, allocations: 79.83 kB / 340 MB, free: 15.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.01713, allocations: 2.916 MB / 342.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.01726, allocations: 23.89 kB / 342.9 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.01728, allocations: 16 kB / 342.9 MB, free: 12.78 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.01741, allocations: 161.8 kB / 343.1 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.01746, allocations: 47.72 kB / 343.1 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.0175, allocations: 51.41 kB / 343.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.0175, allocations: 4 kB / 343.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01751, allocations: 4 kB / 343.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01751, allocations: 0 / 343.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007869/0.0183, allocations: 0.8753 MB / 344.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.0183, allocations: 0 / 344.1 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.902e-05/0.01839, allocations: 51.91 kB / 344.1 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.01853, allocations: 85.53 kB / 344.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.01854, allocations: 4 kB / 344.2 MB, free: 11.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.01988, allocations: 2.905 MB / 347.1 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01988, allocations: 0 / 347.1 MB, free: 8.297 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.02039, allocations: 0.6109 MB / 347.7 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.02043, allocations: 47.66 kB / 347.8 MB, free: 7.617 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.02046, allocations: 8 kB / 347.8 MB, free: 7.609 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001523/0.02061, allocations: 23.98 kB / 347.8 MB, free: 7.586 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.937e-05/0.02066, allocations: 27.95 kB / 347.8 MB, free: 7.559 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.02067, allocations: 15.98 kB / 347.8 MB, free: 7.543 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001798/0.02085, allocations: 271.2 kB / 348.1 MB, free: 7.281 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02085, allocations: 0 / 348.1 MB, free: 7.281 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003555/0.02121, allocations: 123.9 kB / 348.2 MB, free: 7.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007224/0.02193, allocations: 1.162 MB / 349.4 MB, free: 5.961 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005522/0.02248, allocations: 0.5008 MB / 349.9 MB, free: 5.434 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.02248, allocations: 0 / 349.9 MB, free: 5.434 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/0.02279, allocations: 381.8 kB / 350.3 MB, free: 5.035 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.02313, allocations: 57.67 kB / 350.3 MB, free: 4.973 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.02677, allocations: 4.163 MB / 354.5 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001747/0.02694, allocations: 250.3 kB / 354.7 MB, free: 388 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001204/0.02706, allocations: 43.28 kB / 354.8 MB, free: 340 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.02722, allocations: 180.4 kB / 355 MB, free: 160 kB / 314.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02722, allocations: 0 / 355 MB, free: 160 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.05436, allocations: 10.13 MB / 365.1 MB, free: 6.207 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.025/7.079, allocations: 6.953 kB / 365.1 MB, free: 6.203 MB / 330.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 10.124553268775344]