Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009697/0.0009697, allocations: 182.5 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.4 MB / 224.2 MB, free: 9.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007517/0.0007517, allocations: 99.66 kB / 272.5 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003149, allocations: 8 kB / 329.4 MB, free: 15.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.218, allocations: 47.58 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.74/12.95, allocations: 6.598 GB / 6.966 GB, free: 90.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002956/12.95, allocations: 78.45 kB / 6.966 GB, free: 90.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.128/16.08, allocations: 0.8207 GB / 7.787 GB, free: 24.62 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.866e-06/16.08, allocations: 0 / 7.787 GB, free: 24.62 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.87e-05/16.08, allocations: 10.88 kB / 7.787 GB, free: 24.62 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01435/16.1, allocations: 2.922 MB / 7.79 GB, free: 23.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/16.1, allocations: 10.75 kB / 7.79 GB, free: 23.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005191/16.1, allocations: 57.77 kB / 7.79 GB, free: 23.12 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006784/16.1, allocations: 375.6 kB / 7.79 GB, free: 22.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/16.1, allocations: 31.22 kB / 7.79 GB, free: 22.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/16.1, allocations: 42.69 kB / 7.79 GB, free: 22.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/16.1, allocations: 0.5702 MB / 7.791 GB, free: 22.84 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/16.1, allocations: 0 / 7.791 GB, free: 22.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-05/16.1, allocations: 17.75 kB / 7.791 GB, free: 22.84 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/16.1, allocations: 10.41 kB / 7.791 GB, free: 22.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/16.1, allocations: 0.7265 MB / 7.792 GB, free: 22.83 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/16.12, allocations: 11.62 MB / 7.803 GB, free: 28.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/16.12, allocations: 0.5268 MB / 7.804 GB, free: 28.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/16.12, allocations: 250 kB / 7.804 GB, free: 28.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02519/16.14, allocations: 20.93 MB / 7.824 GB, free: 22.92 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.043e-05/16.14, allocations: 45.97 kB / 7.824 GB, free: 22.87 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 3.567e-06/16.14, allocations: 4 kB / 7.824 GB, free: 22.87 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.00698/16.15, allocations: 2.155 MB / 7.826 GB, free: 22.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/16.15, allocations: 54.31 kB / 7.826 GB, free: 22.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/16.15, allocations: 329.8 kB / 7.827 GB, free: 22.09 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.601e-05/16.15, allocations: 35.58 kB / 7.827 GB, free: 22.06 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/16.15, allocations: 201 kB / 7.827 GB, free: 21.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/16.15, allocations: 188.2 kB / 7.827 GB, free: 21.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/16.15, allocations: 10.94 kB / 7.827 GB, free: 21.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/16.15, allocations: 348.2 kB / 7.828 GB, free: 21.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/16.15, allocations: 231.3 kB / 7.828 GB, free: 21.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/16.15, allocations: 334.6 kB / 7.828 GB, free: 21.4 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/16.15, allocations: 0.5894 MB / 7.829 GB, free: 21.29 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/16.15, allocations: 0 / 7.829 GB, free: 21.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00173/16.15, allocations: 0.7421 MB / 7.829 GB, free: 21.18 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/16.15, allocations: 3.75 kB / 7.829 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/16.15, allocations: 3.969 kB / 7.829 GB, free: 21.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004918/16.15, allocations: 113.4 kB / 7.829 GB, free: 21.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/16.16, allocations: 125.5 kB / 7.83 GB, free: 21.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002403/16.16, allocations: 3.266 MB / 7.833 GB, free: 18.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/16.16, allocations: 37.89 kB / 7.833 GB, free: 18.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/16.16, allocations: 43.12 kB / 7.833 GB, free: 18.02 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.0003985/16.16, allocations: 191.3 kB / 7.833 GB, free: 17.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000307/16.16, allocations: 40.81 kB / 7.833 GB, free: 17.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/16.16, allocations: 0.8479 MB / 7.834 GB, free: 17.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/16.16, allocations: 7.375 kB / 7.834 GB, free: 17.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/16.16, allocations: 0 / 7.834 GB, free: 17.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001218/16.16, allocations: 0.7715 MB / 7.835 GB, free: 17.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/16.16, allocations: 1.322 MB / 7.836 GB, free: 17.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/16.16, allocations: 3.234 kB / 7.836 GB, free: 17.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/16.16, allocations: 108.8 kB / 7.836 GB, free: 17.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009351/16.17, allocations: 153.1 kB / 7.836 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/16.17, allocations: 17.66 kB / 7.836 GB, free: 17 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004483/16.17, allocations: 0.6517 MB / 7.837 GB, free: 16.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/16.17, allocations: 1.75 kB / 7.837 GB, free: 16.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/16.17, allocations: 0.9257 MB / 7.838 GB, free: 16.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/16.17, allocations: 130.1 kB / 7.838 GB, free: 16.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.749e-05/16.17, allocations: 11.09 kB / 7.838 GB, free: 16.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/16.17, allocations: 33.84 kB / 7.838 GB, free: 16.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/16.17, allocations: 33.73 kB / 7.838 GB, free: 16.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.191e-05/16.17, allocations: 33.56 kB / 7.838 GB, free: 16.09 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002691/16.17, allocations: 252.4 kB / 7.838 GB, free: 16.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/16.17, allocations: 0 / 7.838 GB, free: 16.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008707/16.18, allocations: 1.983 MB / 7.84 GB, free: 15.61 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.01578/16.19, allocations: 3.097 MB / 7.843 GB, free: 14.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001752/16.2, allocations: 0.8081 MB / 7.844 GB, free: 14.59 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/16.2, allocations: 0 / 7.844 GB, free: 14.59 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005898/16.2, allocations: 305.5 kB / 7.844 GB, free: 14.56 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/16.2, allocations: 270.7 kB / 7.845 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001939/16.2, allocations: 1.326 MB / 7.846 GB, free: 13.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/16.2, allocations: 0.8387 MB / 7.847 GB, free: 13.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006225/16.2, allocations: 146.9 kB / 7.847 GB, free: 13.15 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/16.2, allocations: 58.94 kB / 7.847 GB, free: 13.14 MB / 490.7 MB Notification: Performance of SimCode: time 4.21e-07/16.2, allocations: 0 / 7.847 GB, free: 13.14 MB / 490.7 MB Notification: Performance of Templates: time 0.3718/16.57, allocations: 66.88 MB / 7.912 GB, free: 55.63 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches