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.001478/0.001478, allocations: 201.2 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.301/1.301, allocations: 226.5 MB / 245.4 MB, free: 6.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007558/0.0007558, allocations: 106.4 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002117/0.0002119, allocations: 7.984 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1975, allocations: 51.29 MB / 409.4 MB, free: 27.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.1/11.3, allocations: 6.124 GB / 6.524 GB, free: 12.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/11.3, allocations: 75.97 kB / 6.524 GB, free: 12.13 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.813/14.11, allocations: 0.7971 GB / 7.321 GB, free: 28.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.314e-06/14.11, allocations: 0 / 7.321 GB, free: 28.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.056e-05/14.11, allocations: 7.531 kB / 7.321 GB, free: 28.57 MB / 474.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.01115/14.12, allocations: 2.76 MB / 7.324 GB, free: 26.98 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/14.12, allocations: 10.81 kB / 7.324 GB, free: 26.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004679/14.12, allocations: 67.33 kB / 7.324 GB, free: 26.95 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000659/14.12, allocations: 369.7 kB / 7.324 GB, free: 26.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/14.12, allocations: 29.16 kB / 7.324 GB, free: 26.71 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/14.12, allocations: 57.34 kB / 7.324 GB, free: 26.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/14.13, allocations: 0.5703 MB / 7.325 GB, free: 26.66 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/14.13, allocations: 3.281 kB / 7.325 GB, free: 26.66 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.029e-05/14.13, allocations: 18.31 kB / 7.325 GB, free: 26.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/14.13, allocations: 13.5 kB / 7.325 GB, free: 26.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/14.13, allocations: 0.7226 MB / 7.326 GB, free: 26.65 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/14.14, allocations: 11.61 MB / 7.337 GB, free: 15.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/14.14, allocations: 0.53 MB / 7.338 GB, free: 15.92 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003494/14.14, allocations: 261.5 kB / 7.338 GB, free: 15.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02394/14.17, allocations: 20.91 MB / 7.358 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/14.17, allocations: 44.81 kB / 7.358 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=50): time 3.226e-06/14.17, allocations: 4 kB / 7.358 GB, free: 26.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=55): time 0.005739/14.17, allocations: 2.154 MB / 7.36 GB, free: 25.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/14.17, allocations: 62.84 kB / 7.361 GB, free: 25.93 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003402/14.17, allocations: 323 kB / 7.361 GB, free: 25.81 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.584e-05/14.17, allocations: 39.27 kB / 7.361 GB, free: 25.78 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000107/14.17, allocations: 195 kB / 7.361 GB, free: 25.65 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/14.17, allocations: 198.3 kB / 7.361 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/14.17, allocations: 11.56 kB / 7.361 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001252/14.17, allocations: 349.1 kB / 7.362 GB, free: 25.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/14.17, allocations: 234 kB / 7.362 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/14.17, allocations: 332 kB / 7.362 GB, free: 25.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009902/14.17, allocations: 0.5891 MB / 7.363 GB, free: 25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/14.17, allocations: 0 / 7.363 GB, free: 25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001548/14.18, allocations: 0.7289 MB / 7.363 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/14.18, allocations: 11.03 kB / 7.363 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/14.18, allocations: 3.844 kB / 7.363 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004233/14.18, allocations: 107.4 kB / 7.364 GB, free: 24.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/14.18, allocations: 126.1 kB / 7.364 GB, free: 24.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/14.18, allocations: 3.281 MB / 7.367 GB, free: 21.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/14.18, allocations: 36.89 kB / 7.367 GB, free: 21.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/14.18, allocations: 37.36 kB / 7.367 GB, free: 21.73 MB / 0.4948 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 () * Number of clocked 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.0002575/14.18, allocations: 194.5 kB / 7.367 GB, free: 21.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/14.18, allocations: 43.09 kB / 7.367 GB, free: 21.59 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001409/14.18, allocations: 0.8315 MB / 7.368 GB, free: 21.45 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/14.18, allocations: 7.125 kB / 7.368 GB, free: 21.45 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/14.18, allocations: 3.938 kB / 7.368 GB, free: 21.45 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/14.18, allocations: 0.7662 MB / 7.369 GB, free: 21.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/14.18, allocations: 1.33 MB / 7.37 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/14.18, allocations: 0 / 7.37 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/14.18, allocations: 104.7 kB / 7.37 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008046/14.19, allocations: 151.7 kB / 7.37 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.871e-05/14.19, allocations: 25.44 kB / 7.37 GB, free: 20.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003802/14.19, allocations: 0.6502 MB / 7.371 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/14.19, allocations: 7.562 kB / 7.371 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/14.19, allocations: 0.9237 MB / 7.372 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/14.19, allocations: 125.2 kB / 7.372 GB, free: 19.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/14.19, allocations: 18.12 kB / 7.372 GB, free: 19.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003676/14.19, allocations: 37.42 kB / 7.372 GB, free: 19.79 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/14.19, allocations: 40.39 kB / 7.372 GB, free: 19.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.752e-05/14.19, allocations: 32.73 kB / 7.372 GB, free: 19.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002436/14.19, allocations: 255 kB / 7.372 GB, free: 19.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/14.19, allocations: 0 / 7.372 GB, free: 19.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007776/14.2, allocations: 1.961 MB / 7.374 GB, free: 19.32 MB / 0.4948 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 () * Number of clocked 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.01082/14.21, allocations: 2.94 MB / 7.377 GB, free: 18.61 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001572/14.21, allocations: 0.8018 MB / 7.378 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/14.21, allocations: 3.25 kB / 7.378 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004811/14.21, allocations: 305.1 kB / 7.378 GB, free: 18.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/14.21, allocations: 267.2 kB / 7.378 GB, free: 18.32 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/14.21, allocations: 1.319 MB / 7.38 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/14.21, allocations: 0.8342 MB / 7.381 GB, free: 16.98 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005282/14.21, allocations: 146.3 kB / 7.381 GB, free: 16.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/14.21, allocations: 62.03 kB / 7.381 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of SimCode: time 4.2e-07/14.21, allocations: 4 kB / 7.381 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.3406/14.55, allocations: 62.26 MB / 7.442 GB, free: 58.72 MB / 0.4948 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/jenkins1/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