Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001684/0.001684, allocations: 170.6 kB / 8.149 MB, free: 2.223 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.2 MB / 213.8 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001286/0.001285, allocations: 94.91 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2544/0.2544, allocations: 43.5 MB / 353.2 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.364e-06, allocations: 0 / 417.7 MB, free: 40.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2739, allocations: 58.83 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.657/1.931, allocations: 0.7381 GB / 1.203 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/1.931, allocations: 78.34 kB / 1.204 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.1424/2.074, allocations: 38.99 MB / 1.242 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.645e-05/2.074, allocations: 8.859 kB / 1.242 GB, free: 139.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001033/2.075, allocations: 0.4988 MB / 1.242 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/2.075, allocations: 11.72 kB / 1.242 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005532/2.081, allocations: 430.3 kB / 1.243 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/2.081, allocations: 254.7 kB / 1.243 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/2.081, allocations: 3.938 kB / 1.243 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/2.081, allocations: 19.58 kB / 1.243 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001349/2.083, allocations: 472.9 kB / 1.243 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007243/2.083, allocations: 318.3 kB / 1.244 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/2.083, allocations: 3.906 kB / 1.244 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/2.084, allocations: 0 / 1.244 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/2.084, allocations: 7.906 kB / 1.244 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/2.087, allocations: 0.9572 MB / 1.244 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/2.087, allocations: 226.7 kB / 1.245 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002877/2.088, allocations: 138.7 kB / 1.245 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/2.09, allocations: 0.6602 MB / 1.245 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/2.09, allocations: 34.31 kB / 1.246 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=29): time 3.396e-06/2.09, allocations: 0 / 1.246 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=29): time 0.0009761/2.091, allocations: 260.8 kB / 1.246 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/2.091, allocations: 81.02 kB / 1.246 GB, free: 137 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/2.091, allocations: 101.2 kB / 1.246 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/2.091, allocations: 25.7 kB / 1.246 GB, free: 136.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.439e-05/2.091, allocations: 186 kB / 1.246 GB, free: 136.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.855e-05/2.091, allocations: 103.9 kB / 1.246 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/2.091, allocations: 0 / 1.246 GB, free: 136.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.71e-05/2.091, allocations: 330.2 kB / 1.247 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/2.091, allocations: 95.52 kB / 1.247 GB, free: 136.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/2.092, allocations: 184.5 kB / 1.247 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003949/2.092, allocations: 133.8 kB / 1.247 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/2.092, allocations: 3.906 kB / 1.247 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009118/2.093, allocations: 328.3 kB / 1.247 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/2.093, allocations: 3.969 kB / 1.247 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/2.093, allocations: 3.906 kB / 1.247 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/2.093, allocations: 3.906 kB / 1.247 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/2.094, allocations: 74.89 kB / 1.247 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/2.094, allocations: 15.78 kB / 1.247 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/2.094, allocations: 27.41 kB / 1.247 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.445e-05/2.094, allocations: 19.52 kB / 1.247 GB, free: 136 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001313/2.095, allocations: 33.61 kB / 1.247 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/2.095, allocations: 15.66 kB / 1.247 GB, free: 136 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/2.096, allocations: 360.5 kB / 1.248 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/2.096, allocations: 3.906 kB / 1.248 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/2.096, allocations: 0 / 1.248 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/2.096, allocations: 11.8 kB / 1.248 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008855/2.097, allocations: 317.8 kB / 1.248 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/2.097, allocations: 7.812 kB / 1.248 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007589/2.098, allocations: 58.67 kB / 1.248 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/2.098, allocations: 0 / 1.248 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/2.098, allocations: 11.7 kB / 1.248 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/2.098, allocations: 3.906 kB / 1.248 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/2.098, allocations: 0 / 1.248 GB, free: 135.6 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001051/2.099, allocations: 0.5193 MB / 1.249 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.248e-05/2.099, allocations: 92.77 kB / 1.249 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.06e-05/2.099, allocations: 7.844 kB / 1.249 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00064/2.1, allocations: 15.8 kB / 1.249 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/2.1, allocations: 15.81 kB / 1.249 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.36e-05/2.1, allocations: 22.95 kB / 1.249 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.879e-05/2.1, allocations: 83.03 kB / 1.249 GB, free: 135.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00133/2.101, allocations: 257.2 kB / 1.249 GB, free: 135.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002268/2.104, allocations: 0.8549 MB / 1.25 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000828/2.104, allocations: 265 kB / 1.25 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/2.104, allocations: 4.719 kB / 1.25 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003715/2.105, allocations: 137.6 kB / 1.25 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/2.106, allocations: 77.02 kB / 1.25 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/2.108, allocations: 0.6177 MB / 1.251 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005939/2.108, allocations: 0.7875 MB / 1.252 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of SimCode: time 1.343e-06/2.108, allocations: 0.5625 kB / 1.252 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.02194/2.13, allocations: 8.993 MB / 1.261 GB, free: 128.8 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches