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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001973/0.001973, allocations: 106 kB / 21.18 MB, free: 0.707 MB / 14.72 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.002229/0.002229, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 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.44/1.44, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] 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=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: 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.001741/0.001741, allocations: 66.55 kB / 347.6 MB, free: 9.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2636, allocations: 49.15 MB / 396.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.1803/0.4438, allocations: 153.2 MB / 0.5371 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009068/0.4448, allocations: 0.5965 MB / 0.5377 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.4448, allocations: 0 / 0.5377 GB, free: 9.062 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.4452, allocations: 63.64 kB / 0.5378 GB, free: 9 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.4455, allocations: 163.1 kB / 0.5379 GB, free: 8.84 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00311/0.4486, allocations: 1.105 MB / 0.539 GB, free: 7.734 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004327/0.4491, allocations: 322.9 kB / 0.5393 GB, free: 7.418 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.294e-05/0.4491, allocations: 5.641 kB / 0.5393 GB, free: 7.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.4494, allocations: 155.5 kB / 0.5395 GB, free: 7.262 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002296/0.4496, allocations: 135.5 kB / 0.5396 GB, free: 7.129 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.4496, allocations: 12 kB / 0.5396 GB, free: 7.117 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/0.4523, allocations: 1.68 MB / 0.5412 GB, free: 5.434 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.879e-05/0.4524, allocations: 67.78 kB / 0.5413 GB, free: 5.367 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001155/0.4525, allocations: 99.64 kB / 0.5414 GB, free: 5.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.454, allocations: 1.003 MB / 0.5424 GB, free: 4.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.454, allocations: 0 / 0.5424 GB, free: 4.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.454, allocations: 0 / 0.5424 GB, free: 4.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.454, allocations: 3.938 kB / 0.5424 GB, free: 4.266 MB / 462.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.001762/0.4557, allocations: 0.6097 MB / 0.543 GB, free: 3.625 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.4558, allocations: 11.98 kB / 0.543 GB, free: 3.613 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.4559, allocations: 20.84 kB / 0.543 GB, free: 3.594 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.4562, allocations: 157.9 kB / 0.5432 GB, free: 3.414 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/0.4562, allocations: 12.33 kB / 0.5432 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.4562, allocations: 19.98 kB / 0.5432 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005771/0.4568, allocations: 257.5 kB / 0.5434 GB, free: 3.121 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.4568, allocations: 7.984 kB / 0.5435 GB, free: 3.113 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.4569, allocations: 8 kB / 0.5435 GB, free: 3.105 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.4569, allocations: 8 kB / 0.5435 GB, free: 3.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006495/0.4575, allocations: 267.7 kB / 0.5437 GB, free: 2.836 MB / 462.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.001496/0.459, allocations: 0.7494 MB / 0.5445 GB, free: 2.016 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.4597, allocations: 213.2 kB / 0.5447 GB, free: 1.789 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.46, allocations: 141.5 kB / 0.5448 GB, free: 1.645 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.4602, allocations: 47.97 kB / 0.5448 GB, free: 1.598 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.4602, allocations: 34.5 kB / 0.5449 GB, free: 1.555 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.403e-06/0.4602, allocations: 0 / 0.5449 GB, free: 1.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002469/0.4627, allocations: 0.6769 MB / 0.5455 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.792e-05/0.4627, allocations: 85.05 kB / 0.5456 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.4629, allocations: 125.8 kB / 0.5457 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.4629, allocations: 29.7 kB / 0.5458 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.895e-05/0.463, allocations: 108.9 kB / 0.5459 GB, free: 500 kB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.4631, allocations: 130.8 kB / 0.546 GB, free: 368 kB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.4632, allocations: 77.59 kB / 0.5461 GB, free: 284 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.4634, allocations: 327.2 kB / 0.5464 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00038/0.4637, allocations: 131.9 kB / 0.5465 GB, free: 15.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000428/0.4642, allocations: 203.6 kB / 0.5467 GB, free: 15.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008059/0.465, allocations: 363.9 kB / 0.547 GB, free: 15.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.465, allocations: 4 kB / 0.547 GB, free: 15.21 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009569/0.4659, allocations: 409.3 kB / 0.5474 GB, free: 14.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.466, allocations: 8 kB / 0.5474 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.466, allocations: 0 / 0.5474 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.466, allocations: 4 kB / 0.5474 GB, free: 14.79 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000503/0.4665, allocations: 91.81 kB / 0.5475 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.4665, allocations: 7.984 kB / 0.5475 GB, free: 14.69 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.4668, allocations: 28.09 kB / 0.5476 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.4669, allocations: 20 kB / 0.5476 GB, free: 14.64 MB / 478.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.0001534/0.467, allocations: 145.7 kB / 0.5477 GB, free: 14.49 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.646e-05/0.4671, allocations: 15.91 kB / 0.5477 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003784/0.4675, allocations: 179.2 kB / 0.5479 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4675, allocations: 4 kB / 0.5479 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.4675, allocations: 4 kB / 0.5479 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.4675, allocations: 0 / 0.5479 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.4692, allocations: 0.724 MB / 0.5486 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4692, allocations: 11.97 kB / 0.5486 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.4696, allocations: 79.88 kB / 0.5487 GB, free: 13.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.4696, allocations: 4 kB / 0.5487 GB, free: 13.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.4696, allocations: 8 kB / 0.5487 GB, free: 13.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.4697, allocations: 15.86 kB / 0.5487 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4697, allocations: 4 kB / 0.5487 GB, free: 13.38 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.4711, allocations: 0.7066 MB / 0.5494 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.4712, allocations: 51.77 kB / 0.5495 GB, free: 12.59 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.388e-05/0.4712, allocations: 8 kB / 0.5495 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.4716, allocations: 19.97 kB / 0.5495 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.4716, allocations: 28.03 kB / 0.5495 GB, free: 12.53 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.4717, allocations: 15.98 kB / 0.5496 GB, free: 12.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.563e-05/0.4717, allocations: 95.27 kB / 0.5496 GB, free: 12.42 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4717, allocations: 0 / 0.5496 GB, free: 12.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006103/0.4724, allocations: 147.7 kB / 0.5498 GB, free: 12.28 MB / 478.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.0004824/0.4728, allocations: 243 kB / 0.55 GB, free: 12.03 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008915/0.4737, allocations: 327.5 kB / 0.5503 GB, free: 11.71 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4737, allocations: 3.938 kB / 0.5503 GB, free: 11.71 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004127/0.4742, allocations: 176.5 kB / 0.5505 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007032/0.4749, allocations: 99.77 kB / 0.5506 GB, free: 11.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.4763, allocations: 0.6059 MB / 0.5512 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4767, allocations: 0.7448 MB / 0.5519 GB, free: 10.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.477, allocations: 77.89 kB / 0.552 GB, free: 9.941 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.4771, allocations: 31.42 kB / 0.552 GB, free: 9.91 MB / 478.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4771, allocations: 0 / 0.552 GB, free: 9.91 MB / 478.1 MB Notification: Performance of Templates: time 0.01212/0.4893, allocations: 6.348 MB / 0.5582 GB, free: 3.551 MB / 478.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] 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.991050564683974]