Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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.001446/0.001446, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.001666/0.001666, allocations: 206.6 kB / 24.47 MB, free: 3.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.872/1.872, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 55.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3818, allocations: 53.36 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.05869/0.4405, allocations: 24.03 MB / 456.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005416/0.4459, allocations: 2.01 MB / 458.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.446, allocations: 0 / 458.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004806/0.4465, allocations: 63.59 kB / 458.4 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007011/0.4472, allocations: 163.1 kB / 458.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02906/0.4763, allocations: 6.508 MB / 465.1 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007892/0.4771, allocations: 338.7 kB / 465.4 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.538e-05/0.4771, allocations: 9.75 kB / 465.4 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003873/0.4775, allocations: 143.5 kB / 465.6 MB, free: 5.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.4779, allocations: 131.5 kB / 465.7 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.4779, allocations: 12 kB / 465.7 MB, free: 5.254 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.029/0.5069, allocations: 9.298 MB / 475 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.5072, allocations: 75.78 kB / 475.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.5074, allocations: 87.59 kB / 475.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01625/0.5237, allocations: 4.685 MB / 479.9 MB, free: 7.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.5237, allocations: 3.938 kB / 479.9 MB, free: 7.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5237, allocations: 4 kB / 479.9 MB, free: 7.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.5237, allocations: 0 / 479.9 MB, free: 7.082 MB / 382.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.005333/0.529, allocations: 1.101 MB / 481 MB, free: 5.941 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.5291, allocations: 12.03 kB / 481 MB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002487/0.5293, allocations: 28.22 kB / 481 MB, free: 5.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.5297, allocations: 160.9 kB / 481.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.5298, allocations: 12.33 kB / 481.2 MB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.936e-05/0.5299, allocations: 23.95 kB / 481.2 MB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.5311, allocations: 388.2 kB / 481.6 MB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.5312, allocations: 7.984 kB / 481.6 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.972e-05/0.5312, allocations: 12 kB / 481.6 MB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.56e-05/0.5312, allocations: 11.94 kB / 481.6 MB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.5326, allocations: 303.8 kB / 481.9 MB, free: 4.941 MB / 382.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.002247/0.5349, allocations: 0.6516 MB / 482.6 MB, free: 4.246 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.5361, allocations: 256.2 kB / 482.8 MB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.5366, allocations: 121.6 kB / 482.9 MB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02213/0.5587, allocations: 2.686 MB / 485.6 MB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.066e-05/0.5588, allocations: 38.56 kB / 485.6 MB, free: 1.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.176e-06/0.5588, allocations: 4 kB / 485.6 MB, free: 1.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.005439/0.5642, allocations: 0.7036 MB / 486.4 MB, free: 420 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.5643, allocations: 81.11 kB / 486.4 MB, free: 320 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.5645, allocations: 148 kB / 486.6 MB, free: 164 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.581e-05/0.5646, allocations: 33.7 kB / 486.6 MB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.5647, allocations: 112.9 kB / 486.7 MB, free: 8 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002288/0.5649, allocations: 135 kB / 486.9 MB, free: 15.87 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002261/0.5652, allocations: 81.58 kB / 486.9 MB, free: 15.79 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.5654, allocations: 330.6 kB / 487.3 MB, free: 15.46 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007357/0.5661, allocations: 131.9 kB / 487.4 MB, free: 15.33 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009693/0.5671, allocations: 215.5 kB / 487.6 MB, free: 15.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.5689, allocations: 362.5 kB / 487.9 MB, free: 14.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5689, allocations: 0 / 487.9 MB, free: 14.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002364/0.5713, allocations: 421.2 kB / 488.4 MB, free: 14.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.5713, allocations: 7.984 kB / 488.4 MB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.5713, allocations: 4 kB / 488.4 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.5714, allocations: 4 kB / 488.4 MB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009352/0.5723, allocations: 91.81 kB / 488.5 MB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.5723, allocations: 4 kB / 488.5 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005934/0.5729, allocations: 28.16 kB / 488.5 MB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.099e-05/0.573, allocations: 19.98 kB / 488.5 MB, free: 14.14 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002756/0.5733, allocations: 149.6 kB / 488.7 MB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002752/0.5735, allocations: 23.84 kB / 488.7 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008948/0.5744, allocations: 186.8 kB / 488.9 MB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.5745, allocations: 11.94 kB / 488.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.5745, allocations: 0 / 488.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.5745, allocations: 0 / 488.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/0.5777, allocations: 0.689 MB / 489.6 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.5777, allocations: 4 kB / 489.6 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008708/0.5786, allocations: 75.88 kB / 489.6 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/0.5786, allocations: 4 kB / 489.6 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.672e-05/0.5787, allocations: 15.98 kB / 489.7 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/0.5787, allocations: 8.156 kB / 489.7 MB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.5787, allocations: 4 kB / 489.7 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003056/0.5817, allocations: 0.7217 MB / 490.4 MB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.582, allocations: 51.75 kB / 490.4 MB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.311e-05/0.5821, allocations: 8 kB / 490.5 MB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006926/0.5827, allocations: 19.98 kB / 490.5 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.5828, allocations: 31.83 kB / 490.5 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.109e-05/0.5829, allocations: 19.98 kB / 490.5 MB, free: 12.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.583, allocations: 110 kB / 490.6 MB, free: 11.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.583, allocations: 0 / 490.6 MB, free: 11.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00437/0.5874, allocations: 0.9629 MB / 491.6 MB, free: 10.95 MB / 398.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 (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.007685/0.5951, allocations: 1.25 MB / 492.8 MB, free: 9.684 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.5972, allocations: 335.2 kB / 493.2 MB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.5972, allocations: 0 / 493.2 MB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009894/0.5982, allocations: 179.5 kB / 493.4 MB, free: 9.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.5997, allocations: 95.89 kB / 493.4 MB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.6022, allocations: 0.6218 MB / 494.1 MB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.6025, allocations: 141.7 kB / 494.2 MB, free: 8.273 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006603/0.6031, allocations: 78.23 kB / 494.3 MB, free: 8.199 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.6034, allocations: 43.41 kB / 494.3 MB, free: 8.156 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.6034, allocations: 0 / 494.3 MB, free: 8.156 MB / 398.1 MB Notification: Performance of Templates: time 0.0791/0.6825, allocations: 30.48 MB / 0.5125 GB, free: 9.758 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.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: 8.963613605999853]