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.001127/0.00113, allocations: 198.1 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.188/1.188, allocations: 227.2 MB / 245 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008569/0.0008569, allocations: 104.8 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002397/0.0002397, allocations: 4 kB / 357.9 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2164, allocations: 51.48 MB / 409.4 MB, free: 26.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.597/5.814, allocations: 3.33 GB / 3.73 GB, free: 33.91 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001873/5.814, allocations: 72.14 kB / 3.73 GB, free: 33.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2969/6.111, allocations: 48.93 MB / 3.778 GB, free: 148.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.913e-06/6.111, allocations: 0 / 3.778 GB, free: 148.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/6.111, allocations: 3.312 kB / 3.778 GB, free: 148.4 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.001581/6.113, allocations: 0.6423 MB / 3.779 GB, free: 147.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/6.113, allocations: 12.28 kB / 3.779 GB, free: 147.9 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/6.113, allocations: 19.47 kB / 3.779 GB, free: 147.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/6.113, allocations: 211.4 kB / 3.779 GB, free: 147.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/6.113, allocations: 11.45 kB / 3.779 GB, free: 147.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/6.113, allocations: 22.27 kB / 3.779 GB, free: 147.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004897/6.114, allocations: 254.9 kB / 3.779 GB, free: 147.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/6.114, allocations: 2 kB / 3.779 GB, free: 147.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/6.114, allocations: 9.812 kB / 3.779 GB, free: 147.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/6.114, allocations: 6.562 kB / 3.779 GB, free: 147.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005276/6.114, allocations: 265 kB / 3.779 GB, free: 147.7 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.001213/6.115, allocations: 0.68 MB / 3.78 GB, free: 147.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/6.116, allocations: 221 kB / 3.78 GB, free: 147.2 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/6.116, allocations: 362.2 kB / 3.781 GB, free: 146.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/6.116, allocations: 40.59 kB / 3.781 GB, free: 146.8 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 2.445e-06/6.116, allocations: 3.344 kB / 3.781 GB, free: 146.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=36): time 0.00221/6.118, allocations: 0.6688 MB / 3.781 GB, free: 146.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/6.119, allocations: 83.55 kB / 3.781 GB, free: 146.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.535e-05/6.119, allocations: 117.7 kB / 3.781 GB, free: 146.6 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/6.119, allocations: 28.33 kB / 3.782 GB, free: 146.5 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/6.119, allocations: 107.4 kB / 3.782 GB, free: 146.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.2e-05/6.119, allocations: 123.2 kB / 3.782 GB, free: 146.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.081e-05/6.119, allocations: 9.406 kB / 3.782 GB, free: 146.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.745e-05/6.119, allocations: 334.6 kB / 3.782 GB, free: 146.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/6.119, allocations: 136.2 kB / 3.782 GB, free: 146.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003271/6.119, allocations: 203.8 kB / 3.782 GB, free: 146 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/6.12, allocations: 153.9 kB / 3.783 GB, free: 146 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/6.12, allocations: 4.594 kB / 3.783 GB, free: 146 MB / 458.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007893/6.121, allocations: 406.6 kB / 3.783 GB, free: 145.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/6.121, allocations: 8.75 kB / 3.783 GB, free: 145.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/6.121, allocations: 3.594 kB / 3.783 GB, free: 145.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/6.121, allocations: 2.688 kB / 3.783 GB, free: 145.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004777/6.121, allocations: 86.27 kB / 3.783 GB, free: 145.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/6.121, allocations: 11.19 kB / 3.783 GB, free: 145.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003229/6.122, allocations: 31.55 kB / 3.783 GB, free: 145.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/6.122, allocations: 16.5 kB / 3.783 GB, free: 145.9 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.0001135/6.122, allocations: 146.9 kB / 3.783 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/6.122, allocations: 14.25 kB / 3.783 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003306/6.122, allocations: 184.6 kB / 3.783 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/6.122, allocations: 3.844 kB / 3.783 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/6.122, allocations: 0 / 3.783 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/6.122, allocations: 2.875 kB / 3.783 GB, free: 145.8 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001353/6.123, allocations: 0.7641 MB / 3.784 GB, free: 145.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/6.123, allocations: 3.938 kB / 3.784 GB, free: 145.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004168/6.124, allocations: 85.52 kB / 3.784 GB, free: 145.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/6.124, allocations: 3.938 kB / 3.784 GB, free: 145.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/6.124, allocations: 10.73 kB / 3.784 GB, free: 145.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/6.124, allocations: 7.234 kB / 3.784 GB, free: 145.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/6.124, allocations: 1.781 kB / 3.784 GB, free: 145.4 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/6.125, allocations: 0.7761 MB / 3.785 GB, free: 145 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/6.125, allocations: 120.2 kB / 3.785 GB, free: 144.9 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.843e-05/6.125, allocations: 10.28 kB / 3.785 GB, free: 144.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003459/6.126, allocations: 20.55 kB / 3.785 GB, free: 144.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/6.126, allocations: 28.83 kB / 3.785 GB, free: 144.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.734e-05/6.126, allocations: 15.5 kB / 3.785 GB, free: 144.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.035e-05/6.126, allocations: 94.8 kB / 3.785 GB, free: 144.9 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/6.126, allocations: 2.25 kB / 3.785 GB, free: 144.9 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000704/6.126, allocations: 196.4 kB / 3.786 GB, free: 144.9 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.0009873/6.127, allocations: 0.667 MB / 3.786 GB, free: 144.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0007609/6.128, allocations: 335.5 kB / 3.786 GB, free: 144.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/6.128, allocations: 5.094 kB / 3.786 GB, free: 144.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003504/6.129, allocations: 183 kB / 3.787 GB, free: 144.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/6.129, allocations: 99.11 kB / 3.787 GB, free: 144.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/6.13, allocations: 0.7376 MB / 3.787 GB, free: 144.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/6.131, allocations: 0.7351 MB / 3.788 GB, free: 143.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003948/6.131, allocations: 77.12 kB / 3.788 GB, free: 143.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/6.131, allocations: 36.75 kB / 3.788 GB, free: 143.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.303e-06/6.131, allocations: 0 / 3.788 GB, free: 143.6 MB / 458.7 MB Notification: Performance of Templates: time 0.01548/6.147, allocations: 12.34 MB / 3.8 GB, free: 142.7 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/jenkins/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