Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002179/0.002185, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001151/0.001151, allocations: 85.23 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.125e-05/2.135e-05, allocations: 4 kB / 314.8 MB, free: 9.152 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3477, allocations: 47.56 MB / 362.3 MB, free: 45.84 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.086/2.434, allocations: 0.6378 GB / 0.9917 GB, free: 112.1 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/2.434, allocations: 73.38 kB / 0.9917 GB, free: 112.1 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.734/4.168, allocations: 459.4 MB / 1.44 GB, free: 56.57 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.513e-06/4.168, allocations: 4 kB / 1.44 GB, free: 56.57 MB / 427.1 MB Notification: Performance of Transformations before backend: time 2.327e-05/4.168, allocations: 4 kB / 1.44 GB, free: 56.57 MB / 427.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001628/4.17, allocations: 0.7135 MB / 1.441 GB, free: 55.81 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/4.17, allocations: 8.031 kB / 1.441 GB, free: 55.8 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005791/4.171, allocations: 57.28 kB / 1.441 GB, free: 55.75 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004508/4.171, allocations: 292.9 kB / 1.441 GB, free: 55.43 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/4.171, allocations: 8 kB / 1.441 GB, free: 55.42 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.367e-05/4.171, allocations: 19.95 kB / 1.441 GB, free: 55.4 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004238/4.172, allocations: 173.1 kB / 1.442 GB, free: 55.23 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005421/4.172, allocations: 293.4 kB / 1.442 GB, free: 54.91 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/4.172, allocations: 0.6562 kB / 1.442 GB, free: 54.91 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.304e-05/4.172, allocations: 0 / 1.442 GB, free: 54.91 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/4.172, allocations: 8 kB / 1.442 GB, free: 54.9 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0162/4.188, allocations: 5.459 MB / 1.447 GB, free: 48.98 MB / 427.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/4.189, allocations: 165.3 kB / 1.447 GB, free: 48.81 MB / 427.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001646/4.189, allocations: 81.19 kB / 1.447 GB, free: 48.73 MB / 427.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0138/4.203, allocations: 3.494 MB / 1.451 GB, free: 44.95 MB / 427.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/4.203, allocations: 30.75 kB / 1.451 GB, free: 44.91 MB / 427.1 MB Notification: Performance of pre-optimization done (n=21): time 3.567e-06/4.203, allocations: 4 kB / 1.451 GB, free: 44.91 MB / 427.1 MB Notification: Performance of matching and sorting (n=26): time 0.004799/4.208, allocations: 0.9769 MB / 1.452 GB, free: 43.88 MB / 427.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.384e-05/4.208, allocations: 55.41 kB / 1.452 GB, free: 43.81 MB / 427.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/4.208, allocations: 195.1 kB / 1.452 GB, free: 43.61 MB / 427.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/4.208, allocations: 29.7 kB / 1.452 GB, free: 43.58 MB / 427.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/4.208, allocations: 246.7 kB / 1.452 GB, free: 43.34 MB / 427.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/4.208, allocations: 90.66 kB / 1.452 GB, free: 43.25 MB / 427.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.911e-05/4.208, allocations: 0 / 1.452 GB, free: 43.25 MB / 427.1 MB Notification: Performance of setup shared object (initialization): time 6.892e-05/4.208, allocations: 338.8 kB / 1.453 GB, free: 42.91 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/4.209, allocations: 76 kB / 1.453 GB, free: 42.83 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/4.209, allocations: 171.2 kB / 1.453 GB, free: 42.62 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/4.21, allocations: 192.6 kB / 1.453 GB, free: 42.44 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/4.21, allocations: 7.938 kB / 1.453 GB, free: 42.43 MB / 427.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001692/4.212, allocations: 422.9 kB / 1.454 GB, free: 42 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/4.212, allocations: 8.781 kB / 1.454 GB, free: 42 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/4.212, allocations: 3.984 kB / 1.454 GB, free: 41.99 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/4.212, allocations: 70 kB / 1.454 GB, free: 41.92 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004395/4.213, allocations: 67.91 kB / 1.454 GB, free: 41.85 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/4.215, allocations: 1.885 MB / 1.456 GB, free: 39.83 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/4.215, allocations: 20.02 kB / 1.456 GB, free: 39.81 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/4.215, allocations: 16 kB / 1.456 GB, free: 39.8 MB / 427.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001212/4.215, allocations: 118.2 kB / 1.456 GB, free: 39.68 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/4.215, allocations: 19.81 kB / 1.456 GB, free: 39.66 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/4.217, allocations: 482.5 kB / 1.456 GB, free: 39.18 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/4.217, allocations: 4 kB / 1.456 GB, free: 39.18 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/4.217, allocations: 0 / 1.456 GB, free: 39.18 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001021/4.218, allocations: 0.7019 MB / 1.457 GB, free: 38.39 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002009/4.22, allocations: 0.8664 MB / 1.458 GB, free: 37.48 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.436e-06/4.22, allocations: 0 / 1.458 GB, free: 37.48 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003397/4.22, allocations: 51.95 kB / 1.458 GB, free: 37.43 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004097/4.22, allocations: 92.67 kB / 1.458 GB, free: 37.33 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.8e-05/4.221, allocations: 4 kB / 1.458 GB, free: 37.33 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007659/4.221, allocations: 0.6772 MB / 1.459 GB, free: 36.62 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/4.221, allocations: 0 / 1.459 GB, free: 36.62 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/4.223, allocations: 0.7068 MB / 1.459 GB, free: 35.89 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/4.223, allocations: 104.7 kB / 1.459 GB, free: 35.77 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.691e-05/4.223, allocations: 4.125 kB / 1.459 GB, free: 35.76 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/4.224, allocations: 15.94 kB / 1.459 GB, free: 35.75 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.695e-05/4.224, allocations: 18.8 kB / 1.459 GB, free: 35.73 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.601e-05/4.224, allocations: 11.98 kB / 1.459 GB, free: 35.72 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0001896/4.224, allocations: 157.6 kB / 1.46 GB, free: 35.57 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.31e-07/4.224, allocations: 0 / 1.46 GB, free: 35.57 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001438/4.225, allocations: 199.8 kB / 1.46 GB, free: 35.37 MB / 427.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001764/4.227, allocations: 0.4901 MB / 1.46 GB, free: 34.91 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/4.228, allocations: 421.8 kB / 1.461 GB, free: 34.49 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/4.228, allocations: 0 / 1.461 GB, free: 34.49 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004788/4.229, allocations: 199.9 kB / 1.461 GB, free: 34.3 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/4.23, allocations: 125.6 kB / 1.461 GB, free: 34.18 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/4.231, allocations: 0.5873 MB / 1.462 GB, free: 33.57 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/4.232, allocations: 0.7799 MB / 1.462 GB, free: 32.77 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/4.232, allocations: 31.42 kB / 1.462 GB, free: 32.73 MB / 427.1 MB Notification: Performance of SimCode: time 8.82e-07/4.232, allocations: 0 / 1.462 GB, free: 32.73 MB / 427.1 MB Notification: Performance of Templates: time 0.01634/4.248, allocations: 8.884 MB / 1.471 GB, free: 23.89 MB / 427.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches