Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001563/0.001563, allocations: 197.4 kB / 14.17 MB, free: 1.148 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001134, allocations: 93.61 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.896e-05/4.899e-05, allocations: 4 kB / 350.5 MB, free: 2.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1425, allocations: 51.49 MB / 402 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.83/16.98, allocations: 6.124 GB / 6.516 GB, free: 44.38 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/16.98, allocations: 74.42 kB / 6.516 GB, free: 44.35 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.438/20.41, allocations: 0.8123 GB / 7.329 GB, free: 36.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.615e-06/20.41, allocations: 1.281 kB / 7.329 GB, free: 36.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.986e-05/20.41, allocations: 13.48 kB / 7.329 GB, free: 36.94 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01481/20.43, allocations: 2.735 MB / 7.331 GB, free: 35.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/20.43, allocations: 11.25 kB / 7.331 GB, free: 35.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005421/20.43, allocations: 62.59 kB / 7.332 GB, free: 35.59 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008509/20.43, allocations: 361.3 kB / 7.332 GB, free: 35.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/20.43, allocations: 30.66 kB / 7.332 GB, free: 35.36 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/20.43, allocations: 45 kB / 7.332 GB, free: 35.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/20.43, allocations: 0.5603 MB / 7.333 GB, free: 35.32 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/20.43, allocations: 0 / 7.333 GB, free: 35.32 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.758e-05/20.43, allocations: 19.66 kB / 7.333 GB, free: 35.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/20.43, allocations: 14.41 kB / 7.333 GB, free: 35.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001341/20.43, allocations: 0.7083 MB / 7.333 GB, free: 35.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01417/20.45, allocations: 11.66 MB / 7.345 GB, free: 24.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/20.45, allocations: 0.5217 MB / 7.345 GB, free: 24.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003079/20.45, allocations: 246.7 kB / 7.345 GB, free: 24.67 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0255/20.48, allocations: 20.98 MB / 7.366 GB, free: 19.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.287e-05/20.48, allocations: 38.09 kB / 7.366 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 2.865e-06/20.48, allocations: 0 / 7.366 GB, free: 19.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.006078/20.48, allocations: 1.814 MB / 7.368 GB, free: 19.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/20.48, allocations: 58.69 kB / 7.368 GB, free: 19.06 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/20.48, allocations: 282 kB / 7.368 GB, free: 18.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/20.48, allocations: 38.11 kB / 7.368 GB, free: 18.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/20.48, allocations: 197.5 kB / 7.368 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/20.48, allocations: 198 kB / 7.368 GB, free: 18.67 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/20.48, allocations: 9.188 kB / 7.368 GB, free: 18.67 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001497/20.48, allocations: 352.5 kB / 7.369 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003494/20.48, allocations: 225.1 kB / 7.369 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005668/20.48, allocations: 325.3 kB / 7.369 GB, free: 18.27 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005475/20.48, allocations: 277.6 kB / 7.37 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/20.48, allocations: 0 / 7.37 GB, free: 18.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001622/20.49, allocations: 0.7339 MB / 7.37 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/20.49, allocations: 6.656 kB / 7.37 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/20.49, allocations: 7.438 kB / 7.37 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004939/20.49, allocations: 110.1 kB / 7.37 GB, free: 18.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/20.49, allocations: 123.6 kB / 7.37 GB, free: 18.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/20.49, allocations: 3.276 MB / 7.374 GB, free: 31.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/20.49, allocations: 35.25 kB / 7.374 GB, free: 31.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.26e-05/20.49, allocations: 38.73 kB / 7.374 GB, free: 31.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001895/20.49, allocations: 143.7 kB / 7.374 GB, free: 30.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002697/20.49, allocations: 49.12 kB / 7.374 GB, free: 30.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/20.49, allocations: 0.8402 MB / 7.375 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/20.49, allocations: 3.062 kB / 7.375 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/20.49, allocations: 0 / 7.375 GB, free: 30.79 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/20.49, allocations: 0.7642 MB / 7.375 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/20.5, allocations: 1.317 MB / 7.377 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/20.5, allocations: 2.5 kB / 7.377 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/20.5, allocations: 101.9 kB / 7.377 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009007/20.5, allocations: 157 kB / 7.377 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.254e-05/20.5, allocations: 20.31 kB / 7.377 GB, free: 30.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004807/20.5, allocations: 0.6544 MB / 7.378 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/20.5, allocations: 6.328 kB / 7.378 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/20.5, allocations: 0.9282 MB / 7.379 GB, free: 29.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/20.5, allocations: 123.5 kB / 7.379 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/20.5, allocations: 18.84 kB / 7.379 GB, free: 29.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/20.5, allocations: 42.28 kB / 7.379 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.973e-05/20.5, allocations: 35.02 kB / 7.379 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/20.5, allocations: 34.92 kB / 7.379 GB, free: 29.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003151/20.5, allocations: 249 kB / 7.379 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/20.5, allocations: 0 / 7.379 GB, free: 29.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009917/20.51, allocations: 1.972 MB / 7.381 GB, free: 28.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01591/20.53, allocations: 2.936 MB / 7.384 GB, free: 28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002123/20.53, allocations: 0.8046 MB / 7.385 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/20.53, allocations: 0 / 7.385 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005594/20.53, allocations: 299.1 kB / 7.385 GB, free: 27.73 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/20.53, allocations: 266.3 kB / 7.385 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/20.53, allocations: 0.8494 MB / 7.386 GB, free: 27.42 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003809/20.53, allocations: 0.846 MB / 7.387 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005423/20.53, allocations: 141.4 kB / 7.387 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/20.53, allocations: 56.94 kB / 7.387 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/20.53, allocations: 4 kB / 7.387 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of Templates: time 0.07729/20.61, allocations: 62.13 MB / 7.448 GB, free: 19.56 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches