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.0008814/0.0008816, allocations: 95.97 kB / 16.94 MB, free: 6.445 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.0008361/0.0008362, allocations: 183.9 kB / 17.83 MB, free: 6.012 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.285/1.285, allocations: 205.4 MB / 224 MB, free: 13.18 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.0008097/0.00081, allocations: 9 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1139, allocations: 47.59 MB / 328.3 MB, free: 4.113 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.291/0.405, allocations: 127.3 MB / 455.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.4065, allocations: 1.372 MB / 457 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.524e-05/0.4066, allocations: 8 kB / 457 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.4069, allocations: 43.78 kB / 457 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.4072, allocations: 111.6 kB / 457.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.4088, allocations: 0.5961 MB / 457.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.409, allocations: 187.6 kB / 457.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.4091, allocations: 9.453 kB / 457.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003101/0.4094, allocations: 163.6 kB / 458.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.4096, allocations: 87.72 kB / 458.2 MB, free: 6.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.4096, allocations: 8 kB / 458.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001748/0.4114, allocations: 1.17 MB / 459.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.4115, allocations: 63.8 kB / 459.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.652e-05/0.4115, allocations: 57.64 kB / 459.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007008/0.4122, allocations: 0.5157 MB / 460 MB, free: 4.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.4123, allocations: 0 / 460 MB, free: 4.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4123, allocations: 0 / 460 MB, free: 4.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.4123, allocations: 0 / 460 MB, free: 4.992 MB / 350.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.001559/0.4138, allocations: 0.6051 MB / 460.6 MB, free: 4.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.4139, allocations: 8.031 kB / 460.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.414, allocations: 23.8 kB / 460.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.4143, allocations: 206.9 kB / 460.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.4143, allocations: 12.33 kB / 460.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.4143, allocations: 20 kB / 460.9 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005346/0.4149, allocations: 261.4 kB / 461.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.4149, allocations: 0 / 461.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.227e-05/0.4149, allocations: 8 kB / 461.1 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.415, allocations: 4 kB / 461.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006104/0.4156, allocations: 271.7 kB / 461.4 MB, free: 3.492 MB / 350.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.001367/0.417, allocations: 0.8015 MB / 462.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006398/0.4176, allocations: 213.2 kB / 462.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003266/0.4179, allocations: 352.8 kB / 462.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.418, allocations: 42.56 kB / 462.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.773e-06/0.418, allocations: 0 / 462.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002333/0.4203, allocations: 0.6709 MB / 463.5 MB, free: 1.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.4204, allocations: 85.05 kB / 463.5 MB, free: 1.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.4205, allocations: 125.8 kB / 463.7 MB, free: 1.012 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.4206, allocations: 29.7 kB / 463.7 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.304e-05/0.4206, allocations: 112.8 kB / 463.8 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.029e-05/0.4207, allocations: 118.2 kB / 463.9 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.4208, allocations: 4 kB / 463.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4209, allocations: 334.8 kB / 464.3 MB, free: 416 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00037/0.4213, allocations: 135.9 kB / 464.4 MB, free: 280 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003933/0.4217, allocations: 199.8 kB / 464.6 MB, free: 52 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004045/0.4221, allocations: 157 kB / 464.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4221, allocations: 0 / 464.7 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009152/0.423, allocations: 405.1 kB / 465.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.423, allocations: 4 kB / 465.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.4231, allocations: 4.219 kB / 465.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.4231, allocations: 11.94 kB / 465.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/0.4235, allocations: 87.88 kB / 465.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.4236, allocations: 4 kB / 465.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003116/0.4239, allocations: 27.91 kB / 465.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.686e-05/0.4239, allocations: 16 kB / 465.3 MB, free: 15.34 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001496/0.4241, allocations: 153.7 kB / 465.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.4242, allocations: 15.81 kB / 465.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003721/0.4245, allocations: 178.3 kB / 465.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.4246, allocations: 4 kB / 465.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.4246, allocations: 4 kB / 465.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.4246, allocations: 0 / 465.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.4262, allocations: 0.7479 MB / 466.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.4262, allocations: 1.031 kB / 466.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004365/0.4266, allocations: 83.88 kB / 466.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.33e-05/0.4267, allocations: 7.953 kB / 466.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.4267, allocations: 15.98 kB / 466.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.4267, allocations: 4.375 kB / 466.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4267, allocations: 0 / 466.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001372/0.4281, allocations: 0.7755 MB / 467.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001266/0.4282, allocations: 128.1 kB / 467.4 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.4283, allocations: 11.94 kB / 467.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.4287, allocations: 23.88 kB / 467.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.4287, allocations: 27.91 kB / 467.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.202e-05/0.4287, allocations: 19.98 kB / 467.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.269e-05/0.4288, allocations: 87.28 kB / 467.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4288, allocations: 4 kB / 467.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005744/0.4294, allocations: 143.9 kB / 467.7 MB, free: 12.75 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004285/0.4298, allocations: 223.6 kB / 467.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008316/0.4307, allocations: 340 kB / 468.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4307, allocations: 3.938 kB / 468.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.4311, allocations: 179.7 kB / 468.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.4317, allocations: 93.08 kB / 468.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.4331, allocations: 0.7291 MB / 469.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.4334, allocations: 0.7411 MB / 470 MB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000387/0.4338, allocations: 81.89 kB / 470.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.4339, allocations: 35.42 kB / 470.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.434, allocations: 0 / 470.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of Templates: time 0.009171/0.4431, allocations: 5.546 MB / 475.7 MB, free: 4.727 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/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