Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002014/0.002014, allocations: 204 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 63.91 kB / 378.2 MB, free: 2.336 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2441, allocations: 53.41 MB / 431.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4038/0.6478, allocations: 133.3 MB / 0.5516 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001518/0.6494, allocations: 1.438 MB / 0.553 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.329e-05/0.6494, allocations: 0 / 0.553 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003725/0.6498, allocations: 55.58 kB / 0.5531 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004086/0.6502, allocations: 167 kB / 0.5533 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.6531, allocations: 1.053 MB / 0.5543 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000502/0.6536, allocations: 354.8 kB / 0.5546 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.6536, allocations: 13.02 kB / 0.5546 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002733/0.6539, allocations: 168.5 kB / 0.5548 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002365/0.6542, allocations: 131.9 kB / 0.5549 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.931e-05/0.6542, allocations: 12.38 kB / 0.5549 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00216/0.6564, allocations: 1.358 MB / 0.5563 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.061e-05/0.6564, allocations: 74.78 kB / 0.5563 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.6565, allocations: 92.23 kB / 0.5564 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.6579, allocations: 0.9965 MB / 0.5574 GB, free: 15.6 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6579, allocations: 1.094 kB / 0.5574 GB, free: 15.6 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6579, allocations: 4 kB / 0.5574 GB, free: 15.6 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.6579, allocations: 0 / 0.5574 GB, free: 15.6 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.001735/0.6597, allocations: 0.6294 MB / 0.558 GB, free: 15.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.6597, allocations: 14.64 kB / 0.558 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.6598, allocations: 22.84 kB / 0.5581 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002899/0.6601, allocations: 168.9 kB / 0.5582 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.6602, allocations: 8.828 kB / 0.5582 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.6602, allocations: 22.17 kB / 0.5582 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005918/0.6608, allocations: 363.5 kB / 0.5586 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.6608, allocations: 4 kB / 0.5586 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.6608, allocations: 9.531 kB / 0.5586 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.819e-05/0.6609, allocations: 7.891 kB / 0.5586 GB, free: 14.86 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.6614, allocations: 263.2 kB / 0.5589 GB, free: 14.86 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.001332/0.6628, allocations: 0.6207 MB / 0.5595 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006035/0.6634, allocations: 209.3 kB / 0.5597 GB, free: 14.47 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/0.6637, allocations: 127.7 kB / 0.5598 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000181/0.6638, allocations: 55.31 kB / 0.5598 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.6639, allocations: 43.7 kB / 0.5599 GB, free: 14.41 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.723e-06/0.6639, allocations: 0 / 0.5599 GB, free: 14.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.0023/0.6662, allocations: 0.6892 MB / 0.5606 GB, free: 14.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.984e-05/0.6662, allocations: 82.11 kB / 0.5606 GB, free: 14.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.6664, allocations: 140.3 kB / 0.5608 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/0.6664, allocations: 32.64 kB / 0.5608 GB, free: 14.09 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.6665, allocations: 116.6 kB / 0.5609 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.6666, allocations: 140.2 kB / 0.561 GB, free: 13.9 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.6667, allocations: 67.42 kB / 0.5611 GB, free: 13.88 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.6668, allocations: 329 kB / 0.5614 GB, free: 13.57 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003462/0.6672, allocations: 135.4 kB / 0.5615 GB, free: 13.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.6676, allocations: 202.1 kB / 0.5617 GB, free: 13.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.6683, allocations: 362.5 kB / 0.5621 GB, free: 13.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6683, allocations: 2.906 kB / 0.5621 GB, free: 13.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008844/0.6692, allocations: 415.7 kB / 0.5625 GB, free: 13.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.6692, allocations: 5.938 kB / 0.5625 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6692, allocations: 2.906 kB / 0.5625 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.6693, allocations: 2.5 kB / 0.5625 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.6697, allocations: 89.83 kB / 0.5626 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.6697, allocations: 5.156 kB / 0.5626 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.67, allocations: 36.17 kB / 0.5626 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.6701, allocations: 17.67 kB / 0.5626 GB, free: 13.35 MB / 462.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.0001466/0.6702, allocations: 145 kB / 0.5628 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.6703, allocations: 21.56 kB / 0.5628 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/0.6706, allocations: 182.9 kB / 0.563 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.6706, allocations: 6.062 kB / 0.563 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6706, allocations: 2.75 kB / 0.563 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6707, allocations: 2.859 kB / 0.563 GB, free: 13.17 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.6723, allocations: 0.6637 MB / 0.5636 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.6723, allocations: 4.453 kB / 0.5636 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.6727, allocations: 76.62 kB / 0.5637 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.617e-06/0.6727, allocations: 6.812 kB / 0.5637 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.883e-05/0.6728, allocations: 20.91 kB / 0.5637 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.6728, allocations: 2.625 kB / 0.5637 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6728, allocations: 3.625 kB / 0.5637 GB, free: 12.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.6741, allocations: 0.7086 MB / 0.5644 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.6742, allocations: 59.73 kB / 0.5645 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.75e-05/0.6743, allocations: 12.62 kB / 0.5645 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003787/0.6746, allocations: 20.86 kB / 0.5645 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.6747, allocations: 25.53 kB / 0.5645 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.6747, allocations: 14 kB / 0.5646 GB, free: 12.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.682e-05/0.6748, allocations: 111.5 kB / 0.5647 GB, free: 12.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6748, allocations: 4.062 kB / 0.5647 GB, free: 12.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006101/0.6754, allocations: 151.1 kB / 0.5648 GB, free: 12.48 MB / 462.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.0004487/0.6758, allocations: 239.5 kB / 0.565 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008226/0.6767, allocations: 329.6 kB / 0.5654 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.6767, allocations: 3.094 kB / 0.5654 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.677, allocations: 170.3 kB / 0.5655 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007271/0.6778, allocations: 110.7 kB / 0.5656 GB, free: 12.34 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.6792, allocations: 0.6397 MB / 0.5663 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.6793, allocations: 126.5 kB / 0.5664 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003225/0.6797, allocations: 74.84 kB / 0.5664 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.6798, allocations: 40.11 kB / 0.5665 GB, free: 11.87 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6798, allocations: 0 / 0.5665 GB, free: 11.87 MB / 462.1 MB Notification: Performance of Templates: time 0.01063/0.6904, allocations: 6.794 MB / 0.5731 GB, free: 11.21 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.013971753418446]