Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009517/0.0009517, allocations: 80.92 kB / 22.29 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009454/0.0009454, allocations: 168.2 kB / 25.7 MB, free: 8.434 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9166/0.9166, allocations: 158.6 MB / 187.6 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141e-05/1.283e-05, allocations: 14.25 kB / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.01063/0.01064, allocations: 12.93 MB / 264.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002346/0.01299, allocations: 2.207 MB / 266.7 MB, free: 8.004 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.01316, allocations: 11.94 kB / 266.7 MB, free: 7.992 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004043/0.01357, allocations: 150.9 kB / 266.9 MB, free: 7.844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006245/0.01419, allocations: 0.5125 MB / 267.4 MB, free: 7.328 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.01709, allocations: 1.438 MB / 268.8 MB, free: 5.883 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008797/0.01797, allocations: 1.342 MB / 270.2 MB, free: 4.535 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.01815, allocations: 119 kB / 270.3 MB, free: 4.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004979/0.01865, allocations: 0.647 MB / 270.9 MB, free: 3.762 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003217/0.01897, allocations: 342.9 kB / 271.3 MB, free: 3.426 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.772e-05/0.01901, allocations: 44 kB / 271.3 MB, free: 3.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.01983, allocations: 0.7377 MB / 272.1 MB, free: 2.645 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.01994, allocations: 139.5 kB / 272.2 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.02008, allocations: 215.6 kB / 272.4 MB, free: 2.297 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007487/0.02083, allocations: 0.8727 MB / 273.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.02084, allocations: 0 / 273.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.02084, allocations: 0 / 273.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.369e-06/0.02084, allocations: 0 / 273.3 MB, free: 1.422 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0006682/0.02151, allocations: 0.6629 MB / 273.9 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.02154, allocations: 11.98 kB / 274 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000417/0.02196, allocations: 172 kB / 274.1 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.02228, allocations: 241.1 kB / 274.4 MB, free: 300 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.02231, allocations: 29.38 kB / 274.4 MB, free: 272 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.02238, allocations: 44.33 kB / 274.4 MB, free: 228 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.02293, allocations: 0.5524 MB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.02295, allocations: 8.125 kB / 275 MB, free: 15.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.02297, allocations: 20.12 kB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.02298, allocations: 16 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.02314, allocations: 142.7 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00531/0.02845, allocations: 4.151 MB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.02863, allocations: 174.3 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.008e-05/0.0287, allocations: 76.67 kB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004241/0.03295, allocations: 2.492 MB / 282 MB, free: 8.426 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.03297, allocations: 38.56 kB / 282.1 MB, free: 8.379 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.863e-06/0.03297, allocations: 7.938 kB / 282.1 MB, free: 8.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=45): time 0.006214/0.03919, allocations: 2.007 MB / 284.1 MB, free: 6.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.03922, allocations: 55.41 kB / 284.2 MB, free: 6.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.0394, allocations: 252.9 kB / 284.4 MB, free: 5.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.03943, allocations: 33.7 kB / 284.4 MB, free: 5.957 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.03953, allocations: 216.9 kB / 284.6 MB, free: 5.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.543e-05/0.03963, allocations: 162.6 kB / 284.8 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.03974, allocations: 102.2 kB / 284.9 MB, free: 5.473 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.03984, allocations: 354.7 kB / 285.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.758e-05/0.03993, allocations: 49.3 kB / 285.3 MB, free: 5.066 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.0401, allocations: 200.6 kB / 285.5 MB, free: 4.824 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002993/0.0404, allocations: 288 kB / 285.8 MB, free: 4.492 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.0404, allocations: 0 / 285.8 MB, free: 4.492 MB / 266.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004816/0.04088, allocations: 349 kB / 286.1 MB, free: 4.137 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.0409, allocations: 8 kB / 286.1 MB, free: 4.129 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.0409, allocations: 7.938 kB / 286.1 MB, free: 4.121 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004828/0.04573, allocations: 1.825 MB / 288 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003298/0.04606, allocations: 127.8 kB / 288.1 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.04746, allocations: 2.252 MB / 290.3 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.0476, allocations: 24.06 kB / 290.4 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.04763, allocations: 24 kB / 290.4 MB, free: 15.73 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001134/0.04774, allocations: 144.5 kB / 290.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.04781, allocations: 39.97 kB / 290.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005554/0.04836, allocations: 0.4959 MB / 291.1 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.04837, allocations: 11.98 kB / 291.1 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.04838, allocations: 3.938 kB / 291.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00042/0.0488, allocations: 0.567 MB / 291.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000942/0.04974, allocations: 0.8177 MB / 292.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.04974, allocations: 0 / 292.5 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002516/0.04999, allocations: 91.81 kB / 292.5 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001755/0.05175, allocations: 0.5572 MB / 293.1 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.05177, allocations: 12 kB / 293.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004918/0.05226, allocations: 1.086 MB / 294.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.05226, allocations: 0 / 294.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.05289, allocations: 0.6417 MB / 294.8 MB, free: 11.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.05293, allocations: 51.64 kB / 294.9 MB, free: 10.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.05297, allocations: 12 kB / 294.9 MB, free: 10.97 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.05312, allocations: 12 kB / 294.9 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.05316, allocations: 19.95 kB / 294.9 MB, free: 10.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.05318, allocations: 15.98 kB / 295 MB, free: 10.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.964e-05/0.05326, allocations: 86.75 kB / 295 MB, free: 10.84 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05326, allocations: 0 / 295 MB, free: 10.84 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005091/0.05377, allocations: 235.7 kB / 295.3 MB, free: 10.61 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004589/0.05423, allocations: 287.8 kB / 295.5 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005785/0.05481, allocations: 453.2 kB / 296 MB, free: 9.859 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.05482, allocations: 4 kB / 296 MB, free: 9.855 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006868/0.0555, allocations: 255.3 kB / 296.2 MB, free: 9.605 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.05619, allocations: 212.8 kB / 296.5 MB, free: 9.398 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.05763, allocations: 0.9349 MB / 297.4 MB, free: 8.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.606e-05/0.05771, allocations: 126.6 kB / 297.5 MB, free: 8.289 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.05791, allocations: 63.38 kB / 297.6 MB, free: 8.223 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003437/0.05825, allocations: 185.2 kB / 297.8 MB, free: 8.039 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.05825, allocations: 0 / 297.8 MB, free: 8.039 MB / 282.7 MB Notification: Performance of Templates: time 0.01782/0.07608, allocations: 13.58 MB / 311.3 MB, free: 10.46 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4082192671485245]