Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001735/0.001735, allocations: 75.19 kB / 21.24 MB, free: 0.5469 MB / 14.72 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.001392/0.001392, allocations: 149 kB / 24.48 MB, free: 3.73 MB / 14.72 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 1.433/1.433, allocations: 173.4 MB / 201 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 178] 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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 46.77 kB / 319.4 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08747/0.08902, allocations: 52.16 MB / 371.6 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02894/0.118, allocations: 24.48 MB / 396.1 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004977/0.1229, allocations: 3.77 MB / 399.8 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.1231, allocations: 7.938 kB / 399.8 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006086/0.1237, allocations: 190.8 kB / 400 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006572/0.1244, allocations: 350.1 kB / 400.4 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003804/0.1282, allocations: 1.446 MB / 401.8 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001109/0.1293, allocations: 0.9067 MB / 402.7 MB, free: 8.094 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.1295, allocations: 76.83 kB / 402.8 MB, free: 8.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006572/0.136, allocations: 4.162 MB / 407 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.1365, allocations: 278.9 kB / 407.2 MB, free: 3.582 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.227e-05/0.1365, allocations: 32 kB / 407.3 MB, free: 3.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.1379, allocations: 0.7063 MB / 408 MB, free: 2.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001218/0.138, allocations: 91.67 kB / 408.1 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.1382, allocations: 171.4 kB / 408.2 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.1394, allocations: 0.8492 MB / 409.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1394, allocations: 0 / 409.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1394, allocations: 0 / 409.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1394, allocations: 0 / 409.1 MB, free: 1.734 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009552/0.1403, allocations: 0.5829 MB / 409.7 MB, free: 1.121 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.1404, allocations: 12.92 kB / 409.7 MB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004675/0.1408, allocations: 60.72 kB / 409.7 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.1413, allocations: 237.9 kB / 410 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.1413, allocations: 17.03 kB / 410 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.1413, allocations: 28.38 kB / 410 MB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006292/0.142, allocations: 497.9 kB / 410.5 MB, free: 188 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.142, allocations: 7.938 kB / 410.5 MB, free: 180 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.142, allocations: 12 kB / 410.5 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.142, allocations: 8 kB / 410.5 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003646/0.1424, allocations: 205.8 kB / 410.7 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/0.155, allocations: 4.094 MB / 414.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003286/0.1554, allocations: 170.6 kB / 415 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.1555, allocations: 80.84 kB / 415.1 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/0.1661, allocations: 2.68 MB / 417.7 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.1661, allocations: 42.56 kB / 417.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.214e-06/0.1661, allocations: 0 / 417.8 MB, free: 8.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006446/0.1726, allocations: 1.259 MB / 419 MB, free: 7.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.1726, allocations: 63.34 kB / 419.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1729, allocations: 232 kB / 419.3 MB, free: 7.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.392e-05/0.1729, allocations: 33.7 kB / 419.4 MB, free: 7.152 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.1731, allocations: 196.3 kB / 419.5 MB, free: 6.953 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.1732, allocations: 91.22 kB / 419.6 MB, free: 6.863 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.1733, allocations: 69.64 kB / 419.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1734, allocations: 338.8 kB / 420 MB, free: 6.449 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001717/0.1736, allocations: 87.75 kB / 420.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.1739, allocations: 187.1 kB / 420.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004605/0.1743, allocations: 299 kB / 420.6 MB, free: 5.809 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1743, allocations: 0 / 420.6 MB, free: 5.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007436/0.1751, allocations: 398.8 kB / 421 MB, free: 5.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.1751, allocations: 4 kB / 421 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1751, allocations: 4 kB / 421 MB, free: 5.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004235/0.1793, allocations: 0.9329 MB / 421.9 MB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002758/0.1796, allocations: 71.84 kB / 422 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00169/0.1813, allocations: 1.848 MB / 423.8 MB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.1815, allocations: 12 kB / 423.9 MB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.1815, allocations: 12 kB / 423.9 MB, free: 2.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.1817, allocations: 161.6 kB / 424 MB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.1817, allocations: 31.95 kB / 424.1 MB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007916/0.1825, allocations: 498 kB / 424.5 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.208e-06/0.1825, allocations: 7.984 kB / 424.6 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.1825, allocations: 0 / 424.6 MB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007736/0.1833, allocations: 0.7361 MB / 425.3 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001312/0.1846, allocations: 0.8444 MB / 426.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1846, allocations: 0 / 426.1 MB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.1848, allocations: 43.92 kB / 426.2 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001797/0.1866, allocations: 320.5 kB / 426.5 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.1867, allocations: 4 kB / 426.5 MB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005922/0.1872, allocations: 0.6538 MB / 427.1 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1872, allocations: 3.938 kB / 427.1 MB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.1883, allocations: 0.733 MB / 427.9 MB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.343e-05/0.1884, allocations: 27.84 kB / 427.9 MB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.1884, allocations: 12.06 kB / 427.9 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1886, allocations: 4 kB / 427.9 MB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.79e-05/0.1886, allocations: 15.97 kB / 427.9 MB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.1886, allocations: 11.98 kB / 428 MB, free: 14.1 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1888, allocations: 165.6 kB / 428.1 MB, free: 13.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1888, allocations: 0 / 428.1 MB, free: 13.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006401/0.1894, allocations: 191.7 kB / 428.3 MB, free: 13.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005731/0.19, allocations: 262.8 kB / 428.6 MB, free: 13.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008371/0.1909, allocations: 450.3 kB / 429 MB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1909, allocations: 0 / 429 MB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005416/0.1914, allocations: 228.6 kB / 429.2 MB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008412/0.1922, allocations: 137.4 kB / 429.4 MB, free: 12.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.1936, allocations: 0.813 MB / 430.2 MB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.1938, allocations: 168.3 kB / 430.3 MB, free: 11.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000178/0.1939, allocations: 42.95 kB / 430.4 MB, free: 11.61 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.017e-05/0.194, allocations: 28.48 kB / 430.4 MB, free: 11.59 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.194, allocations: 0 / 430.4 MB, free: 11.59 MB / 398.1 MB Notification: Performance of Templates: time 0.01708/0.2111, allocations: 9.266 MB / 439.7 MB, free: 2.434 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.544108022004366]