Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009726/0.0009726, allocations: 177.7 kB / 17.41 MB, free: 4.414 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.43/1.43, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007414/0.0007415, allocations: 89.42 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.000355, allocations: 11.98 kB / 328.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2525, allocations: 47.56 MB / 375.7 MB, free: 45.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6734/0.926, allocations: 338.1 MB / 0.6971 GB, free: 127.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.9264, allocations: 107.9 kB / 0.6972 GB, free: 127.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1571/1.083, allocations: 85.39 MB / 0.7806 GB, free: 40.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.003e-06/1.083, allocations: 0 / 0.7806 GB, free: 40.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.15e-05/1.084, allocations: 4 kB / 0.7806 GB, free: 40.8 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007963/1.084, allocations: 0.5545 MB / 0.7812 GB, free: 40.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/1.084, allocations: 16.03 kB / 0.7812 GB, free: 40.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002958/1.085, allocations: 44.55 kB / 0.7812 GB, free: 40.13 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/1.085, allocations: 280.1 kB / 0.7815 GB, free: 39.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/1.085, allocations: 20.94 kB / 0.7815 GB, free: 39.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.078e-05/1.085, allocations: 24.38 kB / 0.7815 GB, free: 39.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/1.086, allocations: 293.9 kB / 0.7818 GB, free: 39.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/1.086, allocations: 4.172 kB / 0.7818 GB, free: 39.46 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/1.086, allocations: 19.94 kB / 0.7818 GB, free: 39.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/1.086, allocations: 12 kB / 0.7818 GB, free: 39.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002823/1.086, allocations: 198.1 kB / 0.782 GB, free: 39.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00139/1.087, allocations: 1.278 MB / 0.7833 GB, free: 37.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/1.088, allocations: 194.9 kB / 0.7835 GB, free: 37.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/1.088, allocations: 95.39 kB / 0.7836 GB, free: 37.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000122/1.088, allocations: 170.2 kB / 0.7837 GB, free: 37.34 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.088, allocations: 34.56 kB / 0.7837 GB, free: 37.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 2.275e-06/1.088, allocations: 0 / 0.7837 GB, free: 37.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002268/1.09, allocations: 1.043 MB / 0.7848 GB, free: 36.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/1.09, allocations: 55.41 kB / 0.7848 GB, free: 36.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002315/1.091, allocations: 254.6 kB / 0.7851 GB, free: 35.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/1.091, allocations: 33.7 kB / 0.7851 GB, free: 35.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.636e-05/1.091, allocations: 184.1 kB / 0.7853 GB, free: 35.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.607e-05/1.091, allocations: 94.66 kB / 0.7854 GB, free: 35.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.461e-05/1.091, allocations: 8 kB / 0.7854 GB, free: 35.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.011e-05/1.091, allocations: 334.8 kB / 0.7857 GB, free: 35.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/1.091, allocations: 75.97 kB / 0.7858 GB, free: 35.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/1.091, allocations: 187.7 kB / 0.7859 GB, free: 34.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/1.091, allocations: 280.3 kB / 0.7862 GB, free: 34.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.091, allocations: 4 kB / 0.7862 GB, free: 34.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000523/1.092, allocations: 440.1 kB / 0.7866 GB, free: 34.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.092, allocations: 8 kB / 0.7866 GB, free: 34.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/1.092, allocations: 4 kB / 0.7866 GB, free: 34.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001606/1.092, allocations: 45.7 kB / 0.7867 GB, free: 34.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/1.092, allocations: 71.89 kB / 0.7868 GB, free: 33.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/1.094, allocations: 2.564 MB / 0.7893 GB, free: 31.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/1.094, allocations: 23.98 kB / 0.7893 GB, free: 31.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.974e-05/1.094, allocations: 12 kB / 0.7893 GB, free: 31.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001497/1.094, allocations: 157.8 kB / 0.7894 GB, free: 30.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.8e-05/1.094, allocations: 23.72 kB / 0.7895 GB, free: 30.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004512/1.095, allocations: 358.9 kB / 0.7898 GB, free: 30.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.095, allocations: 7.984 kB / 0.7898 GB, free: 30.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/1.095, allocations: 0 / 0.7898 GB, free: 30.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003748/1.095, allocations: 0.6187 MB / 0.7904 GB, free: 29.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008288/1.096, allocations: 0.7587 MB / 0.7912 GB, free: 28.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.096, allocations: 0 / 0.7912 GB, free: 28.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/1.096, allocations: 55.91 kB / 0.7912 GB, free: 28.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.651e-05/1.096, allocations: 24.88 kB / 0.7912 GB, free: 28.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/1.096, allocations: 11.98 kB / 0.7912 GB, free: 28.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005554/1.097, allocations: 1.288 MB / 0.7925 GB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/1.097, allocations: 0 / 0.7925 GB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/1.098, allocations: 0.5028 MB / 0.793 GB, free: 26.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.91e-05/1.098, allocations: 112.8 kB / 0.7931 GB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/1.098, allocations: 8 kB / 0.7931 GB, free: 26.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/1.098, allocations: 15.98 kB / 0.7931 GB, free: 26.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.258e-05/1.098, allocations: 15.92 kB / 0.7931 GB, free: 26.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/1.098, allocations: 15.98 kB / 0.7932 GB, free: 26.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000141/1.098, allocations: 182 kB / 0.7933 GB, free: 26.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.098, allocations: 0 / 0.7933 GB, free: 26.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004779/1.099, allocations: 124 kB / 0.7934 GB, free: 26.42 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): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003434/1.099, allocations: 238.5 kB / 0.7937 GB, free: 26.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005595/1.1, allocations: 457 kB / 0.7941 GB, free: 25.71 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/1.1, allocations: 0 / 0.7941 GB, free: 25.71 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002325/1.1, allocations: 211.5 kB / 0.7943 GB, free: 25.49 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008836/1.101, allocations: 167.3 kB / 0.7945 GB, free: 25.33 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/1.102, allocations: 0.8357 MB / 0.7953 GB, free: 24.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/1.102, allocations: 0.7684 MB / 0.796 GB, free: 23.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.37e-05/1.102, allocations: 39.42 kB / 0.7961 GB, free: 23.62 MB / 426.7 MB Notification: Performance of SimCode: time 3e-07/1.102, allocations: 0 / 0.7961 GB, free: 23.62 MB / 426.7 MB Notification: Performance of Templates: time 0.008601/1.111, allocations: 7.115 MB / 0.803 GB, free: 16.51 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches