Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00154/0.00154, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001531/0.001531, allocations: 215.1 kB / 23.73 MB, free: 4.387 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 51.92 kB / 378.2 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2424, allocations: 53.36 MB / 431.6 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.391/0.6334, allocations: 133.3 MB / 0.5516 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.6349, allocations: 1.434 MB / 0.553 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.976e-05/0.6349, allocations: 1.906 kB / 0.553 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.6352, allocations: 62.14 kB / 0.553 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003399/0.6356, allocations: 161.8 kB / 0.5532 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.6379, allocations: 1.065 MB / 0.5542 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003875/0.6383, allocations: 355.6 kB / 0.5546 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.418e-05/0.6384, allocations: 7.25 kB / 0.5546 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002435/0.6386, allocations: 167.3 kB / 0.5547 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002428/0.6389, allocations: 139.1 kB / 0.5549 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.6389, allocations: 16.91 kB / 0.5549 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002066/0.641, allocations: 1.41 MB / 0.5563 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.6411, allocations: 70.12 kB / 0.5563 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.6412, allocations: 92.66 kB / 0.5564 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001286/0.6425, allocations: 0.9902 MB / 0.5574 GB, free: 15.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6425, allocations: 3.453 kB / 0.5574 GB, free: 15.62 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6425, allocations: 2.562 kB / 0.5574 GB, free: 15.62 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.6425, allocations: 0 / 0.5574 GB, free: 15.62 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.001811/0.6443, allocations: 0.6286 MB / 0.558 GB, free: 15.22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.6443, allocations: 9 kB / 0.558 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.6445, allocations: 28.16 kB / 0.5581 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.6448, allocations: 165.5 kB / 0.5582 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.6448, allocations: 12.92 kB / 0.5582 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.6449, allocations: 22.05 kB / 0.5582 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.6455, allocations: 364.4 kB / 0.5586 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.6455, allocations: 2.156 kB / 0.5586 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.6455, allocations: 9.188 kB / 0.5586 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.6456, allocations: 5.688 kB / 0.5586 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005784/0.6461, allocations: 266.4 kB / 0.5589 GB, free: 14.88 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.001408/0.6475, allocations: 0.6125 MB / 0.5595 GB, free: 14.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.6482, allocations: 211.3 kB / 0.5597 GB, free: 14.5 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003138/0.6485, allocations: 127.2 kB / 0.5598 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.6487, allocations: 56.66 kB / 0.5598 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.6487, allocations: 40.83 kB / 0.5599 GB, free: 14.44 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.683e-06/0.6487, allocations: 0 / 0.5599 GB, free: 14.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002441/0.6512, allocations: 0.6938 MB / 0.5606 GB, free: 14.34 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.6512, allocations: 82.58 kB / 0.5606 GB, free: 14.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.6514, allocations: 133.2 kB / 0.5608 GB, free: 14.15 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.6514, allocations: 32.7 kB / 0.5608 GB, free: 14.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.6515, allocations: 116.2 kB / 0.5609 GB, free: 14.02 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.6516, allocations: 137.4 kB / 0.561 GB, free: 13.93 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.6517, allocations: 66.81 kB / 0.5611 GB, free: 13.91 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6518, allocations: 333.7 kB / 0.5614 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003317/0.6522, allocations: 136.2 kB / 0.5615 GB, free: 13.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.6525, allocations: 206.3 kB / 0.5617 GB, free: 13.52 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007344/0.6533, allocations: 359.1 kB / 0.5621 GB, free: 13.45 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6533, allocations: 4 kB / 0.5621 GB, free: 13.44 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008631/0.6541, allocations: 412.3 kB / 0.5625 GB, free: 13.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.6541, allocations: 8.906 kB / 0.5625 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.6542, allocations: 5.828 kB / 0.5625 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.6542, allocations: 3.5 kB / 0.5625 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.6547, allocations: 92.75 kB / 0.5626 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.6547, allocations: 5.656 kB / 0.5626 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003317/0.655, allocations: 30.5 kB / 0.5626 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.655, allocations: 11.59 kB / 0.5626 GB, free: 13.38 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.000151/0.6552, allocations: 155.6 kB / 0.5628 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.6553, allocations: 16.56 kB / 0.5628 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.6556, allocations: 183.3 kB / 0.563 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.6556, allocations: 3.469 kB / 0.563 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.6556, allocations: 8.203 kB / 0.563 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6556, allocations: 2.656 kB / 0.563 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001592/0.6572, allocations: 0.665 MB / 0.5636 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.6572, allocations: 2.344 kB / 0.5636 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000453/0.6577, allocations: 80.95 kB / 0.5637 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.6577, allocations: 8.484 kB / 0.5637 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.6577, allocations: 9.438 kB / 0.5637 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6577, allocations: 5.562 kB / 0.5637 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.6577, allocations: 4.469 kB / 0.5637 GB, free: 12.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.659, allocations: 0.7206 MB / 0.5644 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001152/0.6591, allocations: 46.7 kB / 0.5645 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.6592, allocations: 13.31 kB / 0.5645 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004006/0.6596, allocations: 21.92 kB / 0.5645 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.427e-05/0.6596, allocations: 29.28 kB / 0.5645 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.6597, allocations: 17.03 kB / 0.5646 GB, free: 12.61 MB / 462.1 MB Notification: Performance of sorting global known variables: time 6.952e-05/0.6597, allocations: 105.5 kB / 0.5647 GB, free: 12.53 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6597, allocations: 1.094 kB / 0.5647 GB, free: 12.53 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005754/0.6603, allocations: 153.2 kB / 0.5648 GB, free: 12.51 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.000457/0.6608, allocations: 242.5 kB / 0.565 GB, free: 12.39 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008256/0.6616, allocations: 333.8 kB / 0.5654 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6616, allocations: 0 / 0.5654 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003755/0.662, allocations: 170.9 kB / 0.5655 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007097/0.6627, allocations: 104.8 kB / 0.5656 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.6641, allocations: 0.6503 MB / 0.5663 GB, free: 12.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.6642, allocations: 129.5 kB / 0.5664 GB, free: 11.93 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003202/0.6645, allocations: 76.3 kB / 0.5665 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.6647, allocations: 41.75 kB / 0.5665 GB, free: 11.88 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6647, allocations: 0 / 0.5665 GB, free: 11.88 MB / 462.1 MB Notification: Performance of Templates: time 0.0108/0.6755, allocations: 6.889 MB / 0.5732 GB, free: 11.24 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.1.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.142963225021958]