Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000935/0.0009349, allocations: 87.59 kB / 16.31 MB, free: 5.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009753/0.0009754, allocations: 177.2 kB / 17.21 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.3 MB / 241.2 MB, free: 5.465 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002542/0.0002543, allocations: 6.062 kB / 300.8 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08829/0.08856, allocations: 50.42 MB / 351.2 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02773/0.1163, allocations: 24.53 MB / 375.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.1189, allocations: 2.074 MB / 377.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.402e-05/0.119, allocations: 0 / 377.8 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1193, allocations: 39.8 kB / 377.9 MB, free: 1.047 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003479/0.1197, allocations: 147.2 kB / 378 MB, free: 0.9023 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01189/0.1316, allocations: 4.831 MB / 382.9 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004637/0.132, allocations: 394.7 kB / 383.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.715e-05/0.1321, allocations: 5.125 kB / 383.2 MB, free: 11.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002462/0.1324, allocations: 127.5 kB / 383.4 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.1326, allocations: 119.6 kB / 383.5 MB, free: 11.45 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.1326, allocations: 8 kB / 383.5 MB, free: 11.44 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01436/0.147, allocations: 8.31 MB / 391.8 MB, free: 3.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.1471, allocations: 71.83 kB / 391.9 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.109e-05/0.1472, allocations: 53.64 kB / 391.9 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005234/0.1525, allocations: 3.014 MB / 394.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1525, allocations: 3.938 kB / 394.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1525, allocations: 0 / 394.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.1525, allocations: 0 / 394.9 MB, free: 15.97 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002959/0.1555, allocations: 1.076 MB / 396 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1555, allocations: 11.97 kB / 396 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.1557, allocations: 19.81 kB / 396 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1559, allocations: 214.8 kB / 396.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.1559, allocations: 20.33 kB / 396.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.156, allocations: 23.95 kB / 396.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006795/0.1567, allocations: 277.4 kB / 396.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1567, allocations: 3.906 kB / 396.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.1567, allocations: 8 kB / 396.6 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.1568, allocations: 7.984 kB / 396.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007305/0.1575, allocations: 315.7 kB / 396.9 MB, free: 13.91 MB / 334.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/0.1589, allocations: 0.813 MB / 397.7 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006687/0.1596, allocations: 253.1 kB / 398 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.1599, allocations: 133.6 kB / 398.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01459/0.1745, allocations: 12.9 MB / 411 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1745, allocations: 50.48 kB / 411 MB, free: 13.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.525e-06/0.1745, allocations: 0 / 411 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002603/0.1771, allocations: 0.6828 MB / 411.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.1772, allocations: 93.03 kB / 411.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1773, allocations: 125.8 kB / 411.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.1774, allocations: 33.7 kB / 412 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.837e-05/0.1774, allocations: 108.8 kB / 412.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.1776, allocations: 126.2 kB / 412.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/0.1776, allocations: 4 kB / 412.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1777, allocations: 326.8 kB / 412.5 MB, free: 11.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003674/0.1781, allocations: 143.8 kB / 412.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004679/0.1786, allocations: 199.6 kB / 412.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.179, allocations: 155.9 kB / 413 MB, free: 11.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.81e-06/0.1791, allocations: 3.953 kB / 413 MB, free: 11.08 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001114/0.1802, allocations: 407.1 kB / 413.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.1802, allocations: 8.219 kB / 413.4 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.1802, allocations: 7.984 kB / 413.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.1803, allocations: 8 kB / 413.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.1807, allocations: 91.86 kB / 413.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.1808, allocations: 4 kB / 413.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.1811, allocations: 31.83 kB / 413.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.1811, allocations: 19.97 kB / 413.6 MB, free: 10.51 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.1813, allocations: 145.7 kB / 413.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.1815, allocations: 27.75 kB / 413.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004828/0.182, allocations: 184.4 kB / 413.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.182, allocations: 4 kB / 413.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.182, allocations: 3.984 kB / 413.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.182, allocations: 0 / 413.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001523/0.1835, allocations: 0.7619 MB / 414.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.1835, allocations: 160 / 414.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.1839, allocations: 87.88 kB / 414.8 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.184, allocations: 7.938 kB / 414.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.184, allocations: 8 kB / 414.8 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.753e-06/0.184, allocations: 11.94 kB / 414.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.184, allocations: 0 / 414.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.1854, allocations: 0.7024 MB / 415.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001136/0.1855, allocations: 120.9 kB / 415.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.1856, allocations: 8 kB / 415.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.1859, allocations: 27.98 kB / 415.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.946e-05/0.186, allocations: 31.92 kB / 415.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.598e-05/0.186, allocations: 19.98 kB / 415.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.098e-05/0.1861, allocations: 91.27 kB / 415.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1861, allocations: 0 / 415.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002425/0.1885, allocations: 0.9331 MB / 416.7 MB, free: 7.215 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004117/0.1927, allocations: 1.178 MB / 417.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009188/0.1936, allocations: 337.2 kB / 418.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1936, allocations: 448 / 418.3 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004358/0.194, allocations: 179.7 kB / 418.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007323/0.1948, allocations: 100.1 kB / 418.5 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.1962, allocations: 0.7215 MB / 419.2 MB, free: 4.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.1965, allocations: 0.7452 MB / 420 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004492/0.197, allocations: 89.88 kB / 420.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.1971, allocations: 31.42 kB / 420.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1971, allocations: 0 / 420.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of Templates: time 0.1902/0.3873, allocations: 29.52 MB / 449.6 MB, free: 51.64 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches