Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001886, allocations: 180.8 kB / 16.38 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.299/1.299, allocations: 223.2 MB / 240.3 MB, free: 10.14 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.0008248/0.0008247, allocations: 89.14 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002372/0.0002372, allocations: 7.984 kB / 351.1 MB, free: 15.12 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2112, allocations: 50.41 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.18/12.39, allocations: 6.123 GB / 6.515 GB, free: 149.2 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/12.39, allocations: 80.58 kB / 6.515 GB, free: 149.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.743/15.14, allocations: 0.8131 GB / 7.328 GB, free: 35.84 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.984e-06/15.14, allocations: 3.938 kB / 7.328 GB, free: 35.84 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.424e-05/15.14, allocations: 11.98 kB / 7.328 GB, free: 35.82 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.01252/15.15, allocations: 2.758 MB / 7.331 GB, free: 33.01 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/15.15, allocations: 12.03 kB / 7.331 GB, free: 33 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000393/15.15, allocations: 63.47 kB / 7.331 GB, free: 32.94 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/15.15, allocations: 362.6 kB / 7.331 GB, free: 32.54 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/15.15, allocations: 29 kB / 7.331 GB, free: 32.52 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/15.15, allocations: 44 kB / 7.331 GB, free: 32.47 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/15.15, allocations: 0.5647 MB / 7.332 GB, free: 31.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/15.15, allocations: 3.984 kB / 7.332 GB, free: 31.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/15.15, allocations: 28 kB / 7.332 GB, free: 31.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/15.15, allocations: 8 kB / 7.332 GB, free: 31.86 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/15.15, allocations: 0.7221 MB / 7.333 GB, free: 31.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/15.16, allocations: 11.64 MB / 7.344 GB, free: 17.43 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/15.17, allocations: 0.535 MB / 7.345 GB, free: 16.89 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02142/15.19, allocations: 20.91 MB / 7.365 GB, free: 7.832 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.042e-05/15.19, allocations: 42.98 kB / 7.365 GB, free: 7.781 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 5.971e-06/15.19, allocations: 0 / 7.365 GB, free: 7.781 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.00722/15.19, allocations: 2.163 MB / 7.367 GB, free: 5.531 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/15.19, allocations: 55.97 kB / 7.367 GB, free: 5.465 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/15.19, allocations: 286.1 kB / 7.368 GB, free: 5.176 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.427e-05/15.2, allocations: 37.7 kB / 7.368 GB, free: 5.133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/15.2, allocations: 208.3 kB / 7.368 GB, free: 4.926 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001712/15.2, allocations: 189.2 kB / 7.368 GB, free: 4.738 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.072e-05/15.2, allocations: 12 kB / 7.368 GB, free: 4.727 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/15.2, allocations: 350.8 kB / 7.368 GB, free: 4.375 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/15.2, allocations: 237 kB / 7.369 GB, free: 4.145 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006224/15.2, allocations: 327.3 kB / 7.369 GB, free: 3.789 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000615/15.2, allocations: 280.7 kB / 7.369 GB, free: 3.512 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/15.2, allocations: 4 kB / 7.369 GB, free: 3.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00177/15.2, allocations: 0.7438 MB / 7.37 GB, free: 2.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/15.2, allocations: 4 kB / 7.37 GB, free: 2.746 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/15.2, allocations: 4 kB / 7.37 GB, free: 2.742 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005224/15.2, allocations: 110.8 kB / 7.37 GB, free: 2.625 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005168/15.2, allocations: 127.6 kB / 7.37 GB, free: 2.504 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3307/15.53, allocations: 3.279 MB / 7.373 GB, free: 59.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006696/15.53, allocations: 39.72 kB / 7.373 GB, free: 59.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/15.53, allocations: 35.59 kB / 7.373 GB, free: 59.38 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 (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.0003795/15.53, allocations: 193 kB / 7.374 GB, free: 59.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004014/15.53, allocations: 51.06 kB / 7.374 GB, free: 59.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/15.53, allocations: 0.8358 MB / 7.374 GB, free: 59.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/15.53, allocations: 6.406 kB / 7.374 GB, free: 59.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/15.53, allocations: 0 / 7.374 GB, free: 59.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/15.54, allocations: 0.7756 MB / 7.375 GB, free: 58.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/15.54, allocations: 1.328 MB / 7.376 GB, free: 58.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/15.54, allocations: 11.09 kB / 7.376 GB, free: 58.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004547/15.54, allocations: 99.03 kB / 7.377 GB, free: 58.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008899/15.54, allocations: 148.6 kB / 7.377 GB, free: 58.47 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/15.54, allocations: 23.38 kB / 7.377 GB, free: 58.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003004/15.54, allocations: 0.6504 MB / 7.377 GB, free: 57.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/15.54, allocations: 0 / 7.377 GB, free: 57.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/15.54, allocations: 0.9473 MB / 7.378 GB, free: 57.67 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001841/15.54, allocations: 133.9 kB / 7.378 GB, free: 57.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/15.54, allocations: 10.88 kB / 7.378 GB, free: 57.56 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004387/15.54, allocations: 32.83 kB / 7.378 GB, free: 57.56 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/15.54, allocations: 36.47 kB / 7.379 GB, free: 57.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/15.54, allocations: 34.83 kB / 7.379 GB, free: 57.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002673/15.54, allocations: 255.6 kB / 7.379 GB, free: 57.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/15.54, allocations: 2.25 kB / 7.379 GB, free: 57.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01107/15.55, allocations: 1.951 MB / 7.381 GB, free: 57.48 MB / 490.7 MB 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.01518/15.57, allocations: 2.924 MB / 7.384 GB, free: 57.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001874/15.57, allocations: 0.8165 MB / 7.384 GB, free: 57.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/15.57, allocations: 4.391 kB / 7.384 GB, free: 57.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005847/15.57, allocations: 305 kB / 7.385 GB, free: 57.08 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/15.57, allocations: 253.8 kB / 7.385 GB, free: 57.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/15.57, allocations: 1.311 MB / 7.386 GB, free: 56.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/15.57, allocations: 0.8467 MB / 7.387 GB, free: 55.87 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005839/15.58, allocations: 144.9 kB / 7.387 GB, free: 55.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/15.58, allocations: 64.73 kB / 7.387 GB, free: 55.85 MB / 490.7 MB Notification: Performance of SimCode: time 1.493e-06/15.58, allocations: 0 / 7.387 GB, free: 55.85 MB / 490.7 MB Notification: Performance of Templates: time 0.07664/15.65, allocations: 59.07 MB / 7.445 GB, free: 53.97 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches