Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008494/0.0008494, allocations: 80 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004021/0.004021, allocations: 141.2 kB / 24.68 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8299/0.8299, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 319.7 MB, free: 5.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.352e-05/1.457e-05, allocations: 2.281 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0203/0.02032, allocations: 33.74 MB / 353.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.0234, allocations: 4.155 MB / 357.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.02359, allocations: 7.938 kB / 357.6 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005712/0.02416, allocations: 282.2 kB / 357.9 MB, free: 15.51 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005844/0.02474, allocations: 0.5045 MB / 358.4 MB, free: 15 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003301/0.02804, allocations: 1.674 MB / 360.1 MB, free: 13.33 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009906/0.02903, allocations: 1.28 MB / 361.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.02923, allocations: 122.9 kB / 361.5 MB, free: 11.92 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006111/0.02984, allocations: 0.6429 MB / 362.1 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.03018, allocations: 370.9 kB / 362.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.952e-05/0.03023, allocations: 48 kB / 362.5 MB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008556/0.03108, allocations: 0.7373 MB / 363.2 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.03119, allocations: 139.5 kB / 363.4 MB, free: 9.988 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.03132, allocations: 207.6 kB / 363.6 MB, free: 9.785 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009144/0.03224, allocations: 1.173 MB / 364.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.03224, allocations: 0 / 364.8 MB, free: 8.609 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.03224, allocations: 3.984 kB / 364.8 MB, free: 8.605 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.752e-06/0.03225, allocations: 0 / 364.8 MB, free: 8.605 MB / 330.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.0007476/0.033, allocations: 0.7185 MB / 365.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.03303, allocations: 8.031 kB / 365.5 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.03334, allocations: 80.58 kB / 365.6 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.03368, allocations: 284.9 kB / 365.8 MB, free: 7.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.0337, allocations: 29.38 kB / 365.9 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.081e-05/0.03374, allocations: 44.36 kB / 365.9 MB, free: 7.395 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004811/0.03422, allocations: 0.6618 MB / 366.6 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.03424, allocations: 4.188 kB / 366.6 MB, free: 6.633 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.03427, allocations: 20.12 kB / 366.6 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.03428, allocations: 12 kB / 366.6 MB, free: 6.602 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002978/0.03458, allocations: 299.7 kB / 366.9 MB, free: 6.309 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005907/0.04048, allocations: 4.554 MB / 371.5 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.04079, allocations: 270.3 kB / 371.7 MB, free: 1.402 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.04092, allocations: 136.8 kB / 371.9 MB, free: 1.266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004375/0.0453, allocations: 2.676 MB / 374.5 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.04532, allocations: 34.56 kB / 374.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=35): time 1.282e-06/0.04532, allocations: 0 / 374.6 MB, free: 14.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.005397/0.05072, allocations: 2.319 MB / 376.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.755e-05/0.05075, allocations: 55.41 kB / 376.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.05093, allocations: 285.7 kB / 377.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.05095, allocations: 29.7 kB / 377.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.05105, allocations: 236.4 kB / 377.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.05112, allocations: 166.6 kB / 377.6 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.023e-05/0.05121, allocations: 94.3 kB / 377.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.05131, allocations: 346.7 kB / 378.1 MB, free: 10.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.05149, allocations: 157.2 kB / 378.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.0517, allocations: 276.7 kB / 378.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.05209, allocations: 473.3 kB / 379 MB, free: 9.965 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.05209, allocations: 0 / 379 MB, free: 9.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006237/0.05272, allocations: 0.5975 MB / 379.6 MB, free: 9.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.05273, allocations: 8 kB / 379.6 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.05274, allocations: 4 kB / 379.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00369/0.05643, allocations: 1.844 MB / 381.4 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.05663, allocations: 107.8 kB / 381.5 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.05775, allocations: 2.441 MB / 384 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.05786, allocations: 12 kB / 384 MB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.05788, allocations: 20 kB / 384 MB, free: 4.773 MB / 346.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.0001339/0.05801, allocations: 182.4 kB / 384.2 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.29e-05/0.05806, allocations: 35.81 kB / 384.2 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007178/0.05877, allocations: 0.865 MB / 385.1 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.05878, allocations: 8 kB / 385.1 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.05878, allocations: 3.984 kB / 385.1 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006065/0.05939, allocations: 0.9788 MB / 386.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.0605, allocations: 1.351 MB / 387.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.0605, allocations: 0 / 387.4 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000155/0.06066, allocations: 83.92 kB / 387.5 MB, free: 1.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001396/0.06205, allocations: 0.6217 MB / 388.1 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/0.06208, allocations: 15.98 kB / 388.1 MB, free: 492 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007723/0.06285, allocations: 1.3 MB / 389.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.06285, allocations: 0 / 389.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.06375, allocations: 1.247 MB / 390.7 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.06379, allocations: 35.8 kB / 390.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.06382, allocations: 19.94 kB / 390.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.06392, allocations: 19.95 kB / 390.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.06396, allocations: 23.95 kB / 390.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.06398, allocations: 19.98 kB / 390.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001102/0.06409, allocations: 193.3 kB / 391 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06409, allocations: 0 / 391 MB, free: 13.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.06449, allocations: 235.7 kB / 391.2 MB, free: 13.32 MB / 362.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.0003864/0.06488, allocations: 282.7 kB / 391.5 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006998/0.06558, allocations: 0.6802 MB / 392.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.06558, allocations: 3.938 kB / 392.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004498/0.06603, allocations: 425.1 kB / 392.6 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005667/0.06659, allocations: 207.8 kB / 392.8 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.06768, allocations: 1.17 MB / 394 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001283/0.0678, allocations: 233.3 kB / 394.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.783e-05/0.06787, allocations: 44.5 kB / 394.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.06787, allocations: 0 / 394.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of Templates: time 0.009476/0.07735, allocations: 12.99 MB / 407.2 MB, free: 13.24 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.928205871023238]