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.DryAirNasa.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.DryAirNasa,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.DryAirNasa") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,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.DryAirNasa") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002717/0.002717, allocations: 186 kB / 8.15 MB, free: 0.8398 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.702/1.702, allocations: 205.2 MB / 213.7 MB, free: 7.316 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00124/0.00124, allocations: 95.38 kB / 261.8 MB, free: 7.234 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 8.186e-06/8.345e-06, allocations: 0 / 314.3 MB, free: 13.92 MB / 226.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09546/0.0955, allocations: 47.58 MB / 361.9 MB, free: 14.25 MB / 274.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/1.384, allocations: 0.5386 GB / 0.8919 GB, free: 103 MB / 418.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.385, allocations: 96.31 kB / 0.892 GB, free: 103 MB / 418.8 MB Notification: Performance of FrontEnd: time 0.6204/2.005, allocations: 145.5 MB / 1.034 GB, free: 95.98 MB / 418.8 MB Notification: Performance of Transformations before backend: time 2.703e-05/2.005, allocations: 7.719 kB / 1.034 GB, free: 95.98 MB / 418.8 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.001254/2.006, allocations: 0.5985 MB / 1.035 GB, free: 95.55 MB / 418.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/2.006, allocations: 7.875 kB / 1.035 GB, free: 95.55 MB / 418.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004889/2.007, allocations: 42.36 kB / 1.035 GB, free: 95.54 MB / 418.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005486/2.007, allocations: 282.6 kB / 1.035 GB, free: 95.33 MB / 418.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.014e-05/2.007, allocations: 7.594 kB / 1.035 GB, free: 95.33 MB / 418.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/2.008, allocations: 21.77 kB / 1.035 GB, free: 95.33 MB / 418.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005124/2.008, allocations: 181.9 kB / 1.035 GB, free: 95.33 MB / 418.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/2.009, allocations: 269.5 kB / 1.035 GB, free: 95.23 MB / 418.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/2.009, allocations: 4.375 kB / 1.035 GB, free: 95.23 MB / 418.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/2.009, allocations: 0 / 1.035 GB, free: 95.23 MB / 418.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/2.009, allocations: 6.812 kB / 1.035 GB, free: 95.23 MB / 418.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002578/2.011, allocations: 1.567 MB / 1.037 GB, free: 94.08 MB / 418.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/2.012, allocations: 107 kB / 1.037 GB, free: 94.06 MB / 418.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/2.012, allocations: 80.61 kB / 1.037 GB, free: 94.05 MB / 418.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/2.012, allocations: 3.719 kB / 1.037 GB, free: 94.05 MB / 418.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/2.012, allocations: 37.44 kB / 1.037 GB, free: 94.02 MB / 418.8 MB Notification: Performance of pre-optimization done (n=20): time 2.655e-06/2.012, allocations: 0 / 1.037 GB, free: 94.02 MB / 418.8 MB Notification: Performance of matching and sorting (n=25): time 0.007807/2.02, allocations: 0.9709 MB / 1.038 GB, free: 93.59 MB / 418.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/2.02, allocations: 58.78 kB / 1.038 GB, free: 93.53 MB / 418.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003016/2.02, allocations: 204.3 kB / 1.038 GB, free: 93.43 MB / 418.8 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/2.02, allocations: 25.7 kB / 1.038 GB, free: 93.4 MB / 418.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.124e-05/2.02, allocations: 225.7 kB / 1.039 GB, free: 93.21 MB / 418.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.433e-05/2.021, allocations: 91.77 kB / 1.039 GB, free: 93.17 MB / 418.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/2.021, allocations: 0 / 1.039 GB, free: 93.17 MB / 418.8 MB Notification: Performance of setup shared object (initialization): time 7.072e-05/2.021, allocations: 324.7 kB / 1.039 GB, free: 92.86 MB / 418.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/2.021, allocations: 76.75 kB / 1.039 GB, free: 92.86 MB / 418.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000277/2.021, allocations: 183.8 kB / 1.039 GB, free: 92.73 MB / 418.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/2.021, allocations: 110.4 kB / 1.039 GB, free: 92.73 MB / 418.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/2.021, allocations: 1.859 kB / 1.039 GB, free: 92.73 MB / 418.8 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009237/2.022, allocations: 349.2 kB / 1.04 GB, free: 92.67 MB / 418.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/2.022, allocations: 7.781 kB / 1.04 GB, free: 92.67 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/2.022, allocations: 0 / 1.04 GB, free: 92.67 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/2.023, allocations: 65.25 kB / 1.04 GB, free: 92.65 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/2.023, allocations: 84.08 kB / 1.04 GB, free: 92.65 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001514/2.025, allocations: 1.813 MB / 1.042 GB, free: 90.95 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/2.025, allocations: 13.95 kB / 1.042 GB, free: 90.95 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.04e-05/2.025, allocations: 45.27 kB / 1.042 GB, free: 90.95 MB / 418.8 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 () * 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001402/2.026, allocations: 37.58 kB / 1.042 GB, free: 90.91 MB / 418.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/2.026, allocations: 26.16 kB / 1.042 GB, free: 90.9 MB / 418.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/2.027, allocations: 390.4 kB / 1.042 GB, free: 90.84 MB / 418.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/2.027, allocations: 3.594 kB / 1.042 GB, free: 90.84 MB / 418.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/2.027, allocations: 0 / 1.042 GB, free: 90.84 MB / 418.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006091/2.028, allocations: 0.5485 MB / 1.043 GB, free: 90.39 MB / 418.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/2.029, allocations: 0.6577 MB / 1.043 GB, free: 90.09 MB / 418.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/2.029, allocations: 3.594 kB / 1.043 GB, free: 90.09 MB / 418.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005946/2.03, allocations: 66.12 kB / 1.043 GB, free: 90.09 MB / 418.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/2.03, allocations: 21.92 kB / 1.043 GB, free: 90.08 MB / 418.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.756e-05/2.03, allocations: 13.78 kB / 1.043 GB, free: 90.08 MB / 418.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009135/2.031, allocations: 1.223 MB / 1.045 GB, free: 88.89 MB / 418.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/2.031, allocations: 0 / 1.045 GB, free: 88.89 MB / 418.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009192/2.032, allocations: 477.2 kB / 1.045 GB, free: 88.68 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/2.032, allocations: 99.41 kB / 1.045 GB, free: 88.58 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.342e-05/2.032, allocations: 3.625 kB / 1.045 GB, free: 88.58 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/2.033, allocations: 14.97 kB / 1.045 GB, free: 88.58 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/2.033, allocations: 22.19 kB / 1.045 GB, free: 88.57 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/2.033, allocations: 32.34 kB / 1.045 GB, free: 88.57 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.0001955/2.033, allocations: 157.8 kB / 1.045 GB, free: 88.49 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.0008886/2.034, allocations: 163.8 kB / 1.046 GB, free: 88.49 MB / 418.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001586/2.036, allocations: 0.926 MB / 1.046 GB, free: 88.31 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.001264/2.037, allocations: 344.4 kB / 1.047 GB, free: 88.2 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/2.037, allocations: 0 / 1.047 GB, free: 88.2 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005926/2.038, allocations: 208.3 kB / 1.047 GB, free: 88.1 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/2.04, allocations: 112.7 kB / 1.047 GB, free: 88.1 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/2.041, allocations: 0.4971 MB / 1.048 GB, free: 87.92 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008266/2.042, allocations: 0.8699 MB / 1.048 GB, free: 87.21 MB / 418.8 MB Notification: Performance of SimCode: time 1.152e-06/2.042, allocations: 0 / 1.048 GB, free: 87.21 MB / 418.8 MB Notification: Performance of Templates: time 0.02361/2.066, allocations: 11.16 MB / 1.059 GB, free: 86.59 MB / 418.8 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_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/DryAirNasa/DryAirNasa.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches