Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 181 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009791/0.0009794, allocations: 96.31 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002653/0.0002654, allocations: 7.938 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2142, allocations: 50.42 MB / 401.5 MB, free: 32.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.01/12.22, allocations: 6.123 GB / 6.515 GB, free: 150.5 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/12.22, allocations: 80.7 kB / 6.515 GB, free: 150.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.172/14.39, allocations: 0.6451 GB / 7.16 GB, free: 26.78 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.224e-06/14.39, allocations: 0 / 7.16 GB, free: 26.78 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.392e-05/14.39, allocations: 12 kB / 7.16 GB, free: 26.77 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01251/14.4, allocations: 2.374 MB / 7.163 GB, free: 24.35 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/14.41, allocations: 11.97 kB / 7.163 GB, free: 24.34 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007575/14.41, allocations: 83.23 kB / 7.163 GB, free: 24.26 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/14.41, allocations: 437.1 kB / 7.163 GB, free: 23.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.546e-05/14.41, allocations: 49.25 kB / 7.163 GB, free: 23.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/14.41, allocations: 64 kB / 7.163 GB, free: 23.69 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/14.41, allocations: 0.7833 MB / 7.164 GB, free: 22.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.331e-05/14.41, allocations: 15.8 kB / 7.164 GB, free: 22.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.922e-05/14.41, allocations: 28 kB / 7.164 GB, free: 22.86 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/14.41, allocations: 12 kB / 7.164 GB, free: 22.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001802/14.41, allocations: 0.9928 MB / 7.165 GB, free: 21.85 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01671/14.43, allocations: 12.46 MB / 7.177 GB, free: 7.328 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/14.43, allocations: 0.775 MB / 7.178 GB, free: 6.539 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3486/14.78, allocations: 30.65 MB / 7.208 GB, free: 13.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.542e-05/14.78, allocations: 42.19 kB / 7.208 GB, free: 13.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=78): time 3.035e-06/14.78, allocations: 0 / 7.208 GB, free: 13.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=88): time 0.01071/14.79, allocations: 3.492 MB / 7.211 GB, free: 28.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/14.79, allocations: 65.31 kB / 7.211 GB, free: 28.46 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/14.79, allocations: 323.8 kB / 7.212 GB, free: 28.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.006e-05/14.79, allocations: 42.7 kB / 7.212 GB, free: 28.33 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/14.79, allocations: 237.4 kB / 7.212 GB, free: 28.21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/14.79, allocations: 306.4 kB / 7.212 GB, free: 28.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/14.79, allocations: 17.41 kB / 7.212 GB, free: 28.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/14.79, allocations: 361.5 kB / 7.213 GB, free: 27.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/14.79, allocations: 358.1 kB / 7.213 GB, free: 27.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/14.79, allocations: 477.4 kB / 7.213 GB, free: 27.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/14.79, allocations: 428.1 kB / 7.214 GB, free: 27.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/14.79, allocations: 2.531 kB / 7.214 GB, free: 27.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002287/14.8, allocations: 1.09 MB / 7.215 GB, free: 27.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/14.8, allocations: 8.484 kB / 7.215 GB, free: 27.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/14.8, allocations: 4.703 kB / 7.215 GB, free: 27.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007942/14.8, allocations: 169.3 kB / 7.215 GB, free: 27.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007258/14.8, allocations: 194.5 kB / 7.215 GB, free: 27.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/14.8, allocations: 3.929 MB / 7.219 GB, free: 23.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/14.8, allocations: 70.12 kB / 7.219 GB, free: 23.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.513e-05/14.8, allocations: 50.36 kB / 7.219 GB, free: 23.8 MB / 490.7 MB 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,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.0004085/14.8, allocations: 231.3 kB / 7.219 GB, free: 23.69 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/14.8, allocations: 62.91 kB / 7.219 GB, free: 23.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/14.8, allocations: 1.316 MB / 7.221 GB, free: 23.51 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/14.8, allocations: 13.66 kB / 7.221 GB, free: 23.51 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/14.8, allocations: 0 / 7.221 GB, free: 23.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001856/14.81, allocations: 1.336 MB / 7.222 GB, free: 22.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003992/14.81, allocations: 1.996 MB / 7.224 GB, free: 22.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/14.81, allocations: 7.453 kB / 7.224 GB, free: 22.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006977/14.81, allocations: 172.1 kB / 7.224 GB, free: 22.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001659/14.81, allocations: 300.2 kB / 7.224 GB, free: 22.45 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.818e-05/14.81, allocations: 35.73 kB / 7.224 GB, free: 22.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000799/14.81, allocations: 1.291 MB / 7.226 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/14.81, allocations: 3.906 kB / 7.226 GB, free: 21.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/14.82, allocations: 1.453 MB / 7.227 GB, free: 21.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002529/14.82, allocations: 149.5 kB / 7.227 GB, free: 20.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.022e-05/14.82, allocations: 18.44 kB / 7.227 GB, free: 20.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/14.82, allocations: 54.38 kB / 7.227 GB, free: 20.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.465e-05/14.82, allocations: 62.36 kB / 7.227 GB, free: 20.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.504e-05/14.82, allocations: 50.06 kB / 7.227 GB, free: 20.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003212/14.82, allocations: 277.2 kB / 7.228 GB, free: 20.81 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.914e-06/14.82, allocations: 0 / 7.228 GB, free: 20.81 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009214/14.83, allocations: 2.279 MB / 7.23 GB, free: 20.81 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01402/14.84, allocations: 3.178 MB / 7.233 GB, free: 20.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002213/14.84, allocations: 1.176 MB / 7.234 GB, free: 20.42 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/14.84, allocations: 0 / 7.234 GB, free: 20.42 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000843/14.84, allocations: 0.495 MB / 7.235 GB, free: 20.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/14.84, allocations: 364.9 kB / 7.235 GB, free: 20.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/14.85, allocations: 2.006 MB / 7.237 GB, free: 19.69 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004568/14.85, allocations: 0.9339 MB / 7.238 GB, free: 18.98 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008056/14.85, allocations: 209.4 kB / 7.238 GB, free: 18.97 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/14.85, allocations: 78.88 kB / 7.238 GB, free: 18.96 MB / 490.7 MB Notification: Performance of SimCode: time 8.82e-07/14.85, allocations: 0 / 7.238 GB, free: 18.96 MB / 490.7 MB Notification: Performance of Templates: time 0.07732/14.93, allocations: 67.76 MB / 7.304 GB, free: 16.04 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches