Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MoistAir.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.002589/0.002589, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.00291/0.00291, allocations: 163.7 kB / 25.03 MB, free: 9.402 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.247e-06/4.247e-06, allocations: 4 kB / 250.3 MB, free: 3.953 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.457e-05/2.881e-05, allocations: 2.312 kB / 250.3 MB, free: 3.949 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3357/0.3358, allocations: 145.3 MB / 395.7 MB, free: 6.703 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.3369, allocations: 0.597 MB / 396.3 MB, free: 6.113 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.851e-05/0.337, allocations: 8 kB / 396.3 MB, free: 6.105 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.3373, allocations: 58.62 kB / 396.3 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004146/0.3378, allocations: 160.9 kB / 396.5 MB, free: 5.898 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003061/0.3408, allocations: 1.112 MB / 397.6 MB, free: 4.793 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004676/0.3413, allocations: 334.7 kB / 397.9 MB, free: 4.465 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.085e-05/0.3413, allocations: 9.625 kB / 398 MB, free: 4.457 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003579/0.3417, allocations: 203.4 kB / 398.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.3419, allocations: 111.7 kB / 398.3 MB, free: 4.148 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.158e-05/0.342, allocations: 12 kB / 398.3 MB, free: 4.137 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002602/0.3446, allocations: 1.364 MB / 399.6 MB, free: 2.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.3447, allocations: 79.78 kB / 399.7 MB, free: 2.691 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.3448, allocations: 67.89 kB / 399.8 MB, free: 2.625 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002233/0.3471, allocations: 1.106 MB / 400.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3471, allocations: 0 / 400.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.3471, allocations: 4 kB / 400.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.3471, allocations: 0 / 400.9 MB, free: 1.512 MB / 330.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.001719/0.3488, allocations: 0.6976 MB / 401.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.3488, allocations: 11.98 kB / 401.6 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.349, allocations: 44.77 kB / 401.6 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.3493, allocations: 152.4 kB / 401.8 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3494, allocations: 16.83 kB / 401.8 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.3494, allocations: 23.94 kB / 401.8 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/0.35, allocations: 326 kB / 402.1 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.35, allocations: 0 / 402.1 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.3501, allocations: 16 kB / 402.2 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.3501, allocations: 4 kB / 402.2 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.3507, allocations: 203.7 kB / 402.4 MB, free: 15.93 MB / 346.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.001598/0.3523, allocations: 0.7017 MB / 403.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.3529, allocations: 207.2 kB / 403.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.3532, allocations: 115.3 kB / 403.4 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002227/0.3534, allocations: 56.39 kB / 403.4 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.3535, allocations: 38.02 kB / 403.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.603e-06/0.3535, allocations: 0 / 403.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.002314/0.3558, allocations: 0.6044 MB / 404.1 MB, free: 14.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.3559, allocations: 85.05 kB / 404.2 MB, free: 14.03 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.356, allocations: 177.9 kB / 404.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.3561, allocations: 29.7 kB / 404.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.3562, allocations: 159.7 kB / 404.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.3563, allocations: 134.9 kB / 404.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001513/0.3565, allocations: 79.3 kB / 404.7 MB, free: 13.42 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002935/0.3568, allocations: 0.5079 MB / 405.2 MB, free: 12.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003344/0.3571, allocations: 111.9 kB / 405.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004342/0.3576, allocations: 221.7 kB / 405.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007651/0.3583, allocations: 341.1 kB / 405.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.3583, allocations: 3.938 kB / 405.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009346/0.3593, allocations: 385.2 kB / 406.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.3593, allocations: 4.625 kB / 406.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.3593, allocations: 7.938 kB / 406.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.3593, allocations: 4 kB / 406.3 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004825/0.3598, allocations: 83.48 kB / 406.4 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3598, allocations: 15.92 kB / 406.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.3601, allocations: 19.89 kB / 406.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.3601, allocations: 19.98 kB / 406.4 MB, free: 11.63 MB / 346.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 0.0001849/0.3603, allocations: 180.5 kB / 406.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.3604, allocations: 31.84 kB / 406.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004298/0.3608, allocations: 174.4 kB / 406.8 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3609, allocations: 4 kB / 406.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.3609, allocations: 4 kB / 406.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.471e-06/0.3609, allocations: 0 / 406.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.3627, allocations: 0.6933 MB / 407.5 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.608e-05/0.3627, allocations: 4 kB / 407.5 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.3631, allocations: 67.89 kB / 407.6 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3631, allocations: 4 kB / 407.6 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.3632, allocations: 12 kB / 407.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3632, allocations: 4 kB / 407.6 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3632, allocations: 3.938 kB / 407.6 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.3649, allocations: 0.76 MB / 408.4 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.365, allocations: 35.88 kB / 408.4 MB, free: 9.547 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.365, allocations: 15.98 kB / 408.4 MB, free: 9.531 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003231/0.3654, allocations: 12 kB / 408.4 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.509e-05/0.3654, allocations: 35.83 kB / 408.5 MB, free: 9.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.3655, allocations: 11.98 kB / 408.5 MB, free: 9.473 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3656, allocations: 140.3 kB / 408.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3656, allocations: 0 / 408.6 MB, free: 9.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006481/0.3662, allocations: 143.7 kB / 408.7 MB, free: 9.195 MB / 346.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 (38): * Single equations (assignments): 38 * 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.0005481/0.3668, allocations: 246.7 kB / 409 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008569/0.3676, allocations: 320.6 kB / 409.3 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3676, allocations: 0 / 409.3 MB, free: 8.625 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.368, allocations: 172.8 kB / 409.5 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.3688, allocations: 104.1 kB / 409.6 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.3702, allocations: 0.543 MB / 410.1 MB, free: 7.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001608/0.3704, allocations: 120.9 kB / 410.2 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003567/0.3707, allocations: 77.88 kB / 410.3 MB, free: 7.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.3709, allocations: 32.48 kB / 410.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3709, allocations: 0 / 410.3 MB, free: 7.527 MB / 346.7 MB Notification: Performance of Templates: time 0.01406/0.3849, allocations: 6.244 MB / 416.6 MB, free: 1.312 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.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: 4.883715726900846]