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.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 3.2.3+maint.om/package.mo", uses=false) 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.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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008736/0.0008737, allocations: 96.27 kB / 17.3 MB, free: 6.34 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.0007793/0.0007793, allocations: 177 kB / 18.2 MB, free: 5.527 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004595/0.0004596, allocations: 15.98 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1014, allocations: 47.58 MB / 328.9 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3355/0.437, allocations: 148.6 MB / 477.6 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008412/0.4379, allocations: 0.5988 MB / 478.2 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.4379, allocations: 0 / 478.2 MB, free: 4.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003052/0.4382, allocations: 55.77 kB / 478.2 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003085/0.4386, allocations: 149.6 kB / 478.4 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002498/0.4411, allocations: 0.9382 MB / 479.3 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.4415, allocations: 482.6 kB / 479.8 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.4416, allocations: 13.44 kB / 479.8 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000234/0.4419, allocations: 147.3 kB / 479.9 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002217/0.4421, allocations: 127.6 kB / 480 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.4421, allocations: 4 kB / 480.1 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.4449, allocations: 1.687 MB / 481.7 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.933e-05/0.445, allocations: 63.84 kB / 481.8 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.4451, allocations: 113.3 kB / 481.9 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.4467, allocations: 1.041 MB / 483 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4467, allocations: 0 / 483 MB, free: 15.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4467, allocations: 0 / 483 MB, free: 15.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.4467, allocations: 0 / 483 MB, free: 15.66 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.001628/0.4484, allocations: 0.6286 MB / 483.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.4484, allocations: 8.031 kB / 483.6 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001388/0.4486, allocations: 20.75 kB / 483.6 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.4488, allocations: 224.8 kB / 483.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.889e-05/0.4489, allocations: 16.31 kB / 483.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.656e-05/0.4489, allocations: 15.91 kB / 483.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/0.4495, allocations: 265.4 kB / 484.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4495, allocations: 0 / 484.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.4495, allocations: 8 kB / 484.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.4496, allocations: 8 kB / 484.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/0.4502, allocations: 267.7 kB / 484.4 MB, free: 14.12 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.001448/0.4516, allocations: 0.7951 MB / 485.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.4523, allocations: 217.9 kB / 485.4 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.4526, allocations: 133.6 kB / 485.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/0.4529, allocations: 356.3 kB / 485.9 MB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.453, allocations: 40.16 kB / 485.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.453, allocations: 0 / 485.9 MB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002423/0.4554, allocations: 0.6723 MB / 486.6 MB, free: 11.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.431e-05/0.4555, allocations: 81.11 kB / 486.7 MB, free: 11.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.488e-05/0.4556, allocations: 121.8 kB / 486.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.4556, allocations: 37.7 kB / 486.8 MB, free: 11.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.4557, allocations: 104.8 kB / 486.9 MB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.299e-05/0.4558, allocations: 126.1 kB / 487.1 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.4559, allocations: 33.7 kB / 487.1 MB, free: 11.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.456, allocations: 330.8 kB / 487.4 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.4563, allocations: 135.9 kB / 487.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004413/0.4568, allocations: 211.5 kB / 487.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/0.4576, allocations: 355.4 kB / 488.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/0.4576, allocations: 3.984 kB / 488.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009423/0.4586, allocations: 413.7 kB / 488.5 MB, free: 9.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4586, allocations: 4 kB / 488.5 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4586, allocations: 4 kB / 488.5 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4586, allocations: 4 kB / 488.5 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.4591, allocations: 83.88 kB / 488.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4591, allocations: 11.97 kB / 488.6 MB, free: 9.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.4595, allocations: 36.02 kB / 488.6 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.4595, allocations: 23.92 kB / 488.7 MB, free: 9.547 MB / 382.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.0001416/0.4597, allocations: 137.7 kB / 488.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.217e-05/0.4597, allocations: 19.81 kB / 488.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003761/0.4601, allocations: 178.4 kB / 489 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.4601, allocations: 4 kB / 489 MB, free: 9.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.4602, allocations: 7.875 kB / 489 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4602, allocations: 0 / 489 MB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.4619, allocations: 0.7597 MB / 489.8 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4619, allocations: 4 kB / 489.8 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004227/0.4623, allocations: 75.83 kB / 489.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.4623, allocations: 4 kB / 489.8 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.324e-05/0.4624, allocations: 11.98 kB / 489.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4624, allocations: 4 kB / 489.9 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4624, allocations: 0 / 489.9 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.4638, allocations: 0.7149 MB / 490.6 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.4639, allocations: 120.9 kB / 490.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.156e-05/0.464, allocations: 7.984 kB / 490.7 MB, free: 7.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.4643, allocations: 24.05 kB / 490.7 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.32e-05/0.4644, allocations: 31.81 kB / 490.8 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.4644, allocations: 15.98 kB / 490.8 MB, free: 7.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.243e-05/0.4645, allocations: 99.58 kB / 490.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4645, allocations: 288 / 490.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006178/0.4651, allocations: 143.9 kB / 491 MB, free: 7.062 MB / 382.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 (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.0004578/0.4656, allocations: 242.9 kB / 491.2 MB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008464/0.4665, allocations: 336 kB / 491.6 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4665, allocations: 4 kB / 491.6 MB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.4669, allocations: 179.7 kB / 491.8 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007549/0.4676, allocations: 88.22 kB / 491.8 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.4692, allocations: 0.7483 MB / 492.6 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002802/0.4695, allocations: 0.7411 MB / 493.3 MB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000375/0.4699, allocations: 69.91 kB / 493.4 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.47, allocations: 35.42 kB / 493.4 MB, free: 4.562 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.47, allocations: 0 / 493.4 MB, free: 4.562 MB / 382.1 MB Notification: Performance of Templates: time 0.01123/0.4812, allocations: 5.848 MB / 499.3 MB, free: 14.72 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches