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.001608/0.001607, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.896/1.896, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.00117/0.00117, allocations: 96.41 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003846, allocations: 15.98 kB / 327 MB, free: 232 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3289, allocations: 47.56 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.897/2.226, allocations: 0.6386 GB / 1.004 GB, free: 99.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/2.227, allocations: 81.17 kB / 1.004 GB, free: 99.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.892/4.119, allocations: 471.8 MB / 1.465 GB, free: 107.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.795e-06/4.119, allocations: 0 / 1.465 GB, free: 107.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.511e-05/4.119, allocations: 10.84 kB / 1.465 GB, free: 107.7 MB / 426.7 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.001917/4.121, allocations: 0.7375 MB / 1.466 GB, free: 107.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/4.121, allocations: 7.844 kB / 1.466 GB, free: 107.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006407/4.122, allocations: 52.77 kB / 1.466 GB, free: 107.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/4.122, allocations: 282 kB / 1.466 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/4.122, allocations: 22.12 kB / 1.466 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/4.123, allocations: 32.8 kB / 1.466 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006828/4.123, allocations: 335.9 kB / 1.467 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.287e-05/4.123, allocations: 2.25 kB / 1.467 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/4.123, allocations: 11.41 kB / 1.467 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.165e-05/4.123, allocations: 7.125 kB / 1.467 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004645/4.124, allocations: 215.1 kB / 1.467 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01677/4.141, allocations: 5.468 MB / 1.472 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004352/4.141, allocations: 175.9 kB / 1.472 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/4.156, allocations: 3.442 MB / 1.476 GB, free: 102.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/4.156, allocations: 37.19 kB / 1.476 GB, free: 102 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.635e-06/4.156, allocations: 1.406 kB / 1.476 GB, free: 102 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.008764/4.164, allocations: 1.374 MB / 1.477 GB, free: 101.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/4.165, allocations: 55.41 kB / 1.477 GB, free: 101.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/4.165, allocations: 236.3 kB / 1.477 GB, free: 101.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/4.165, allocations: 33.23 kB / 1.477 GB, free: 101.4 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/4.165, allocations: 243.5 kB / 1.478 GB, free: 101.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.98e-05/4.165, allocations: 95.34 kB / 1.478 GB, free: 101.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/4.165, allocations: 8.875 kB / 1.478 GB, free: 101.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.884e-05/4.165, allocations: 319.4 kB / 1.478 GB, free: 100.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/4.166, allocations: 95.95 kB / 1.478 GB, free: 100.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000299/4.166, allocations: 193.2 kB / 1.478 GB, free: 100.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003145/4.166, allocations: 125.1 kB / 1.478 GB, free: 100.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/4.166, allocations: 0 / 1.478 GB, free: 100.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00108/4.167, allocations: 380.7 kB / 1.479 GB, free: 100.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/4.167, allocations: 10.62 kB / 1.479 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/4.167, allocations: 2.875 kB / 1.479 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007881/4.175, allocations: 449.4 kB / 1.479 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/4.176, allocations: 66.42 kB / 1.479 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/4.178, allocations: 1.888 MB / 1.481 GB, free: 98.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004571/4.178, allocations: 28.06 kB / 1.481 GB, free: 98.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.9e-05/4.178, allocations: 15.66 kB / 1.481 GB, free: 98.84 MB / 426.7 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 () * Number of clocked 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.0002481/4.178, allocations: 158.6 kB / 1.481 GB, free: 98.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/4.178, allocations: 32.03 kB / 1.481 GB, free: 98.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/4.18, allocations: 493.6 kB / 1.482 GB, free: 98.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/4.18, allocations: 7.922 kB / 1.482 GB, free: 98.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/4.18, allocations: 0 / 1.482 GB, free: 98.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000835/4.18, allocations: 0.7215 MB / 1.483 GB, free: 98.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/4.182, allocations: 0.948 MB / 1.483 GB, free: 97.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/4.182, allocations: 2.938 kB / 1.483 GB, free: 97.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003319/4.183, allocations: 45.97 kB / 1.484 GB, free: 97.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002656/4.185, allocations: 300.6 kB / 1.484 GB, free: 97.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/4.185, allocations: 12.78 kB / 1.484 GB, free: 97.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00056/4.186, allocations: 0.6379 MB / 1.484 GB, free: 97.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/4.186, allocations: 0 / 1.484 GB, free: 97.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/4.187, allocations: 0.7357 MB / 1.485 GB, free: 97.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001348/4.187, allocations: 103.4 kB / 1.485 GB, free: 96.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.641e-05/4.187, allocations: 8 kB / 1.485 GB, free: 96.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/4.188, allocations: 22.58 kB / 1.485 GB, free: 96.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/4.188, allocations: 23.33 kB / 1.485 GB, free: 96.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/4.188, allocations: 10 kB / 1.485 GB, free: 96.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002414/4.188, allocations: 186.9 kB / 1.485 GB, free: 96.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.312e-06/4.188, allocations: 0 / 1.485 GB, free: 96.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00121/4.189, allocations: 206.2 kB / 1.486 GB, free: 96.87 MB / 426.7 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 () * Number of clocked 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.00164/4.191, allocations: 486.6 kB / 1.486 GB, free: 96.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00109/4.192, allocations: 441.1 kB / 1.487 GB, free: 96.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/4.192, allocations: 0 / 1.487 GB, free: 96.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008686/4.193, allocations: 236.9 kB / 1.487 GB, free: 96.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/4.195, allocations: 152.5 kB / 1.487 GB, free: 96.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/4.196, allocations: 0.9878 MB / 1.488 GB, free: 96.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/4.197, allocations: 0.7881 MB / 1.489 GB, free: 95.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/4.197, allocations: 33.03 kB / 1.489 GB, free: 95.36 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/4.197, allocations: 0 / 1.489 GB, free: 95.36 MB / 426.7 MB Notification: Performance of Templates: time 0.0169/4.214, allocations: 9.192 MB / 1.498 GB, free: 94.73 MB / 426.7 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