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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001143, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2292/0.2304, allocations: 50.54 MB / 409.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.403/0.6335, allocations: 154.4 MB / 0.5511 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.6351, allocations: 1.622 MB / 0.5527 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.6352, allocations: 2.562 kB / 0.5527 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.6356, allocations: 62.59 kB / 0.5528 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.6361, allocations: 174.1 kB / 0.5529 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002406/0.6385, allocations: 1.029 MB / 0.5539 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003888/0.6389, allocations: 353.1 kB / 0.5543 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.746e-05/0.639, allocations: 13.62 kB / 0.5543 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002752/0.6393, allocations: 163.3 kB / 0.5544 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.6395, allocations: 129.8 kB / 0.5546 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.6396, allocations: 14.02 kB / 0.5546 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002552/0.6421, allocations: 1.625 MB / 0.5562 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.6422, allocations: 71.91 kB / 0.5562 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001751/0.6424, allocations: 101.8 kB / 0.5563 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.6439, allocations: 1.027 MB / 0.5573 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6439, allocations: 0 / 0.5573 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.644, allocations: 0 / 0.5573 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.644, allocations: 3.094 kB / 0.5573 GB, free: 0.5977 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.001786/0.6458, allocations: 0.7038 MB / 0.558 GB, free: 16.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.6458, allocations: 11.06 kB / 0.558 GB, free: 16.11 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.646, allocations: 27.5 kB / 0.5581 GB, free: 16.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002611/0.6462, allocations: 221.1 kB / 0.5583 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.6463, allocations: 9.797 kB / 0.5583 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.6463, allocations: 18.62 kB / 0.5583 GB, free: 15.89 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.6468, allocations: 264 kB / 0.5585 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/0.6469, allocations: 0 / 0.5585 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.6469, allocations: 13.97 kB / 0.5586 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.6469, allocations: 9.031 kB / 0.5586 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.6475, allocations: 264.1 kB / 0.5588 GB, free: 15.82 MB / 478.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.001325/0.6489, allocations: 0.7918 MB / 0.5596 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.6494, allocations: 219 kB / 0.5598 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.6497, allocations: 138.2 kB / 0.5599 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003471/0.6501, allocations: 357 kB / 0.5603 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.6501, allocations: 46.14 kB / 0.5603 GB, free: 14.84 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.033e-06/0.6501, allocations: 0 / 0.5603 GB, free: 14.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=36): time 0.002339/0.6525, allocations: 0.6886 MB / 0.561 GB, free: 14.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.929e-05/0.6525, allocations: 80.14 kB / 0.5611 GB, free: 14.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.6527, allocations: 145 kB / 0.5612 GB, free: 14.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.221e-05/0.6527, allocations: 29.14 kB / 0.5612 GB, free: 14.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.6528, allocations: 112.3 kB / 0.5613 GB, free: 14.42 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/0.6528, allocations: 129.3 kB / 0.5615 GB, free: 14.34 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.653, allocations: 75.58 kB / 0.5615 GB, free: 14.32 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.6531, allocations: 327.8 kB / 0.5619 GB, free: 14 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003287/0.6534, allocations: 129.1 kB / 0.562 GB, free: 14 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.6538, allocations: 212.6 kB / 0.5622 GB, free: 13.93 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006887/0.6545, allocations: 355 kB / 0.5625 GB, free: 13.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6545, allocations: 0 / 0.5625 GB, free: 13.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008502/0.6553, allocations: 415.1 kB / 0.5629 GB, free: 13.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.6554, allocations: 4.875 kB / 0.5629 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.6554, allocations: 2.312 kB / 0.5629 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.6554, allocations: 5.891 kB / 0.5629 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.6559, allocations: 88.98 kB / 0.563 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.6559, allocations: 4.297 kB / 0.563 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.6563, allocations: 34.08 kB / 0.563 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.173e-05/0.6563, allocations: 17.55 kB / 0.5631 GB, free: 13.79 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.0001396/0.6564, allocations: 147.9 kB / 0.5632 GB, free: 13.67 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.019e-05/0.6565, allocations: 22.41 kB / 0.5632 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003465/0.6569, allocations: 175.4 kB / 0.5634 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.6569, allocations: 2.969 kB / 0.5634 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.6569, allocations: 0 / 0.5634 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.6569, allocations: 5.594 kB / 0.5634 GB, free: 13.61 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.6585, allocations: 0.7786 MB / 0.5642 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6585, allocations: 6.969 kB / 0.5642 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.659, allocations: 75.56 kB / 0.5642 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.659, allocations: 3.219 kB / 0.5642 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.659, allocations: 12.34 kB / 0.5643 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.659, allocations: 7.594 kB / 0.5643 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.659, allocations: 3.594 kB / 0.5643 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.6603, allocations: 0.7187 MB / 0.565 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.6604, allocations: 116.5 kB / 0.5651 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.6605, allocations: 12.92 kB / 0.5651 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003709/0.6609, allocations: 17.45 kB / 0.5651 GB, free: 12.86 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.6609, allocations: 37.09 kB / 0.5651 GB, free: 12.85 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.661, allocations: 17.41 kB / 0.5652 GB, free: 12.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 7.579e-05/0.661, allocations: 106.5 kB / 0.5653 GB, free: 12.77 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6611, allocations: 0 / 0.5653 GB, free: 12.77 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006004/0.6617, allocations: 152.8 kB / 0.5654 GB, free: 12.75 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.0004586/0.6621, allocations: 249 kB / 0.5656 GB, free: 12.63 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008036/0.6629, allocations: 345.5 kB / 0.566 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.663, allocations: 0 / 0.566 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.6633, allocations: 175.4 kB / 0.5661 GB, free: 12.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.6641, allocations: 111.1 kB / 0.5662 GB, free: 12.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.6655, allocations: 0.669 MB / 0.5669 GB, free: 12.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003118/0.6659, allocations: 0.738 MB / 0.5676 GB, free: 11.53 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.666, allocations: 40.28 kB / 0.5677 GB, free: 11.52 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.666, allocations: 0 / 0.5677 GB, free: 11.52 MB / 478.1 MB Notification: Performance of Templates: time 0.006441/0.6725, allocations: 4.781 MB / 0.5723 GB, free: 11.07 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches