Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.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.002057/0.002057, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.002432/0.002432, allocations: 165.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.454/1.454, allocations: 177.1 MB / 204.6 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 272.3 MB, free: 1.797 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.134e-05/2.288e-05, allocations: 2.312 kB / 272.3 MB, free: 1.793 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1377/0.1377, allocations: 24.45 MB / 296.8 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004088/0.1418, allocations: 3.767 MB / 300.5 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.142, allocations: 6.938 kB / 300.6 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006466/0.1427, allocations: 200.1 kB / 300.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000642/0.1433, allocations: 348.8 kB / 301.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003542/0.1469, allocations: 1.498 MB / 302.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000931/0.1478, allocations: 0.8936 MB / 303.5 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001674/0.1479, allocations: 72.11 kB / 303.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00574/0.1537, allocations: 4.29 MB / 307.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.154, allocations: 248.6 kB / 308.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.1541, allocations: 30 kB / 308.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.1552, allocations: 0.715 MB / 308.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/0.1553, allocations: 93.12 kB / 308.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.1554, allocations: 145.9 kB / 309.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009666/0.1564, allocations: 0.9715 MB / 310 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1564, allocations: 0 / 310 MB, free: 10.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1564, allocations: 0 / 310 MB, free: 10.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1564, allocations: 0 / 310 MB, free: 10.5 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.0007886/0.1572, allocations: 0.5812 MB / 310.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.1572, allocations: 8.562 kB / 310.6 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000488/0.1577, allocations: 120.3 kB / 310.7 MB, free: 9.949 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/0.1581, allocations: 244.2 kB / 311 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.055e-05/0.1581, allocations: 20.59 kB / 311 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/0.1581, allocations: 30 kB / 311 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004417/0.1586, allocations: 493.3 kB / 311.5 MB, free: 9.273 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.1586, allocations: 4.125 kB / 311.5 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.1586, allocations: 15.33 kB / 311.5 MB, free: 9.258 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.1586, allocations: 11.25 kB / 311.5 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002957/0.1589, allocations: 205.4 kB / 311.7 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01098/0.1699, allocations: 4.093 MB / 315.8 MB, free: 6.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.1702, allocations: 174.6 kB / 316 MB, free: 5.926 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1703, allocations: 84.77 kB / 316.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009139/0.1794, allocations: 2.682 MB / 318.8 MB, free: 3.156 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1795, allocations: 34.56 kB / 318.8 MB, free: 3.113 MB / 266.7 MB Notification: Performance of pre-optimization done (n=21): time 1.774e-06/0.1795, allocations: 0 / 318.8 MB, free: 3.113 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.005743/0.1852, allocations: 1.276 MB / 320.1 MB, free: 1.812 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.093e-05/0.1852, allocations: 55.41 kB / 320.1 MB, free: 1.746 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1854, allocations: 236 kB / 320.4 MB, free: 1.508 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1854, allocations: 33.7 kB / 320.4 MB, free: 1.469 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.1855, allocations: 192.4 kB / 320.6 MB, free: 1.277 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.1855, allocations: 99.17 kB / 320.7 MB, free: 1.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.863e-05/0.1856, allocations: 61.66 kB / 320.7 MB, free: 1.113 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.635e-05/0.1857, allocations: 338.8 kB / 321.1 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001392/0.1858, allocations: 99.67 kB / 321.2 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.186, allocations: 180.1 kB / 321.3 MB, free: 472 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000296/0.1863, allocations: 307 kB / 321.6 MB, free: 124 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1863, allocations: 4 kB / 321.6 MB, free: 120 kB / 266.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007723/0.187, allocations: 402.9 kB / 322 MB, free: 15.71 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.1871, allocations: 8 kB / 322 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1871, allocations: 3.938 kB / 322.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00452/0.1916, allocations: 0.9382 MB / 323 MB, free: 14.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.1919, allocations: 67.91 kB / 323.1 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001985/0.1939, allocations: 1.857 MB / 324.9 MB, free: 12.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1941, allocations: 8 kB / 324.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.1941, allocations: 16 kB / 324.9 MB, free: 12.7 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.0002136/0.1943, allocations: 157.9 kB / 325.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.1944, allocations: 35.84 kB / 325.1 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008952/0.1953, allocations: 0.4899 MB / 325.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.1953, allocations: 4 kB / 325.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.1953, allocations: 7.922 kB / 325.6 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008567/0.1962, allocations: 0.716 MB / 326.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.1979, allocations: 0.8404 MB / 327.2 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.1979, allocations: 3.938 kB / 327.2 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.1981, allocations: 47.92 kB / 327.2 MB, free: 10.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/0.2, allocations: 324.3 kB / 327.6 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.2, allocations: 4 kB / 327.6 MB, free: 9.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006711/0.2007, allocations: 0.6538 MB / 328.2 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2007, allocations: 0 / 328.2 MB, free: 9.234 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.2018, allocations: 0.7377 MB / 328.9 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.2019, allocations: 35.89 kB / 329 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.2019, allocations: 4 kB / 329 MB, free: 8.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.2021, allocations: 8 kB / 329 MB, free: 8.426 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/0.2021, allocations: 27.84 kB / 329 MB, free: 8.398 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.2022, allocations: 14.92 kB / 329 MB, free: 8.387 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.2024, allocations: 165.6 kB / 329.2 MB, free: 8.227 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2024, allocations: 0 / 329.2 MB, free: 8.227 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007194/0.2031, allocations: 187.7 kB / 329.4 MB, free: 8.043 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.0006501/0.2037, allocations: 282.8 kB / 329.7 MB, free: 7.758 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008992/0.2046, allocations: 445.9 kB / 330.1 MB, free: 7.312 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2046, allocations: 0 / 330.1 MB, free: 7.312 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000572/0.2052, allocations: 228.4 kB / 330.3 MB, free: 7.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008465/0.2061, allocations: 135.5 kB / 330.4 MB, free: 6.965 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.2075, allocations: 0.7376 MB / 331.2 MB, free: 6.207 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.2077, allocations: 172.3 kB / 331.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.2079, allocations: 45.48 kB / 331.4 MB, free: 5.973 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.2079, allocations: 28.5 kB / 331.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.2079, allocations: 0 / 331.4 MB, free: 5.945 MB / 282.7 MB Notification: Performance of Templates: time 0.01868/0.2266, allocations: 9.286 MB / 340.7 MB, free: 12.79 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.517635841970332]