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.001382/0.001382, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001569/0.001569, allocations: 210.9 kB / 23.73 MB, free: 4.41 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.002583/0.002583, allocations: 51.94 kB / 378.2 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2283, allocations: 53.37 MB / 431.6 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3861/0.6144, allocations: 133.3 MB / 0.5516 GB, free: 15.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.6159, allocations: 1.437 MB / 0.553 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.233e-05/0.616, allocations: 2.938 kB / 0.553 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.6163, allocations: 59.61 kB / 0.553 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003589/0.6167, allocations: 160.8 kB / 0.5532 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00246/0.6192, allocations: 1.059 MB / 0.5542 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.6195, allocations: 357.8 kB / 0.5546 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.6196, allocations: 10.88 kB / 0.5546 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.6198, allocations: 168.8 kB / 0.5547 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.6201, allocations: 129.8 kB / 0.5549 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/0.6201, allocations: 12.38 kB / 0.5549 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002026/0.6221, allocations: 1.367 MB / 0.5562 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.6222, allocations: 71.95 kB / 0.5563 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.6223, allocations: 91.03 kB / 0.5564 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.6235, allocations: 0.9918 MB / 0.5573 GB, free: 15.61 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.6235, allocations: 0 / 0.5573 GB, free: 15.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.6235, allocations: 7.578 kB / 0.5573 GB, free: 15.6 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.039e-06/0.6235, allocations: 0 / 0.5573 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.001662/0.6252, allocations: 0.6333 MB / 0.558 GB, free: 15.2 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.6252, allocations: 10.69 kB / 0.558 GB, free: 15.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.6254, allocations: 20.12 kB / 0.558 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.6256, allocations: 168.9 kB / 0.5582 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.6257, allocations: 8.391 kB / 0.5582 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.492e-05/0.6257, allocations: 20.09 kB / 0.5582 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005792/0.6263, allocations: 369.9 kB / 0.5585 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.6263, allocations: 4 kB / 0.5585 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.6263, allocations: 9.031 kB / 0.5586 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.6264, allocations: 4.906 kB / 0.5586 GB, free: 14.87 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.6269, allocations: 265.3 kB / 0.5588 GB, free: 14.87 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.001355/0.6283, allocations: 0.6163 MB / 0.5594 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006096/0.6289, allocations: 206.3 kB / 0.5596 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002903/0.6292, allocations: 127.2 kB / 0.5597 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002175/0.6294, allocations: 52.55 kB / 0.5598 GB, free: 14.46 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.531e-05/0.6294, allocations: 42.7 kB / 0.5598 GB, free: 14.42 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.873e-06/0.6294, allocations: 1.094 kB / 0.5598 GB, free: 14.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002373/0.6318, allocations: 0.6934 MB / 0.5605 GB, free: 14.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.6319, allocations: 88.23 kB / 0.5606 GB, free: 14.23 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.632, allocations: 133.2 kB / 0.5607 GB, free: 14.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.632, allocations: 31.89 kB / 0.5607 GB, free: 14.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/0.6321, allocations: 112.4 kB / 0.5608 GB, free: 14.01 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.6322, allocations: 138.1 kB / 0.561 GB, free: 13.91 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.6323, allocations: 71.31 kB / 0.561 GB, free: 13.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.6325, allocations: 328.3 kB / 0.5614 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.6328, allocations: 134.6 kB / 0.5615 GB, free: 13.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004133/0.6333, allocations: 212.8 kB / 0.5617 GB, free: 13.5 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007684/0.634, allocations: 357.2 kB / 0.562 GB, free: 13.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.634, allocations: 0 / 0.562 GB, free: 13.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009098/0.6349, allocations: 412.8 kB / 0.5624 GB, free: 13.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.635, allocations: 7.688 kB / 0.5624 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.535e-06/0.635, allocations: 10.7 kB / 0.5624 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.635, allocations: 3.469 kB / 0.5624 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.6354, allocations: 88.52 kB / 0.5625 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6354, allocations: 3.25 kB / 0.5625 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.6358, allocations: 28.98 kB / 0.5626 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.6358, allocations: 15.03 kB / 0.5626 GB, free: 13.36 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.0001518/0.6359, allocations: 149.2 kB / 0.5627 GB, free: 13.24 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.93e-05/0.636, allocations: 26.34 kB / 0.5627 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000339/0.6364, allocations: 177.2 kB / 0.5629 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.6364, allocations: 3.5 kB / 0.5629 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6364, allocations: 0 / 0.5629 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/0.6364, allocations: 6.219 kB / 0.5629 GB, free: 13.18 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.638, allocations: 0.6639 MB / 0.5636 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.638, allocations: 6.188 kB / 0.5636 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.6384, allocations: 78.05 kB / 0.5636 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.6384, allocations: 10.58 kB / 0.5637 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.6385, allocations: 13.66 kB / 0.5637 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.6385, allocations: 4.562 kB / 0.5637 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6385, allocations: 2.969 kB / 0.5637 GB, free: 12.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.6398, allocations: 0.7196 MB / 0.5644 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.6399, allocations: 46.7 kB / 0.5644 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.724e-05/0.64, allocations: 10.56 kB / 0.5644 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/0.6403, allocations: 22.86 kB / 0.5645 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.6404, allocations: 28.25 kB / 0.5645 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.701e-05/0.6404, allocations: 15.53 kB / 0.5645 GB, free: 12.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.567e-05/0.6405, allocations: 110.4 kB / 0.5646 GB, free: 12.51 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6405, allocations: 5.266 kB / 0.5646 GB, free: 12.51 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000587/0.6411, allocations: 150.8 kB / 0.5648 GB, free: 12.49 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.0004613/0.6415, allocations: 243.2 kB / 0.565 GB, free: 12.38 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008516/0.6424, allocations: 334.4 kB / 0.5653 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6424, allocations: 0 / 0.5653 GB, free: 12.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.6427, allocations: 171.9 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.0007151/0.6435, allocations: 109.3 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.001419/0.6449, allocations: 0.6398 MB / 0.5662 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.645, allocations: 130.8 kB / 0.5663 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003186/0.6453, allocations: 77.66 kB / 0.5664 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001309/0.6455, allocations: 33.83 kB / 0.5664 GB, free: 11.87 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.6455, allocations: 0 / 0.5664 GB, free: 11.87 MB / 462.1 MB Notification: Performance of Templates: time 0.01048/0.6559, allocations: 6.784 MB / 0.5731 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: 4.988731263205409]