Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.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_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001994/0.001994, allocations: 183.8 kB / 18.04 MB, free: 3.781 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.408/1.408, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007771/0.0007773, allocations: 89.17 kB / 272.5 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003736/0.0003738, allocations: 12 kB / 329.4 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/0.2228, allocations: 47.57 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.6/13.82, allocations: 6.598 GB / 6.966 GB, free: 88.84 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/13.82, allocations: 78.64 kB / 6.966 GB, free: 88.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305/16.13, allocations: 0.6637 GB / 7.63 GB, free: 33.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.335e-06/16.13, allocations: 0.9844 kB / 7.63 GB, free: 33.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.387e-05/16.13, allocations: 20.48 kB / 7.63 GB, free: 33.87 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.009259/16.14, allocations: 2.421 MB / 7.632 GB, free: 32.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/16.14, allocations: 7.906 kB / 7.633 GB, free: 32.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005719/16.14, allocations: 88.39 kB / 7.633 GB, free: 32.49 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008403/16.14, allocations: 449.6 kB / 7.633 GB, free: 32.23 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/16.14, allocations: 46.94 kB / 7.633 GB, free: 32.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/16.14, allocations: 60.88 kB / 7.633 GB, free: 32.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/16.14, allocations: 0.7858 MB / 7.634 GB, free: 32.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/16.14, allocations: 7.922 kB / 7.634 GB, free: 32.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.513e-05/16.14, allocations: 35.22 kB / 7.634 GB, free: 32.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/16.14, allocations: 16.62 kB / 7.634 GB, free: 32.18 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/16.14, allocations: 0.9944 MB / 7.635 GB, free: 32.17 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/16.15, allocations: 12.45 MB / 7.647 GB, free: 21.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/16.16, allocations: 0.7784 MB / 7.648 GB, free: 21.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004977/16.16, allocations: 401.9 kB / 7.648 GB, free: 21.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03202/16.19, allocations: 30.66 MB / 7.678 GB, free: 22.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.525e-05/16.19, allocations: 45.25 kB / 7.678 GB, free: 22.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.947e-06/16.19, allocations: 0 / 7.678 GB, free: 22.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.01049/16.2, allocations: 3.494 MB / 7.682 GB, free: 21.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/16.2, allocations: 67.41 kB / 7.682 GB, free: 21.44 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/16.2, allocations: 348.9 kB / 7.682 GB, free: 21.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000131/16.2, allocations: 45.52 kB / 7.682 GB, free: 21.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/16.2, allocations: 246.7 kB / 7.682 GB, free: 21.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/16.2, allocations: 299 kB / 7.683 GB, free: 20.95 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/16.2, allocations: 22.28 kB / 7.683 GB, free: 20.95 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/16.2, allocations: 368.2 kB / 7.683 GB, free: 20.64 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005229/16.2, allocations: 352.4 kB / 7.683 GB, free: 20.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008466/16.2, allocations: 477 kB / 7.684 GB, free: 20.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/16.2, allocations: 0.8799 MB / 7.685 GB, free: 20.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/16.2, allocations: 0 / 7.685 GB, free: 20.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002353/16.21, allocations: 1.093 MB / 7.686 GB, free: 20.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/16.21, allocations: 7.625 kB / 7.686 GB, free: 20.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/16.21, allocations: 0 / 7.686 GB, free: 20.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008913/16.21, allocations: 177.5 kB / 7.686 GB, free: 20.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/16.21, allocations: 189.6 kB / 7.686 GB, free: 20.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002932/16.21, allocations: 3.903 MB / 7.69 GB, free: 16.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/16.21, allocations: 67.45 kB / 7.69 GB, free: 16.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/16.21, allocations: 51 kB / 7.69 GB, free: 16.56 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.0004939/16.21, allocations: 233.9 kB / 7.69 GB, free: 16.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/16.21, allocations: 61.84 kB / 7.69 GB, free: 16.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002256/16.22, allocations: 1.305 MB / 7.691 GB, free: 16.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/16.22, allocations: 13.47 kB / 7.692 GB, free: 16.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/16.22, allocations: 7.812 kB / 7.692 GB, free: 16.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001783/16.22, allocations: 1.334 MB / 7.693 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/16.22, allocations: 1.988 MB / 7.695 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/16.22, allocations: 7.812 kB / 7.695 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006843/16.22, allocations: 179.7 kB / 7.695 GB, free: 15.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/16.22, allocations: 291.7 kB / 7.695 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/16.22, allocations: 35.12 kB / 7.695 GB, free: 15.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007775/16.22, allocations: 1.294 MB / 7.697 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/16.22, allocations: 3.562 kB / 7.697 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/16.23, allocations: 1.433 MB / 7.698 GB, free: 13.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002471/16.23, allocations: 143.3 kB / 7.698 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/16.23, allocations: 22.92 kB / 7.698 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/16.23, allocations: 53.45 kB / 7.698 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/16.23, allocations: 52.61 kB / 7.698 GB, free: 13.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.567e-05/16.23, allocations: 57.52 kB / 7.698 GB, free: 13.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002926/16.23, allocations: 277.5 kB / 7.698 GB, free: 13.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/16.23, allocations: 0 / 7.698 GB, free: 13.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00999/16.24, allocations: 2.31 MB / 7.701 GB, free: 13.05 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.01398/16.25, allocations: 3.388 MB / 7.704 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002336/16.25, allocations: 1.171 MB / 7.705 GB, free: 11.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/16.25, allocations: 0 / 7.705 GB, free: 11.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008964/16.25, allocations: 0.4954 MB / 7.706 GB, free: 11.58 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/16.26, allocations: 371.7 kB / 7.706 GB, free: 11.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/16.26, allocations: 2.015 MB / 7.708 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006062/16.26, allocations: 0.9188 MB / 7.709 GB, free: 9.859 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008428/16.26, allocations: 213.9 kB / 7.709 GB, free: 9.824 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/16.26, allocations: 84.34 kB / 7.709 GB, free: 9.809 MB / 490.7 MB Notification: Performance of SimCode: time 5.61e-07/16.26, allocations: 3.938 kB / 7.709 GB, free: 9.805 MB / 490.7 MB Notification: Performance of Templates: time 0.3454/16.61, allocations: 78.17 MB / 7.786 GB, free: 63.16 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches