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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.001024/0.001024, allocations: 140.4 kB / 25.59 MB, free: 8.906 MB / 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 0.8824/0.8824, allocations: 173.4 MB / 202.3 MB, free: 8.293 MB / 186.7 MB " [Timeout remaining time 179] 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=5002,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=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.148e-05, allocations: 3.125 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.02042/0.02043, allocations: 25.92 MB / 295.1 MB, free: 15.79 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.02218, allocations: 2.196 MB / 297.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.756e-05/0.02224, allocations: 4 kB / 297.3 MB, free: 13.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002642/0.0225, allocations: 63.59 kB / 297.4 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.02276, allocations: 155 kB / 297.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.03285, allocations: 6.563 MB / 304.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002936/0.03314, allocations: 326.4 kB / 304.4 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.057e-05/0.03317, allocations: 5.312 kB / 304.4 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.03334, allocations: 175.6 kB / 304.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.03349, allocations: 111.7 kB / 304.7 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.03351, allocations: 12 kB / 304.7 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009264/0.04278, allocations: 8.993 MB / 313.7 MB, free: 13.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.955e-05/0.04285, allocations: 75.78 kB / 313.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.634e-05/0.04293, allocations: 79.83 kB / 313.9 MB, free: 13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005723/0.04865, allocations: 5.827 MB / 319.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.04866, allocations: 4 kB / 319.7 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.04866, allocations: 7.938 kB / 319.7 MB, free: 7.148 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.04866, allocations: 0 / 319.7 MB, free: 7.148 MB / 298.7 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.00157/0.05023, allocations: 1.143 MB / 320.8 MB, free: 5.961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.05026, allocations: 12.03 kB / 320.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.05039, allocations: 52.47 kB / 320.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.05054, allocations: 155.8 kB / 321.1 MB, free: 5.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.05055, allocations: 12.33 kB / 321.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.134e-05/0.05058, allocations: 20 kB / 321.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.05091, allocations: 310.6 kB / 321.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.05092, allocations: 0 / 321.4 MB, free: 5.344 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.05094, allocations: 8 kB / 321.4 MB, free: 5.336 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.05096, allocations: 4 kB / 321.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.05117, allocations: 137.8 kB / 321.5 MB, free: 5.199 MB / 298.7 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.0007309/0.0519, allocations: 0.6815 MB / 322.2 MB, free: 4.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003068/0.05221, allocations: 202.2 kB / 322.4 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.218e-05/0.05229, allocations: 87.25 kB / 322.5 MB, free: 4.164 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005039/0.05733, allocations: 2.446 MB / 324.9 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.05735, allocations: 45.33 kB / 325 MB, free: 1.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.573e-06/0.05736, allocations: 0 / 325 MB, free: 1.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.0009946/0.05835, allocations: 465.6 kB / 325.4 MB, free: 1.203 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.05838, allocations: 85.05 kB / 325.5 MB, free: 1.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.87e-05/0.05846, allocations: 181.9 kB / 325.7 MB, free: 0.9062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.05848, allocations: 37.7 kB / 325.7 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.05854, allocations: 155.6 kB / 325.9 MB, free: 0.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.05871, allocations: 138.8 kB / 326 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.0588, allocations: 83.27 kB / 326.1 MB, free: 492 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.05892, allocations: 0.5079 MB / 326.6 MB, free: 15.96 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.05899, allocations: 59.95 kB / 326.7 MB, free: 15.9 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.05914, allocations: 165 kB / 326.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.05941, allocations: 243.1 kB / 327.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.05941, allocations: 0 / 327.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000426/0.05983, allocations: 316.4 kB / 327.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.05985, allocations: 10.03 kB / 327.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.05985, allocations: 0 / 327.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.05986, allocations: 4 kB / 327.4 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.06007, allocations: 87.83 kB / 327.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.06008, allocations: 4 kB / 327.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001081/0.06019, allocations: 20.14 kB / 327.5 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.06021, allocations: 16 kB / 327.5 MB, free: 14.98 MB / 314.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.218e-05/0.0603, allocations: 188.4 kB / 327.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.966e-05/0.0604, allocations: 47.67 kB / 327.8 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.06064, allocations: 158.4 kB / 327.9 MB, free: 14.58 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.06064, allocations: 4 kB / 327.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.06064, allocations: 0 / 327.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.06065, allocations: 0 / 327.9 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00065/0.0613, allocations: 0.578 MB / 328.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.0613, allocations: 4.156 kB / 328.5 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.06148, allocations: 75.89 kB / 328.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.06148, allocations: 4 kB / 328.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.0615, allocations: 11.98 kB / 328.6 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.0615, allocations: 11.88 kB / 328.6 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.0615, allocations: 4 kB / 328.6 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.06203, allocations: 0.6191 MB / 329.2 MB, free: 13.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.0621, allocations: 47.83 kB / 329.3 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.06212, allocations: 15.94 kB / 329.3 MB, free: 13.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.06226, allocations: 15.98 kB / 329.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.06229, allocations: 31.89 kB / 329.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.06231, allocations: 8 kB / 329.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.397e-05/0.06238, allocations: 143.6 kB / 329.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06238, allocations: 0 / 329.5 MB, free: 12.91 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00152/0.0639, allocations: 0.9472 MB / 330.4 MB, free: 11.96 MB / 314.7 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002463/0.06637, allocations: 1.413 MB / 331.8 MB, free: 10.54 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003066/0.06667, allocations: 227 kB / 332.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.06667, allocations: 0 / 332.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.06681, allocations: 128 kB / 332.2 MB, free: 10.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.06724, allocations: 112.5 kB / 332.3 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008624/0.0681, allocations: 0.5157 MB / 332.8 MB, free: 9.512 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.279e-05/0.06815, allocations: 85.33 kB / 332.9 MB, free: 9.406 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000193/0.06834, allocations: 69.89 kB / 333 MB, free: 9.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002319/0.06858, allocations: 166.1 kB / 333.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of SimCode: time 5.51e-07/0.06858, allocations: 0 / 333.1 MB, free: 9.176 MB / 314.7 MB Notification: Performance of Templates: time 0.1358/0.2044, allocations: 34.84 MB / 368 MB, free: 39.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.700613198336214]