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.001846/0.001846, allocations: 99.86 kB / 20.96 MB, free: 3.461 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.001987/0.001987, allocations: 149.1 kB / 24.26 MB, free: 168 kB / 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 1.574/1.574, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 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.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.994e-06/1.994e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.556e-05/3.755e-05, allocations: 6.25 kB / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1746/0.1746, allocations: 38.28 MB / 305.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004634/0.1793, allocations: 4.636 MB / 310.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.1795, allocations: 9.438 kB / 310.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007387/0.1802, allocations: 274.6 kB / 310.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007272/0.1809, allocations: 0.5046 MB / 311 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.1846, allocations: 1.669 MB / 312.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009612/0.1855, allocations: 1.289 MB / 314 MB, free: 8.523 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.1857, allocations: 111.8 kB / 314.1 MB, free: 8.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.1863, allocations: 0.6464 MB / 314.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004153/0.1867, allocations: 369.7 kB / 315.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.024e-05/0.1868, allocations: 47.34 kB / 315.1 MB, free: 7.969 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.1879, allocations: 0.7362 MB / 315.9 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.188, allocations: 142.8 kB / 316 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001927/0.1882, allocations: 213.1 kB / 316.2 MB, free: 7.434 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.1892, allocations: 1.177 MB / 317.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1892, allocations: 0 / 317.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1892, allocations: 0 / 317.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.1892, allocations: 0 / 317.4 MB, free: 6.645 MB / 266.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.0009273/0.1902, allocations: 0.838 MB / 318.2 MB, free: 5.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1902, allocations: 8.75 kB / 318.2 MB, free: 5.961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000613/0.1908, allocations: 179.2 kB / 318.4 MB, free: 5.855 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003669/0.1912, allocations: 288.1 kB / 318.7 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.1912, allocations: 31.81 kB / 318.7 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.1913, allocations: 39.75 kB / 318.8 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005788/0.1919, allocations: 0.6967 MB / 319.5 MB, free: 4.945 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.1919, allocations: 8.109 kB / 319.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.867e-05/0.1919, allocations: 22.41 kB / 319.5 MB, free: 4.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.1919, allocations: 17.06 kB / 319.5 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003804/0.1923, allocations: 292.7 kB / 319.8 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0113/0.2036, allocations: 5.291 MB / 325.1 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.204, allocations: 279.2 kB / 325.4 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.2043, allocations: 139.6 kB / 325.5 MB, free: 15.92 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/0.2154, allocations: 2.699 MB / 328.2 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.2155, allocations: 37.39 kB / 328.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 1.994e-06/0.2155, allocations: 0 / 328.2 MB, free: 13.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.01202/0.2275, allocations: 2.245 MB / 330.5 MB, free: 10.89 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.2275, allocations: 55.41 kB / 330.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004464/0.228, allocations: 368.2 kB / 330.9 MB, free: 10.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.228, allocations: 33.7 kB / 330.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.2283, allocations: 291.1 kB / 331.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/0.2285, allocations: 190.6 kB / 331.4 MB, free: 9.93 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002055/0.2287, allocations: 120 kB / 331.5 MB, free: 9.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003302/0.229, allocations: 0.5352 MB / 332.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.2293, allocations: 149.3 kB / 332.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004973/0.2298, allocations: 337.9 kB / 332.5 MB, free: 8.715 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008332/0.2306, allocations: 0.522 MB / 333.1 MB, free: 8.125 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2306, allocations: 0 / 333.1 MB, free: 8.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001255/0.2319, allocations: 0.6211 MB / 333.7 MB, free: 7.484 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.2319, allocations: 4 kB / 333.7 MB, free: 7.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2319, allocations: 7.938 kB / 333.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009162/0.2411, allocations: 1.867 MB / 335.6 MB, free: 5.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.2415, allocations: 115.8 kB / 335.7 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003313/0.2448, allocations: 3.513 MB / 339.2 MB, free: 1.801 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.2451, allocations: 16 kB / 339.2 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.2451, allocations: 20 kB / 339.2 MB, free: 1.766 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.000266/0.2454, allocations: 216.4 kB / 339.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.2455, allocations: 51.77 kB / 339.5 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.2468, allocations: 0.682 MB / 340.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/0.2468, allocations: 19.88 kB / 340.2 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.2468, allocations: 4.031 kB / 340.2 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/0.2479, allocations: 0.7891 MB / 341 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.2501, allocations: 1.249 MB / 342.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.2501, allocations: 0 / 342.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003383/0.2504, allocations: 79.89 kB / 342.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003898/0.2543, allocations: 0.5766 MB / 342.9 MB, free: 13.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.2543, allocations: 20 kB / 342.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.2558, allocations: 1.702 MB / 344.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.2558, allocations: 3.984 kB / 344.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.2574, allocations: 0.9944 MB / 345.6 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.2575, allocations: 39.66 kB / 345.6 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.978e-05/0.2575, allocations: 15.98 kB / 345.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.2578, allocations: 8 kB / 345.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.867e-05/0.2578, allocations: 27.95 kB / 345.7 MB, free: 11.03 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/0.2579, allocations: 19.98 kB / 345.7 MB, free: 11.01 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002602/0.2581, allocations: 237.1 kB / 345.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2581, allocations: 0 / 345.9 MB, free: 10.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008/0.2589, allocations: 231.7 kB / 346.2 MB, free: 10.55 MB / 298.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.0006682/0.2596, allocations: 294.6 kB / 346.4 MB, free: 10.25 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001378/0.261, allocations: 0.692 MB / 347.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.261, allocations: 0 / 347.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00095/0.2619, allocations: 338.2 kB / 347.5 MB, free: 9.207 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.2631, allocations: 224 kB / 347.7 MB, free: 8.996 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001969/0.2651, allocations: 1.07 MB / 348.8 MB, free: 7.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.2654, allocations: 229.3 kB / 349 MB, free: 7.652 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002542/0.2656, allocations: 67.34 kB / 349 MB, free: 7.586 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.963e-05/0.2657, allocations: 36.5 kB / 349.1 MB, free: 7.551 MB / 298.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2657, allocations: 0 / 349.1 MB, free: 7.551 MB / 298.7 MB Notification: Performance of Templates: time 0.02322/0.289, allocations: 12.02 MB / 361.1 MB, free: 11.69 MB / 314.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 240] 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: 6.160289925057441]