Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009823/0.0009822, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 226.5 MB / 245.4 MB, free: 8.062 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009058/0.0009058, allocations: 103 kB / 297.5 MB, free: 6.859 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.000266, allocations: 4 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2154, allocations: 51.3 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.473/5.688, allocations: 3.338 GB / 3.737 GB, free: 137.8 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/5.689, allocations: 71.97 kB / 3.737 GB, free: 137.7 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09787/5.786, allocations: 49.15 MB / 3.785 GB, free: 88.02 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/5.786, allocations: 0 / 3.785 GB, free: 88.02 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/5.786, allocations: 4 kB / 3.785 GB, free: 88.02 MB / 458.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.001523/5.788, allocations: 0.6395 MB / 3.786 GB, free: 87.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/5.788, allocations: 8.031 kB / 3.786 GB, free: 87.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/5.788, allocations: 24.73 kB / 3.786 GB, free: 87.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/5.788, allocations: 220.1 kB / 3.786 GB, free: 87.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/5.788, allocations: 8.703 kB / 3.786 GB, free: 87.03 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/5.788, allocations: 28.25 kB / 3.786 GB, free: 87 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/5.789, allocations: 258 kB / 3.787 GB, free: 86.74 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/5.789, allocations: 192 / 3.787 GB, free: 86.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/5.789, allocations: 15.88 kB / 3.787 GB, free: 86.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/5.789, allocations: 8 kB / 3.787 GB, free: 86.72 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/5.79, allocations: 263.7 kB / 3.787 GB, free: 86.46 MB / 458.7 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.001155/5.791, allocations: 0.6674 MB / 3.788 GB, free: 85.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/5.791, allocations: 221.2 kB / 3.788 GB, free: 85.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/5.792, allocations: 133.6 kB / 3.788 GB, free: 85.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/5.792, allocations: 356.4 kB / 3.788 GB, free: 84.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/5.792, allocations: 42.5 kB / 3.788 GB, free: 84.88 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 1.824e-06/5.792, allocations: 0 / 3.788 GB, free: 84.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.002055/5.794, allocations: 0.6817 MB / 3.789 GB, free: 84.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/5.794, allocations: 81.11 kB / 3.789 GB, free: 84.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/5.794, allocations: 125.7 kB / 3.789 GB, free: 83.96 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/5.794, allocations: 37.64 kB / 3.789 GB, free: 83.92 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.352e-05/5.794, allocations: 112.8 kB / 3.789 GB, free: 83.81 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/5.794, allocations: 122.2 kB / 3.789 GB, free: 83.69 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.091e-05/5.794, allocations: 12 kB / 3.789 GB, free: 83.68 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.592e-05/5.794, allocations: 322.8 kB / 3.79 GB, free: 83.35 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003126/5.795, allocations: 131.9 kB / 3.79 GB, free: 83.22 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/5.795, allocations: 211.6 kB / 3.79 GB, free: 82.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/5.796, allocations: 351.5 kB / 3.79 GB, free: 82.62 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/5.796, allocations: 0 / 3.79 GB, free: 82.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007804/5.796, allocations: 419.9 kB / 3.791 GB, free: 82.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/5.796, allocations: 11.94 kB / 3.791 GB, free: 82.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/5.796, allocations: 0 / 3.791 GB, free: 82.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/5.796, allocations: 4 kB / 3.791 GB, free: 82.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/5.797, allocations: 83.88 kB / 3.791 GB, free: 82.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/5.797, allocations: 7.938 kB / 3.791 GB, free: 82.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/5.797, allocations: 43.97 kB / 3.791 GB, free: 82.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/5.797, allocations: 8 kB / 3.791 GB, free: 82.05 MB / 458.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 () * 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.000107/5.797, allocations: 141.8 kB / 3.791 GB, free: 81.9 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.144e-05/5.797, allocations: 19.75 kB / 3.791 GB, free: 81.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/5.798, allocations: 174.4 kB / 3.791 GB, free: 81.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/5.798, allocations: 7.984 kB / 3.791 GB, free: 81.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/5.798, allocations: 4 kB / 3.791 GB, free: 81.69 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-06/5.798, allocations: 7.938 kB / 3.791 GB, free: 81.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/5.799, allocations: 0.7485 MB / 3.792 GB, free: 80.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/5.799, allocations: 4 kB / 3.792 GB, free: 80.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/5.8, allocations: 83.88 kB / 3.792 GB, free: 80.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/5.8, allocations: 4.156 kB / 3.792 GB, free: 80.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/5.8, allocations: 12 kB / 3.792 GB, free: 80.76 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/5.8, allocations: 384 / 3.792 GB, free: 80.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/5.8, allocations: 7.938 kB / 3.792 GB, free: 80.75 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/5.801, allocations: 0.7152 MB / 3.793 GB, free: 80 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/5.801, allocations: 113 kB / 3.793 GB, free: 79.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/5.801, allocations: 11.94 kB / 3.793 GB, free: 79.86 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/5.801, allocations: 19.89 kB / 3.793 GB, free: 79.84 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/5.801, allocations: 35.83 kB / 3.793 GB, free: 79.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/5.801, allocations: 16 kB / 3.793 GB, free: 79.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.34e-05/5.801, allocations: 99.33 kB / 3.793 GB, free: 79.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/5.801, allocations: 0 / 3.793 GB, free: 79.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007497/5.802, allocations: 195.8 kB / 3.793 GB, free: 79.5 MB / 458.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 () * 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.0009111/5.803, allocations: 0.657 MB / 3.794 GB, free: 78.85 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007779/5.804, allocations: 339.7 kB / 3.794 GB, free: 78.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/5.804, allocations: 4 kB / 3.794 GB, free: 78.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/5.804, allocations: 187.4 kB / 3.794 GB, free: 78.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006731/5.805, allocations: 99.05 kB / 3.795 GB, free: 78.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/5.806, allocations: 0.7399 MB / 3.795 GB, free: 77.46 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/5.806, allocations: 0.7335 MB / 3.796 GB, free: 76.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004237/5.807, allocations: 73.91 kB / 3.796 GB, free: 76.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/5.807, allocations: 35.42 kB / 3.796 GB, free: 76.59 MB / 458.7 MB Notification: Performance of SimCode: time 9.11e-07/5.807, allocations: 0 / 3.796 GB, free: 76.59 MB / 458.7 MB Notification: Performance of Templates: time 0.01493/5.822, allocations: 12.47 MB / 3.808 GB, free: 64.16 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches