Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002524/0.002524, allocations: 99.53 kB / 20.97 MB, free: 3.457 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.223e-06/1.223e-06, allocations: 0 / 272.2 MB, free: 1.801 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.448e-05/2.57e-05, allocations: 2.312 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1448/0.1449, allocations: 27.59 MB / 299.8 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004202/0.1491, allocations: 4.214 MB / 304 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000196/0.1493, allocations: 7.75 kB / 304 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006154/0.1499, allocations: 196.2 kB / 304.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006242/0.1505, allocations: 358.5 kB / 304.6 MB, free: 12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003499/0.154, allocations: 1.502 MB / 306.1 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000858/0.1548, allocations: 0.8858 MB / 306.9 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.155, allocations: 72.61 kB / 307 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006012/0.161, allocations: 4.29 MB / 311.3 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003214/0.1613, allocations: 255 kB / 311.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.937e-05/0.1614, allocations: 30.22 kB / 311.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001087/0.1625, allocations: 0.7158 MB / 312.3 MB, free: 8.926 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.645e-05/0.1626, allocations: 100.5 kB / 312.4 MB, free: 8.848 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001436/0.1627, allocations: 142.1 kB / 312.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009676/0.1637, allocations: 0.9624 MB / 313.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1637, allocations: 0 / 313.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1637, allocations: 6.828 kB / 313.5 MB, free: 8.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.124e-06/0.1637, allocations: 0 / 313.5 MB, free: 8.141 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.0007958/0.1645, allocations: 0.6982 MB / 314.2 MB, free: 7.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.389e-05/0.1645, allocations: 19.22 kB / 314.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004772/0.165, allocations: 121.3 kB / 314.3 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003283/0.1653, allocations: 238.8 kB / 314.6 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1654, allocations: 18.66 kB / 314.6 MB, free: 7.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.1654, allocations: 28.41 kB / 314.6 MB, free: 7.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.1658, allocations: 0.5138 MB / 315.1 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.1658, allocations: 5.266 kB / 315.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.1659, allocations: 11.44 kB / 315.2 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.1659, allocations: 13 kB / 315.2 MB, free: 6.738 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.1662, allocations: 199.6 kB / 315.4 MB, free: 6.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.1769, allocations: 4.646 MB / 320 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.1772, allocations: 192.5 kB / 320.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.1773, allocations: 83.66 kB / 320.3 MB, free: 2.055 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009478/0.1868, allocations: 2.691 MB / 323 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.1868, allocations: 41.39 kB / 323 MB, free: 15.31 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.1868, allocations: 0 / 323 MB, free: 15.31 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.006301/0.1931, allocations: 1.273 MB / 324.3 MB, free: 14.01 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.1932, allocations: 55.41 kB / 324.3 MB, free: 13.94 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.1935, allocations: 322.6 kB / 324.6 MB, free: 13.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.1936, allocations: 33.64 kB / 324.7 MB, free: 13.57 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1938, allocations: 251 kB / 324.9 MB, free: 13.32 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.933e-05/0.1939, allocations: 103.2 kB / 325 MB, free: 13.22 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.194, allocations: 91.23 kB / 325.1 MB, free: 13.12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002973/0.1943, allocations: 0.5196 MB / 325.6 MB, free: 12.59 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.1945, allocations: 91.75 kB / 325.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.1948, allocations: 223.9 kB / 325.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005176/0.1953, allocations: 355.7 kB / 326.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1953, allocations: 0 / 326.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007687/0.1961, allocations: 404.5 kB / 326.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1961, allocations: 8 kB / 326.7 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.1961, allocations: 7.938 kB / 326.7 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004415/0.2005, allocations: 0.9433 MB / 327.6 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.2008, allocations: 75.84 kB / 327.7 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/0.2034, allocations: 2.641 MB / 330.4 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00018/0.2036, allocations: 8 kB / 330.4 MB, free: 7.578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.2036, allocations: 16 kB / 330.4 MB, free: 7.562 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.0002165/0.2038, allocations: 204.6 kB / 330.6 MB, free: 7.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.2039, allocations: 31.86 kB / 330.6 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007524/0.2046, allocations: 407.5 kB / 331 MB, free: 6.906 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.2047, allocations: 7.984 kB / 331 MB, free: 6.898 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2047, allocations: 3.938 kB / 331 MB, free: 6.895 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000745/0.2054, allocations: 0.629 MB / 331.7 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.2068, allocations: 0.8324 MB / 332.5 MB, free: 5.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.2068, allocations: 3.938 kB / 332.5 MB, free: 5.289 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.207, allocations: 51.95 kB / 332.5 MB, free: 5.238 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.2088, allocations: 298.1 kB / 332.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.2088, allocations: 8 kB / 332.8 MB, free: 4.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007/0.2095, allocations: 0.8468 MB / 333.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2095, allocations: 4 kB / 333.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009812/0.2105, allocations: 0.6342 MB / 334.3 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.2105, allocations: 23.84 kB / 334.3 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.2106, allocations: 4 kB / 334.4 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.2107, allocations: 8 kB / 334.4 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.2108, allocations: 19.91 kB / 334.4 MB, free: 3.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.2108, allocations: 11.98 kB / 334.4 MB, free: 3.324 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002134/0.211, allocations: 213.5 kB / 334.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.211, allocations: 0 / 334.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000679/0.2117, allocations: 191.7 kB / 334.8 MB, free: 2.93 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.0006428/0.2124, allocations: 288.5 kB / 335.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009284/0.2133, allocations: 486 kB / 335.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2133, allocations: 0 / 335.5 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005182/0.2138, allocations: 191.3 kB / 335.7 MB, free: 1.957 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008799/0.2147, allocations: 148.5 kB / 335.9 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.216, allocations: 0.698 MB / 336.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004191/0.2164, allocations: 172.3 kB / 336.7 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000173/0.2166, allocations: 42.94 kB / 336.8 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.529e-05/0.2166, allocations: 32.44 kB / 336.8 MB, free: 0.832 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2166, allocations: 4 kB / 336.8 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of Templates: time 0.01815/0.2348, allocations: 9.336 MB / 346.2 MB, free: 7.605 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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_trunk_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.558782271924429]