Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,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.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,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.IdealGases.Air") [: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.00248/0.002479, allocations: 175.8 kB / 8.148 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.2 MB / 213.7 MB, free: 13.95 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.001208/0.001208, allocations: 86.75 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.476e-06/8.576e-06, allocations: 0 / 314.3 MB, free: 9.051 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2525, allocations: 47.56 MB / 361.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.241/1.493, allocations: 0.5386 GB / 0.8919 GB, free: 94.25 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/1.494, allocations: 99.3 kB / 0.892 GB, free: 94.19 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.6518/2.145, allocations: 145.5 MB / 1.034 GB, free: 105.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.215e-05/2.146, allocations: 8.094 kB / 1.034 GB, free: 105.2 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.001154/2.147, allocations: 0.6012 MB / 1.035 GB, free: 104.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/2.147, allocations: 11.62 kB / 1.035 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003983/2.147, allocations: 42.64 kB / 1.035 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004471/2.148, allocations: 276.8 kB / 1.035 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/2.148, allocations: 7.406 kB / 1.035 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/2.148, allocations: 11.06 kB / 1.035 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004742/2.148, allocations: 181.8 kB / 1.035 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005805/2.149, allocations: 275.9 kB / 1.035 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/2.149, allocations: 0 / 1.035 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.159e-05/2.149, allocations: 3.938 kB / 1.035 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/2.149, allocations: 3.938 kB / 1.035 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/2.151, allocations: 1.571 MB / 1.037 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/2.151, allocations: 112.9 kB / 1.037 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/2.152, allocations: 73.92 kB / 1.037 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.582e-05/2.152, allocations: 6.844 kB / 1.037 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/2.152, allocations: 34.06 kB / 1.037 GB, free: 103.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.993e-06/2.152, allocations: 5.469 kB / 1.037 GB, free: 103.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.007259/2.159, allocations: 0.9671 MB / 1.038 GB, free: 102.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/2.159, allocations: 56.88 kB / 1.038 GB, free: 102.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000293/2.159, allocations: 201.2 kB / 1.038 GB, free: 102.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.762e-05/2.159, allocations: 25.7 kB / 1.038 GB, free: 102.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/2.159, allocations: 235.5 kB / 1.039 GB, free: 102.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.47e-05/2.16, allocations: 87.55 kB / 1.039 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.94e-05/2.16, allocations: 2.938 kB / 1.039 GB, free: 102.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.287e-05/2.16, allocations: 322.6 kB / 1.039 GB, free: 102.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/2.16, allocations: 76.47 kB / 1.039 GB, free: 102 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/2.16, allocations: 178.3 kB / 1.039 GB, free: 101.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002809/2.16, allocations: 112.9 kB / 1.039 GB, free: 101.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/2.16, allocations: 2.062 kB / 1.039 GB, free: 101.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000882/2.161, allocations: 351.6 kB / 1.04 GB, free: 101.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/2.161, allocations: 3.719 kB / 1.04 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/2.161, allocations: 3.75 kB / 1.04 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002936/2.162, allocations: 64.72 kB / 1.04 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000644/2.162, allocations: 84.58 kB / 1.04 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/2.164, allocations: 1.808 MB / 1.042 GB, free: 99.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003448/2.164, allocations: 13.45 kB / 1.042 GB, free: 99.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.758e-05/2.164, allocations: 37.81 kB / 1.042 GB, free: 99.91 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 () * 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.0001387/2.164, allocations: 43.23 kB / 1.042 GB, free: 99.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/2.165, allocations: 26.5 kB / 1.042 GB, free: 99.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/2.166, allocations: 388.6 kB / 1.042 GB, free: 99.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/2.166, allocations: 6.656 kB / 1.042 GB, free: 99.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/2.166, allocations: 0 / 1.042 GB, free: 99.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006195/2.167, allocations: 0.548 MB / 1.043 GB, free: 99.22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/2.168, allocations: 0.6526 MB / 1.043 GB, free: 98.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/2.168, allocations: 0 / 1.043 GB, free: 98.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/2.169, allocations: 74.19 kB / 1.043 GB, free: 98.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/2.169, allocations: 19.39 kB / 1.043 GB, free: 98.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/2.169, allocations: 12.23 kB / 1.043 GB, free: 98.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008934/2.17, allocations: 1.222 MB / 1.045 GB, free: 97.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/2.17, allocations: 3.594 kB / 1.045 GB, free: 97.54 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009477/2.171, allocations: 478.1 kB / 1.045 GB, free: 97.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/2.171, allocations: 103.6 kB / 1.045 GB, free: 97.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.523e-05/2.171, allocations: 3.938 kB / 1.045 GB, free: 97.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/2.171, allocations: 14.59 kB / 1.045 GB, free: 97.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/2.172, allocations: 26.28 kB / 1.045 GB, free: 97.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.466e-05/2.172, allocations: 27.84 kB / 1.045 GB, free: 97.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002035/2.172, allocations: 166 kB / 1.045 GB, free: 97 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009257/2.173, allocations: 166.3 kB / 1.046 GB, free: 96.97 MB / 426.7 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.00159/2.174, allocations: 0.9103 MB / 1.046 GB, free: 96.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009399/2.175, allocations: 340.4 kB / 1.047 GB, free: 96.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/2.175, allocations: 3.906 kB / 1.047 GB, free: 96.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003496/2.176, allocations: 215.6 kB / 1.047 GB, free: 96.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/2.177, allocations: 112.3 kB / 1.047 GB, free: 96.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/2.179, allocations: 0.4916 MB / 1.048 GB, free: 96.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008532/2.18, allocations: 0.8684 MB / 1.048 GB, free: 95.49 MB / 426.7 MB Notification: Performance of SimCode: time 1.392e-06/2.18, allocations: 2.906 kB / 1.048 GB, free: 95.49 MB / 426.7 MB Notification: Performance of Templates: time 0.02611/2.206, allocations: 11.16 MB / 1.059 GB, free: 93.69 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches