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.001948/0.001948, allocations: 95.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.0019/0.0019, allocations: 153.1 kB / 24.27 MB, free: 164 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.586/1.586, allocations: 173.4 MB / 200.8 MB, free: 9.309 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.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 1.433e-06/1.433e-06, allocations: 0 / 267.3 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.858e-05, allocations: 10.19 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1401/0.1401, allocations: 27.52 MB / 294.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0044/0.1445, allocations: 4.217 MB / 299.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.1447, allocations: 11.25 kB / 299.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006136/0.1453, allocations: 192.1 kB / 299.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000673/0.146, allocations: 356.6 kB / 299.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.1499, allocations: 1.49 MB / 301.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009453/0.1508, allocations: 0.8929 MB / 302 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.151, allocations: 78.12 kB / 302.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006536/0.1575, allocations: 4.294 MB / 306.4 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003954/0.1579, allocations: 250.7 kB / 306.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.572e-05/0.158, allocations: 32.44 kB / 306.6 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.1593, allocations: 0.6952 MB / 307.3 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.1594, allocations: 102.8 kB / 307.4 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001764/0.1596, allocations: 155.8 kB / 307.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.1608, allocations: 0.9637 MB / 308.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1608, allocations: 0 / 308.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1608, allocations: 0 / 308.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1608, allocations: 0 / 308.5 MB, free: 13.08 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007987/0.1616, allocations: 0.7081 MB / 309.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.1616, allocations: 9.016 kB / 309.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005026/0.1621, allocations: 123.6 kB / 309.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1624, allocations: 241.8 kB / 309.6 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.1625, allocations: 18.31 kB / 309.6 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.1625, allocations: 37.61 kB / 309.7 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.163, allocations: 0.5059 MB / 310.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.163, allocations: 6.281 kB / 310.2 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.163, allocations: 11.41 kB / 310.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.163, allocations: 11.45 kB / 310.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002848/0.1633, allocations: 201 kB / 310.4 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01092/0.1742, allocations: 4.639 MB / 315 MB, free: 8.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.1745, allocations: 179.1 kB / 315.2 MB, free: 8.543 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.1746, allocations: 83.61 kB / 315.3 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009022/0.1836, allocations: 2.697 MB / 318 MB, free: 6.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.57e-05/0.1837, allocations: 41.39 kB / 318 MB, free: 6.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.844e-06/0.1837, allocations: 0 / 318 MB, free: 6.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.005661/0.1893, allocations: 1.276 MB / 319.3 MB, free: 4.82 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.126e-05/0.1893, allocations: 62.44 kB / 319.4 MB, free: 4.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.1895, allocations: 318.6 kB / 319.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.1896, allocations: 29.7 kB / 319.7 MB, free: 4.387 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.055e-05/0.1896, allocations: 249.8 kB / 320 MB, free: 4.141 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.1897, allocations: 105.7 kB / 320.1 MB, free: 4.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.854e-05/0.1898, allocations: 87.36 kB / 320.2 MB, free: 3.945 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.395e-05/0.1899, allocations: 0.5157 MB / 320.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.19, allocations: 91.95 kB / 320.8 MB, free: 3.328 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.1902, allocations: 233.7 kB / 321 MB, free: 3.047 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.1905, allocations: 343.2 kB / 321.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1905, allocations: 0 / 321.3 MB, free: 2.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005742/0.191, allocations: 412.1 kB / 321.7 MB, free: 2.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.1911, allocations: 8 kB / 321.7 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1911, allocations: 11.22 kB / 321.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003915/0.195, allocations: 0.945 MB / 322.7 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.1953, allocations: 76.72 kB / 322.8 MB, free: 1.246 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.1972, allocations: 2.647 MB / 325.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.1974, allocations: 8 kB / 325.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.1974, allocations: 16 kB / 325.4 MB, free: 14.43 MB / 282.7 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.0002327/0.1977, allocations: 196.5 kB / 325.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.671e-05/0.1978, allocations: 35.81 kB / 325.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007875/0.1986, allocations: 405.3 kB / 326.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.1986, allocations: 8.031 kB / 326.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1986, allocations: 3.938 kB / 326.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007717/0.1993, allocations: 0.6328 MB / 326.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.2008, allocations: 0.8275 MB / 327.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.2008, allocations: 3.938 kB / 327.5 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002072/0.201, allocations: 43.97 kB / 327.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001884/0.2029, allocations: 299.2 kB / 327.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.2029, allocations: 15.98 kB / 327.9 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007569/0.2037, allocations: 0.8469 MB / 328.7 MB, free: 10.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.2037, allocations: 4 kB / 328.7 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.2047, allocations: 0.6258 MB / 329.4 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/0.2048, allocations: 31.78 kB / 329.4 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.2048, allocations: 8 kB / 329.4 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.205, allocations: 12.16 kB / 329.4 MB, free: 10.22 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.205, allocations: 19.89 kB / 329.4 MB, free: 10.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.2051, allocations: 12 kB / 329.4 MB, free: 10.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002228/0.2053, allocations: 213.5 kB / 329.6 MB, free: 9.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2053, allocations: 0 / 329.6 MB, free: 9.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007835/0.2061, allocations: 187.7 kB / 329.8 MB, free: 9.797 MB / 282.7 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.0006765/0.2067, allocations: 277.1 kB / 330.1 MB, free: 9.539 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009772/0.2077, allocations: 485.1 kB / 330.6 MB, free: 9.047 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.2077, allocations: 4 kB / 330.6 MB, free: 9.043 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00056/0.2083, allocations: 196.7 kB / 330.8 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008885/0.2092, allocations: 139.1 kB / 330.9 MB, free: 8.715 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.2105, allocations: 0.7219 MB / 331.6 MB, free: 7.973 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002022/0.2107, allocations: 168.3 kB / 331.8 MB, free: 7.789 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001989/0.2109, allocations: 38.95 kB / 331.8 MB, free: 7.746 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.029e-05/0.211, allocations: 28.5 kB / 331.9 MB, free: 7.719 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.211, allocations: 0 / 331.9 MB, free: 7.719 MB / 282.7 MB Notification: Performance of Templates: time 0.01858/0.2296, allocations: 9.335 MB / 341.2 MB, free: 14.51 MB / 298.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/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.676583033055067]