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.001304/0.001304, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.001146/0.001146, allocations: 192 kB / 18.51 MB, free: 4.508 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.329/1.329, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001242/0.001242, allocations: 55.92 kB / 280.6 MB, free: 3.203 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08262/0.08387, allocations: 46.63 MB / 327.3 MB, free: 4.5 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2779/0.3618, allocations: 152.7 MB / 480 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008841/0.3627, allocations: 0.5938 MB / 480.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.3628, allocations: 4 kB / 480.6 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.3632, allocations: 63.64 kB / 480.6 MB, free: 13.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003485/0.3636, allocations: 149.4 kB / 480.8 MB, free: 13.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002635/0.3662, allocations: 1.083 MB / 481.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.3666, allocations: 322.9 kB / 482.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.3666, allocations: 13.45 kB / 482.2 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.3669, allocations: 151.5 kB / 482.3 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002161/0.3671, allocations: 131.5 kB / 482.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.805e-05/0.3672, allocations: 12 kB / 482.5 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.3697, allocations: 1.575 MB / 484.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3698, allocations: 63.84 kB / 484.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.3699, allocations: 95.64 kB / 484.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.3715, allocations: 1.006 MB / 485.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3715, allocations: 0 / 485.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3715, allocations: 0 / 485.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3715, allocations: 0 / 485.2 MB, free: 9.066 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.001617/0.3732, allocations: 0.6715 MB / 485.9 MB, free: 8.348 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.342e-05/0.3732, allocations: 12.03 kB / 485.9 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.3734, allocations: 21.62 kB / 485.9 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.3736, allocations: 211.9 kB / 486.1 MB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.3736, allocations: 12.31 kB / 486.1 MB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.015e-05/0.3737, allocations: 16 kB / 486.2 MB, free: 8.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005497/0.3742, allocations: 265.4 kB / 486.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3742, allocations: 3.844 kB / 486.4 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.3743, allocations: 8 kB / 486.4 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/0.3743, allocations: 11.5 kB / 486.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006373/0.3749, allocations: 267.7 kB / 486.7 MB, free: 7.496 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.001353/0.3763, allocations: 0.7897 MB / 487.5 MB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006105/0.3769, allocations: 221.2 kB / 487.7 MB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.3772, allocations: 137.6 kB / 487.8 MB, free: 6.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003143/0.3776, allocations: 356.3 kB / 488.2 MB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.3776, allocations: 42.56 kB / 488.2 MB, free: 5.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.855e-06/0.3776, allocations: 0 / 488.2 MB, free: 5.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002418/0.38, allocations: 0.666 MB / 488.9 MB, free: 5.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.3801, allocations: 85.05 kB / 489 MB, free: 5.008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.908e-05/0.3802, allocations: 125.8 kB / 489.1 MB, free: 4.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.3802, allocations: 29.7 kB / 489.1 MB, free: 4.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.3803, allocations: 108.8 kB / 489.2 MB, free: 4.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.552e-05/0.3804, allocations: 122.2 kB / 489.4 MB, free: 4.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3805, allocations: 77.55 kB / 489.4 MB, free: 4.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3806, allocations: 326.8 kB / 489.8 MB, free: 4.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.381, allocations: 131.9 kB / 489.9 MB, free: 4.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.3814, allocations: 199.6 kB / 490.1 MB, free: 3.848 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007988/0.3822, allocations: 367.9 kB / 490.4 MB, free: 3.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3822, allocations: 0 / 490.4 MB, free: 3.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009314/0.3832, allocations: 405.3 kB / 490.8 MB, free: 3.059 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3832, allocations: 8 kB / 490.8 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3832, allocations: 0 / 490.8 MB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3832, allocations: 4 kB / 490.8 MB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004762/0.3837, allocations: 96.03 kB / 490.9 MB, free: 2.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3837, allocations: 4 kB / 490.9 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003062/0.384, allocations: 31.81 kB / 491 MB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.3841, allocations: 17.78 kB / 491 MB, free: 2.902 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.0001337/0.3842, allocations: 145.7 kB / 491.1 MB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.843e-05/0.3843, allocations: 15.81 kB / 491.1 MB, free: 2.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.3847, allocations: 179.6 kB / 491.3 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3847, allocations: 4 kB / 491.3 MB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3847, allocations: 4 kB / 491.3 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3847, allocations: 0 / 491.3 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001648/0.3863, allocations: 0.7667 MB / 492.1 MB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3864, allocations: 3.984 kB / 492.1 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004318/0.3868, allocations: 75.83 kB / 492.2 MB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.3868, allocations: 8.141 kB / 492.2 MB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.544e-05/0.3869, allocations: 23.36 kB / 492.2 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.3869, allocations: 7.938 kB / 492.2 MB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/0.3869, allocations: 4 kB / 492.2 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.3883, allocations: 0.7067 MB / 492.9 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.3884, allocations: 120.8 kB / 493 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.3885, allocations: 8 kB / 493.1 MB, free: 0.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003653/0.3888, allocations: 19.97 kB / 493.1 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.102e-05/0.3889, allocations: 23.97 kB / 493.1 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.3889, allocations: 16.94 kB / 493.1 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.691e-05/0.389, allocations: 99.7 kB / 493.2 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.389, allocations: 0 / 493.2 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005685/0.3896, allocations: 143.9 kB / 493.3 MB, free: 420 kB / 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.0004896/0.3901, allocations: 231.3 kB / 493.6 MB, free: 180 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009916/0.3911, allocations: 367.9 kB / 493.9 MB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3911, allocations: 3.938 kB / 493.9 MB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004229/0.3915, allocations: 179.7 kB / 494.1 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007077/0.3922, allocations: 100.2 kB / 494.2 MB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.3936, allocations: 0.6142 MB / 494.8 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.394, allocations: 0.7485 MB / 495.6 MB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000394/0.3944, allocations: 73.89 kB / 495.6 MB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.3945, allocations: 35.42 kB / 495.7 MB, free: 14 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3945, allocations: 0 / 495.7 MB, free: 14 MB / 398.1 MB Notification: Performance of Templates: time 0.01049/0.405, allocations: 6.065 MB / 0.49 GB, free: 7.938 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches