Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.001144, allocations: 169.2 kB / 13.64 MB, free: 1.672 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.596/1.596, allocations: 221.3 MB / 235.5 MB, free: 2.934 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.001084/0.001085, allocations: 84.11 kB / 286.5 MB, free: 244 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.538e-05, allocations: 4 kB / 343.8 MB, free: 4.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1517, allocations: 50.42 MB / 394.2 MB, free: 1.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19/19.15, allocations: 6.205 GB / 6.59 GB, free: 96.64 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/19.15, allocations: 79.73 kB / 6.59 GB, free: 96.64 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8707/20.02, allocations: 202 MB / 6.787 GB, free: 71.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.493e-06/20.02, allocations: 0 / 6.787 GB, free: 71.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/20.02, allocations: 2.688 kB / 6.787 GB, free: 71.41 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.007047/20.03, allocations: 1.452 MB / 6.789 GB, free: 70.52 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/20.03, allocations: 8.844 kB / 6.789 GB, free: 70.52 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/20.03, allocations: 22.97 kB / 6.789 GB, free: 70.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/20.03, allocations: 215.3 kB / 6.789 GB, free: 70.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/20.03, allocations: 18.05 kB / 6.789 GB, free: 70.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/20.03, allocations: 18.19 kB / 6.789 GB, free: 70.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/20.03, allocations: 259.6 kB / 6.789 GB, free: 70.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/20.03, allocations: 3.969 kB / 6.789 GB, free: 70.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/20.03, allocations: 9.062 kB / 6.789 GB, free: 70.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/20.03, allocations: 11.31 kB / 6.789 GB, free: 70.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/20.03, allocations: 271.7 kB / 6.79 GB, free: 70.24 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.00124/20.03, allocations: 0.7178 MB / 6.79 GB, free: 69.84 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005508/20.03, allocations: 241.4 kB / 6.79 GB, free: 69.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/20.03, allocations: 114.6 kB / 6.791 GB, free: 69.77 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01156/20.04, allocations: 12.46 MB / 6.803 GB, free: 56.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/20.04, allocations: 42.73 kB / 6.803 GB, free: 56.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 3.767e-06/20.04, allocations: 0 / 6.803 GB, free: 56.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.001879/20.05, allocations: 0.5104 MB / 6.803 GB, free: 56.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/20.05, allocations: 88.52 kB / 6.803 GB, free: 56.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.788e-05/20.05, allocations: 119.2 kB / 6.803 GB, free: 56.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/20.05, allocations: 32.08 kB / 6.803 GB, free: 56.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.712e-05/20.05, allocations: 111.3 kB / 6.804 GB, free: 56.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.69e-05/20.05, allocations: 126 kB / 6.804 GB, free: 56.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.955e-05/20.05, allocations: 3.688 kB / 6.804 GB, free: 56.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.559e-05/20.05, allocations: 330.8 kB / 6.804 GB, free: 56.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001744/20.05, allocations: 110.3 kB / 6.804 GB, free: 56.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/20.05, allocations: 188.9 kB / 6.804 GB, free: 56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/20.05, allocations: 132.3 kB / 6.804 GB, free: 56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/20.05, allocations: 0 / 6.804 GB, free: 56 MB / 442.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006642/20.05, allocations: 370.2 kB / 6.805 GB, free: 55.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/20.05, allocations: 6.406 kB / 6.805 GB, free: 55.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/20.05, allocations: 3.812 kB / 6.805 GB, free: 55.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/20.05, allocations: 7.656 kB / 6.805 GB, free: 55.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/20.05, allocations: 97.83 kB / 6.805 GB, free: 55.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/20.05, allocations: 3.188 kB / 6.805 GB, free: 55.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002849/20.05, allocations: 32.23 kB / 6.805 GB, free: 55.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/20.05, allocations: 17.41 kB / 6.805 GB, free: 55.92 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 9.265e-05/20.05, allocations: 126.8 kB / 6.805 GB, free: 55.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/20.05, allocations: 22.44 kB / 6.805 GB, free: 55.8 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005061/20.05, allocations: 202.7 kB / 6.805 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/20.05, allocations: 10.2 kB / 6.805 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/20.05, allocations: 0 / 6.805 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/20.05, allocations: 0 / 6.805 GB, free: 55.75 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001113/20.05, allocations: 0.7193 MB / 6.806 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/20.05, allocations: 7.797 kB / 6.806 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/20.05, allocations: 78.59 kB / 6.806 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/20.05, allocations: 3.969 kB / 6.806 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.065e-05/20.05, allocations: 10.92 kB / 6.806 GB, free: 55.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/20.05, allocations: 7.844 kB / 6.806 GB, free: 55.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/20.05, allocations: 3.938 kB / 6.806 GB, free: 55.37 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008857/20.05, allocations: 0.712 MB / 6.807 GB, free: 55 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/20.05, allocations: 130.3 kB / 6.807 GB, free: 54.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/20.05, allocations: 7.906 kB / 6.807 GB, free: 54.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000313/20.05, allocations: 23.28 kB / 6.807 GB, free: 54.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/20.05, allocations: 30.92 kB / 6.807 GB, free: 54.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/20.05, allocations: 15.83 kB / 6.807 GB, free: 54.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.687e-05/20.05, allocations: 96.42 kB / 6.807 GB, free: 54.81 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/20.05, allocations: 0 / 6.807 GB, free: 54.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005128/20.06, allocations: 1.12 MB / 6.808 GB, free: 54.61 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.007561/20.07, allocations: 1.608 MB / 6.81 GB, free: 54.23 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007518/20.07, allocations: 297 kB / 6.81 GB, free: 54.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/20.07, allocations: 0 / 6.81 GB, free: 54.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002686/20.07, allocations: 159.3 kB / 6.81 GB, free: 54.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/20.07, allocations: 93.2 kB / 6.81 GB, free: 54.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02134/20.09, allocations: 12.37 MB / 6.822 GB, free: 52.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/20.09, allocations: 0.7354 MB / 6.823 GB, free: 51.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004947/20.09, allocations: 84.36 kB / 6.823 GB, free: 51.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/20.09, allocations: 41.38 kB / 6.823 GB, free: 51.66 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/20.09, allocations: 3.719 kB / 6.823 GB, free: 51.66 MB / 442.7 MB Notification: Performance of Templates: time 0.0395/20.13, allocations: 32.76 MB / 6.855 GB, free: 24.7 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches