Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0009104/0.0009104, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.0009623/0.0009623, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 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 0.9184/0.9184, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.[0-9,]+.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.088e-05, allocations: 2.312 kB / 273.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.1324/0.1324, allocations: 25.07 MB / 298.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.1349, allocations: 2.434 MB / 300.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.135, allocations: 8.125 kB / 300.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003826/0.1354, allocations: 125.4 kB / 301.1 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004876/0.1359, allocations: 389.1 kB / 301.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01063/0.1465, allocations: 6.258 MB / 307.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009536/0.1475, allocations: 1.142 MB / 308.8 MB, free: 9.805 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.1477, allocations: 92.22 kB / 308.9 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003335/0.151, allocations: 3.537 MB / 312.5 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.1514, allocations: 355 kB / 312.8 MB, free: 7.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.766e-05/0.1515, allocations: 58.38 kB / 312.9 MB, free: 7.691 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.1629, allocations: 9.473 MB / 322.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.1632, allocations: 239.4 kB / 322.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004972/0.1637, allocations: 239.6 kB / 322.8 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.1775, allocations: 6.154 MB / 329 MB, free: 9.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1775, allocations: 0 / 329 MB, free: 9.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1775, allocations: 0 / 329 MB, free: 9.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.1775, allocations: 0 / 329 MB, free: 9.02 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00272/0.1803, allocations: 1.248 MB / 330.2 MB, free: 7.738 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1803, allocations: 11.98 kB / 330.2 MB, free: 7.727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.1807, allocations: 104.8 kB / 330.3 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.1811, allocations: 265 kB / 330.6 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/0.1811, allocations: 33 kB / 330.6 MB, free: 7.309 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.951e-05/0.1812, allocations: 51.95 kB / 330.7 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/0.1822, allocations: 0.6227 MB / 331.3 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1822, allocations: 0 / 331.3 MB, free: 6.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.1822, allocations: 23.09 kB / 331.3 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1822, allocations: 12 kB / 331.3 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.1829, allocations: 254.7 kB / 331.6 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007971/0.1909, allocations: 3.103 MB / 334.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007728/0.1917, allocations: 309.2 kB / 335 MB, free: 2.832 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001658/0.1918, allocations: 101.1 kB / 335.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006244/0.1981, allocations: 2.394 MB / 337.5 MB, free: 348 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.1981, allocations: 39.06 kB / 337.5 MB, free: 300 kB / 282.7 MB Notification: Performance of pre-optimization done (n=50): time 3.015e-06/0.1981, allocations: 0 / 337.5 MB, free: 300 kB / 282.7 MB Notification: Performance of matching and sorting (n=55): time 0.003019/0.2011, allocations: 1.243 MB / 338.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.2012, allocations: 63.91 kB / 338.8 MB, free: 14.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2013, allocations: 220.9 kB / 339 MB, free: 14.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/0.2013, allocations: 41.7 kB / 339.1 MB, free: 14.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.2014, allocations: 193.2 kB / 339.3 MB, free: 14.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001184/0.2026, allocations: 206.2 kB / 339.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001706/0.2028, allocations: 106.2 kB / 339.6 MB, free: 14.15 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.2029, allocations: 346.7 kB / 339.9 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.203, allocations: 72.11 kB / 340 MB, free: 13.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003821/0.2034, allocations: 168.3 kB / 340.1 MB, free: 13.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000696/0.2041, allocations: 317.8 kB / 340.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2041, allocations: 0 / 340.5 MB, free: 13.19 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001164/0.2053, allocations: 418 kB / 340.9 MB, free: 12.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.2053, allocations: 11.97 kB / 340.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.2053, allocations: 4 kB / 340.9 MB, free: 12.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003517/0.2057, allocations: 84.12 kB / 341 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004521/0.2061, allocations: 131.8 kB / 341.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.2078, allocations: 2.96 MB / 344.1 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.208, allocations: 12 kB / 344.1 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-05/0.2081, allocations: 23.98 kB / 344.1 MB, free: 9.312 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.2083, allocations: 156.7 kB / 344.2 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003321/0.2086, allocations: 83.53 kB / 344.3 MB, free: 9.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001022/0.2096, allocations: 0.5054 MB / 344.8 MB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.2096, allocations: 4 kB / 344.8 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2096, allocations: 0 / 344.8 MB, free: 8.52 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006358/0.2103, allocations: 475.3 kB / 345.3 MB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.2116, allocations: 0.7461 MB / 346 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2116, allocations: 0 / 346 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004092/0.212, allocations: 107.9 kB / 346.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007328/0.2128, allocations: 143.5 kB / 346.3 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.2128, allocations: 16 kB / 346.3 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003237/0.2131, allocations: 0.607 MB / 346.9 MB, free: 6.305 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.2131, allocations: 3.938 kB / 346.9 MB, free: 6.301 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.2142, allocations: 0.5508 MB / 347.5 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.2143, allocations: 35.8 kB / 347.5 MB, free: 5.684 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.873e-05/0.2144, allocations: 16.06 kB / 347.5 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.2146, allocations: 19.98 kB / 347.5 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.2147, allocations: 40.31 kB / 347.6 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.878e-05/0.2148, allocations: 23.97 kB / 347.6 MB, free: 5.586 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.2149, allocations: 82.78 kB / 347.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2149, allocations: 0 / 347.7 MB, free: 5.504 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003516/0.2184, allocations: 1.298 MB / 349 MB, free: 4.203 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004989/0.2234, allocations: 1.865 MB / 350.8 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009813/0.2243, allocations: 0.5101 MB / 351.4 MB, free: 1.781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/0.2244, allocations: 4 kB / 351.4 MB, free: 1.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003636/0.2247, allocations: 157.4 kB / 351.5 MB, free: 1.617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.2256, allocations: 241.5 kB / 351.7 MB, free: 1.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001899/0.2275, allocations: 0.8635 MB / 352.6 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.2277, allocations: 130.9 kB / 352.7 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004121/0.2281, allocations: 103.4 kB / 352.8 MB, free: 256 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007458/0.2288, allocations: 257.1 kB / 353.1 MB, free: 15.99 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.2288, allocations: 4 kB / 353.1 MB, free: 15.99 MB / 314.7 MB Notification: Performance of Templates: time 0.04598/0.2748, allocations: 49.81 MB / 402.9 MB, free: 14.32 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","",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.335932404268533]