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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001166/0.001166, allocations: 110.5 kB / 17.93 MB, free: 5.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 193.8 kB / 18.86 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 224.7 MB, free: 12.45 MB / 190.1 MB 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.001187/0.001187, allocations: 47.92 kB / 280.8 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1015, allocations: 46.63 MB / 327.4 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3964/0.498, allocations: 150.6 MB / 478 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008588/0.4989, allocations: 0.5894 MB / 478.6 MB, free: 280 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.499, allocations: 4 kB / 478.6 MB, free: 276 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003882/0.4994, allocations: 62.58 kB / 478.7 MB, free: 216 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003511/0.4998, allocations: 137 kB / 478.8 MB, free: 84 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002642/0.5024, allocations: 0.9854 MB / 479.8 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003755/0.5028, allocations: 326.8 kB / 480.1 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.764e-05/0.5029, allocations: 9.438 kB / 480.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002406/0.5031, allocations: 159.4 kB / 480.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.5034, allocations: 127.6 kB / 480.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.5034, allocations: 12 kB / 480.4 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.5056, allocations: 1.626 MB / 482 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.5058, allocations: 71.83 kB / 482.1 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.5059, allocations: 91.66 kB / 482.2 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009199/0.5068, allocations: 0.69 MB / 482.9 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5068, allocations: 0 / 482.9 MB, free: 12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5068, allocations: 0 / 482.9 MB, free: 12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.5068, allocations: 0 / 482.9 MB, free: 12 MB / 382.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.001794/0.5086, allocations: 0.6792 MB / 483.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5087, allocations: 8.031 kB / 483.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.5088, allocations: 21.62 kB / 483.6 MB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.5091, allocations: 215.9 kB / 483.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.5091, allocations: 20.27 kB / 483.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.5092, allocations: 16 kB / 483.8 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.5097, allocations: 257.4 kB / 484.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5097, allocations: 3.938 kB / 484.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.068e-05/0.5098, allocations: 8 kB / 484.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.5098, allocations: 19.31 kB / 484.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005829/0.5104, allocations: 267.8 kB / 484.4 MB, free: 10.41 MB / 382.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.001365/0.5118, allocations: 0.7897 MB / 485.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006127/0.5124, allocations: 217.2 kB / 485.4 MB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.5127, allocations: 133.6 kB / 485.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/0.513, allocations: 360.3 kB / 485.9 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.5131, allocations: 38.56 kB / 485.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.913e-06/0.5131, allocations: 0 / 485.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002368/0.5154, allocations: 0.6733 MB / 486.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.5155, allocations: 81.11 kB / 486.7 MB, free: 7.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.5156, allocations: 121.8 kB / 486.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/0.5157, allocations: 37.7 kB / 486.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.5157, allocations: 100.8 kB / 486.9 MB, free: 7.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.5158, allocations: 130.2 kB / 487 MB, free: 7.523 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.516, allocations: 73.55 kB / 487.1 MB, free: 7.445 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.5161, allocations: 326.8 kB / 487.4 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.5164, allocations: 131.9 kB / 487.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.5168, allocations: 211.5 kB / 487.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007487/0.5176, allocations: 359.4 kB / 488.1 MB, free: 6.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5176, allocations: 0 / 488.1 MB, free: 6.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008761/0.5185, allocations: 413.4 kB / 488.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.5185, allocations: 4 kB / 488.5 MB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.5185, allocations: 4 kB / 488.5 MB, free: 5.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.5185, allocations: 4 kB / 488.5 MB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004752/0.519, allocations: 83.88 kB / 488.6 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.519, allocations: 6.266 kB / 488.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.5194, allocations: 39.91 kB / 488.7 MB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.75e-05/0.5194, allocations: 12 kB / 488.7 MB, free: 5.816 MB / 382.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.000139/0.5195, allocations: 145.7 kB / 488.8 MB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.5196, allocations: 21.91 kB / 488.8 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003718/0.52, allocations: 171.7 kB / 489 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.52, allocations: 8 kB / 489 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.52, allocations: 0 / 489 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.52, allocations: 0 / 489 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.5216, allocations: 0.7709 MB / 489.8 MB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.5216, allocations: 4 kB / 489.8 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004177/0.522, allocations: 83.81 kB / 489.9 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.522, allocations: 4 kB / 489.9 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.5221, allocations: 12.48 kB / 489.9 MB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.5221, allocations: 4 kB / 489.9 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5221, allocations: 0 / 489.9 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.5234, allocations: 0.7107 MB / 490.6 MB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.5235, allocations: 122.4 kB / 490.7 MB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.5235, allocations: 12 kB / 490.7 MB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.5239, allocations: 27.97 kB / 490.8 MB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.524, allocations: 23.97 kB / 490.8 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.524, allocations: 15.94 kB / 490.8 MB, free: 3.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.905e-05/0.5241, allocations: 92.02 kB / 490.9 MB, free: 3.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5241, allocations: 0 / 490.9 MB, free: 3.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005611/0.5246, allocations: 143.9 kB / 491 MB, free: 3.328 MB / 382.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.0004645/0.5251, allocations: 239.6 kB / 491.3 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000856/0.526, allocations: 363.5 kB / 491.6 MB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.526, allocations: 448 / 491.6 MB, free: 2.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.5264, allocations: 179.7 kB / 491.8 MB, free: 2.555 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006673/0.527, allocations: 97.73 kB / 491.9 MB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.5284, allocations: 0.7299 MB / 492.6 MB, free: 1.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.5287, allocations: 0.733 MB / 493.4 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.5289, allocations: 43.41 kB / 493.4 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5289, allocations: 4 kB / 493.4 MB, free: 0.875 MB / 382.1 MB Notification: Performance of Templates: time 0.006986/0.5359, allocations: 4.441 MB / 497.8 MB, free: 12.43 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile (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) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches