Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.MoistAir.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 175.2 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 221.3 MB / 235.5 MB, free: 2.922 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008894/0.0008895, allocations: 88.09 kB / 286.5 MB, free: 220 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.242e-05, allocations: 0 / 343.8 MB, free: 4.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1225, allocations: 50.43 MB / 394.2 MB, free: 1.859 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.24/10.36, allocations: 3.337 GB / 3.722 GB, free: 81.97 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/10.36, allocations: 71.23 kB / 3.722 GB, free: 81.94 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1025/10.46, allocations: 49.07 MB / 3.77 GB, free: 38.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.192e-06/10.46, allocations: 0 / 3.77 GB, free: 38.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/10.46, allocations: 4 kB / 3.77 GB, free: 38.88 MB / 442.7 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.001589/10.46, allocations: 0.6274 MB / 3.77 GB, free: 38.21 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/10.46, allocations: 8.031 kB / 3.77 GB, free: 38.2 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/10.46, allocations: 19.86 kB / 3.77 GB, free: 38.18 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/10.46, allocations: 210.8 kB / 3.771 GB, free: 37.93 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/10.46, allocations: 16.33 kB / 3.771 GB, free: 37.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.425e-05/10.46, allocations: 16 kB / 3.771 GB, free: 37.9 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00038/10.46, allocations: 241.4 kB / 3.771 GB, free: 37.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/10.46, allocations: 3.984 kB / 3.771 GB, free: 37.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.85e-05/10.46, allocations: 8 kB / 3.771 GB, free: 37.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/10.46, allocations: 11.95 kB / 3.771 GB, free: 37.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/10.46, allocations: 231.8 kB / 3.771 GB, free: 37.41 MB / 442.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001182/10.47, allocations: 0.6761 MB / 3.772 GB, free: 36.66 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/10.47, allocations: 201.4 kB / 3.772 GB, free: 36.45 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/10.47, allocations: 122 kB / 3.772 GB, free: 36.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002938/10.47, allocations: 360.3 kB / 3.772 GB, free: 35.89 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/10.47, allocations: 46.5 kB / 3.772 GB, free: 35.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.302e-06/10.47, allocations: 0 / 3.772 GB, free: 35.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.001369/10.47, allocations: 0.4966 MB / 3.773 GB, free: 35.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/10.47, allocations: 89.3 kB / 3.773 GB, free: 35.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/10.47, allocations: 109.5 kB / 3.773 GB, free: 35.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/10.47, allocations: 29.7 kB / 3.773 GB, free: 35.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/10.47, allocations: 112.6 kB / 3.773 GB, free: 34.97 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.54e-05/10.47, allocations: 122.3 kB / 3.773 GB, free: 34.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.017e-05/10.47, allocations: 11.94 kB / 3.773 GB, free: 34.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.181e-05/10.47, allocations: 322.8 kB / 3.774 GB, free: 34.51 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/10.47, allocations: 111.9 kB / 3.774 GB, free: 34.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/10.47, allocations: 187.8 kB / 3.774 GB, free: 34.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/10.47, allocations: 127.9 kB / 3.774 GB, free: 34.07 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/10.47, allocations: 0 / 3.774 GB, free: 34.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004871/10.47, allocations: 357.3 kB / 3.774 GB, free: 33.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/10.47, allocations: 8 kB / 3.774 GB, free: 33.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/10.47, allocations: 0 / 3.774 GB, free: 33.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/10.47, allocations: 4 kB / 3.774 GB, free: 33.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/10.47, allocations: 91.83 kB / 3.775 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/10.47, allocations: 7.938 kB / 3.775 GB, free: 33.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/10.47, allocations: 40.03 kB / 3.775 GB, free: 33.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/10.47, allocations: 15.98 kB / 3.775 GB, free: 33.55 MB / 442.7 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 () * 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.0001091/10.47, allocations: 120.9 kB / 3.775 GB, free: 33.43 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/10.47, allocations: 19.81 kB / 3.775 GB, free: 33.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003432/10.47, allocations: 162.3 kB / 3.775 GB, free: 33.24 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/10.47, allocations: 7.984 kB / 3.775 GB, free: 33.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/10.47, allocations: 3.953 kB / 3.775 GB, free: 33.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-06/10.47, allocations: 3.938 kB / 3.775 GB, free: 33.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009851/10.47, allocations: 0.7219 MB / 3.776 GB, free: 32.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/10.47, allocations: 4.156 kB / 3.776 GB, free: 32.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003833/10.47, allocations: 83.88 kB / 3.776 GB, free: 32.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/10.47, allocations: 4 kB / 3.776 GB, free: 32.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/10.47, allocations: 8 kB / 3.776 GB, free: 32.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/10.47, allocations: 4 kB / 3.776 GB, free: 32.33 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/10.47, allocations: 3.938 kB / 3.776 GB, free: 32.33 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007207/10.47, allocations: 0.7132 MB / 3.776 GB, free: 31.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/10.47, allocations: 120.9 kB / 3.777 GB, free: 31.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/10.47, allocations: 8 kB / 3.777 GB, free: 31.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000323/10.47, allocations: 15.98 kB / 3.777 GB, free: 31.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/10.47, allocations: 31.86 kB / 3.777 GB, free: 31.35 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/10.47, allocations: 19.98 kB / 3.777 GB, free: 31.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.336e-05/10.47, allocations: 95.28 kB / 3.777 GB, free: 31.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.1e-07/10.47, allocations: 0 / 3.777 GB, free: 31.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007877/10.47, allocations: 183.8 kB / 3.777 GB, free: 31.06 MB / 442.7 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 () * 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.0008241/10.47, allocations: 0.6479 MB / 3.778 GB, free: 30.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004465/10.48, allocations: 288.8 kB / 3.778 GB, free: 30.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/10.48, allocations: 0 / 3.778 GB, free: 30.12 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001938/10.48, allocations: 153.3 kB / 3.778 GB, free: 29.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/10.48, allocations: 91.39 kB / 3.778 GB, free: 29.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009132/10.48, allocations: 467.6 kB / 3.778 GB, free: 29.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/10.48, allocations: 0.749 MB / 3.779 GB, free: 28.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003531/10.48, allocations: 74.02 kB / 3.779 GB, free: 28.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/10.48, allocations: 35.41 kB / 3.779 GB, free: 28.51 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/10.48, allocations: 0 / 3.779 GB, free: 28.51 MB / 442.7 MB Notification: Performance of Templates: time 0.01623/10.49, allocations: 13.83 MB / 3.793 GB, free: 14.73 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches