Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.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.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000998/0.000998, allocations: 196.1 kB / 18.1 MB, free: 3.742 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007879/0.000788, allocations: 103 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001985/0.0001985, allocations: 4 kB / 358.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1899, allocations: 51.3 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.42/11.61, allocations: 6.206 GB / 6.606 GB, free: 119.8 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/11.61, allocations: 78.02 kB / 6.606 GB, free: 119.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7065/12.31, allocations: 201.9 MB / 6.803 GB, free: 81.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.063e-06/12.31, allocations: 0 / 6.803 GB, free: 81.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/12.31, allocations: 0 / 6.803 GB, free: 81.23 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.007949/12.32, allocations: 1.462 MB / 6.805 GB, free: 80.28 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/12.32, allocations: 7.312 kB / 6.805 GB, free: 80.28 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/12.32, allocations: 25.86 kB / 6.805 GB, free: 80.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/12.32, allocations: 213.9 kB / 6.805 GB, free: 80.06 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/12.32, allocations: 14.67 kB / 6.805 GB, free: 80.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/12.32, allocations: 19.09 kB / 6.805 GB, free: 80.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000752/12.32, allocations: 283.2 kB / 6.805 GB, free: 80.01 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.13e-05/12.32, allocations: 4.125 kB / 6.805 GB, free: 80 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.568e-05/12.32, allocations: 7.875 kB / 6.805 GB, free: 80 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.07e-05/12.32, allocations: 6.594 kB / 6.805 GB, free: 80 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007531/12.32, allocations: 309.9 kB / 6.806 GB, free: 79.99 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.001361/12.33, allocations: 0.7119 MB / 6.806 GB, free: 79.59 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006598/12.33, allocations: 246.4 kB / 6.807 GB, free: 79.54 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/12.33, allocations: 138.4 kB / 6.807 GB, free: 79.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01158/12.34, allocations: 12.44 MB / 6.819 GB, free: 66.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/12.34, allocations: 45.59 kB / 6.819 GB, free: 66.63 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 3.116e-06/12.34, allocations: 0 / 6.819 GB, free: 66.63 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.00281/12.34, allocations: 0.6788 MB / 6.82 GB, free: 66.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/12.34, allocations: 84.98 kB / 6.82 GB, free: 66.45 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/12.34, allocations: 138 kB / 6.82 GB, free: 66.34 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.031e-05/12.34, allocations: 31.33 kB / 6.82 GB, free: 66.31 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/12.34, allocations: 110.1 kB / 6.82 GB, free: 66.21 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.695e-05/12.34, allocations: 122.1 kB / 6.82 GB, free: 66.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/12.34, allocations: 4.812 kB / 6.82 GB, free: 66.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/12.34, allocations: 328.7 kB / 6.82 GB, free: 65.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/12.34, allocations: 140.4 kB / 6.82 GB, free: 65.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004267/12.34, allocations: 203.3 kB / 6.821 GB, free: 65.75 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/12.34, allocations: 358.9 kB / 6.821 GB, free: 65.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/12.34, allocations: 3.875 kB / 6.821 GB, free: 65.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001043/12.34, allocations: 417.4 kB / 6.821 GB, free: 65.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/12.34, allocations: 7.75 kB / 6.821 GB, free: 65.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/12.34, allocations: 3.781 kB / 6.821 GB, free: 65.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/12.34, allocations: 7.547 kB / 6.821 GB, free: 65.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/12.35, allocations: 90.47 kB / 6.821 GB, free: 65.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/12.35, allocations: 11.44 kB / 6.821 GB, free: 65.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/12.35, allocations: 37.08 kB / 6.822 GB, free: 65.57 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/12.35, allocations: 11.38 kB / 6.822 GB, free: 65.57 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.0001388/12.35, allocations: 147.8 kB / 6.822 GB, free: 65.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/12.35, allocations: 27.14 kB / 6.822 GB, free: 65.43 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/12.35, allocations: 195.5 kB / 6.822 GB, free: 65.36 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/12.35, allocations: 4 kB / 6.822 GB, free: 65.36 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/12.35, allocations: 0 / 6.822 GB, free: 65.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.268e-06/12.35, allocations: 11.66 kB / 6.822 GB, free: 65.35 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/12.35, allocations: 0.7623 MB / 6.823 GB, free: 64.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/12.35, allocations: 3.688 kB / 6.823 GB, free: 64.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003889/12.35, allocations: 86.02 kB / 6.823 GB, free: 64.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/12.35, allocations: 0 / 6.823 GB, free: 64.71 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/12.35, allocations: 15.28 kB / 6.823 GB, free: 64.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.702e-06/12.35, allocations: 4 kB / 6.823 GB, free: 64.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/12.35, allocations: 3.938 kB / 6.823 GB, free: 64.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/12.35, allocations: 0.7229 MB / 6.823 GB, free: 64.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/12.35, allocations: 119.6 kB / 6.824 GB, free: 64.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.124e-05/12.35, allocations: 10.56 kB / 6.824 GB, free: 64.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003299/12.35, allocations: 22.69 kB / 6.824 GB, free: 64.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.267e-05/12.35, allocations: 30.84 kB / 6.824 GB, free: 64.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/12.35, allocations: 18.98 kB / 6.824 GB, free: 64 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.517e-05/12.35, allocations: 98.61 kB / 6.824 GB, free: 63.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.01e-07/12.35, allocations: 0 / 6.824 GB, free: 63.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005158/12.36, allocations: 1.132 MB / 6.825 GB, free: 62.89 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.008979/12.36, allocations: 1.624 MB / 6.826 GB, free: 61.61 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001192/12.37, allocations: 356.9 kB / 6.827 GB, free: 61.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/12.37, allocations: 0 / 6.827 GB, free: 61.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004974/12.37, allocations: 179.8 kB / 6.827 GB, free: 61.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008409/12.37, allocations: 104 kB / 6.827 GB, free: 61.24 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02274/12.39, allocations: 12.24 MB / 6.839 GB, free: 52.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/12.39, allocations: 0.7395 MB / 6.84 GB, free: 51.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005218/12.39, allocations: 85.02 kB / 6.84 GB, free: 51.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/12.39, allocations: 46.52 kB / 6.84 GB, free: 51.53 MB / 458.7 MB Notification: Performance of SimCode: time 7.72e-07/12.39, allocations: 0 / 6.84 GB, free: 51.53 MB / 458.7 MB Notification: Performance of Templates: time 0.04808/12.44, allocations: 33.54 MB / 6.873 GB, free: 20.44 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches