Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 180 kB / 8.519 MB, free: 1.848 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 221.4 MB / 230.3 MB, free: 7.621 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000933/0.0009329, allocations: 89.72 kB / 281.2 MB, free: 5.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2264/0.2264, allocations: 44.15 MB / 376.1 MB, free: 3.211 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.299e-05/1.3e-05, allocations: 3.938 kB / 444 MB, free: 15.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1702, allocations: 61.91 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.867/2.037, allocations: 0.7072 GB / 1.201 GB, free: 78.42 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/2.038, allocations: 68.94 kB / 1.201 GB, free: 78.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.08597/2.124, allocations: 39.97 MB / 1.24 GB, free: 40.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.224e-05/2.124, allocations: 7.938 kB / 1.24 GB, free: 40.39 MB / 0.5105 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.0008011/2.124, allocations: 0.5024 MB / 1.241 GB, free: 39.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/2.124, allocations: 11.97 kB / 1.241 GB, free: 39.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003199/2.128, allocations: 443 kB / 1.241 GB, free: 39.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003541/2.128, allocations: 262.8 kB / 1.242 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/2.128, allocations: 4 kB / 1.242 GB, free: 39.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.761e-05/2.128, allocations: 15.91 kB / 1.242 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007568/2.129, allocations: 468.5 kB / 1.242 GB, free: 38.62 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004239/2.129, allocations: 301.5 kB / 1.242 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/2.129, allocations: 4 kB / 1.242 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/2.129, allocations: 0 / 1.242 GB, free: 38.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/2.129, allocations: 8 kB / 1.242 GB, free: 38.31 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001924/2.131, allocations: 0.9467 MB / 1.243 GB, free: 37.32 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000285/2.132, allocations: 220.2 kB / 1.243 GB, free: 37.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/2.132, allocations: 129.8 kB / 1.244 GB, free: 36.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001237/2.133, allocations: 0.7502 MB / 1.244 GB, free: 36.08 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/2.133, allocations: 38.56 kB / 1.244 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=29): time 1.984e-06/2.133, allocations: 0 / 1.244 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=29): time 0.0005888/2.134, allocations: 266.1 kB / 1.245 GB, free: 35.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/2.134, allocations: 81.11 kB / 1.245 GB, free: 35.67 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/2.134, allocations: 101 kB / 1.245 GB, free: 35.57 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/2.134, allocations: 25.7 kB / 1.245 GB, free: 35.54 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.49e-05/2.134, allocations: 112.4 kB / 1.245 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.775e-05/2.134, allocations: 102.5 kB / 1.245 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.884e-05/2.134, allocations: 0 / 1.245 GB, free: 35.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.735e-05/2.134, allocations: 326.8 kB / 1.245 GB, free: 34.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/2.134, allocations: 100.6 kB / 1.245 GB, free: 34.89 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/2.134, allocations: 179.3 kB / 1.246 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002296/2.135, allocations: 132.1 kB / 1.246 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/2.135, allocations: 4 kB / 1.246 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005319/2.135, allocations: 331.7 kB / 1.246 GB, free: 34.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/2.135, allocations: 11.94 kB / 1.246 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/2.135, allocations: 0 / 1.246 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/2.135, allocations: 8 kB / 1.246 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/2.136, allocations: 83.81 kB / 1.246 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/2.136, allocations: 11.94 kB / 1.246 GB, free: 34.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002722/2.136, allocations: 23.69 kB / 1.246 GB, free: 34.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.966e-05/2.136, allocations: 19.98 kB / 1.246 GB, free: 34.07 MB / 0.5105 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 9.135e-05/2.136, allocations: 109 kB / 1.246 GB, free: 33.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/2.136, allocations: 23.81 kB / 1.246 GB, free: 33.93 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007133/2.137, allocations: 344.3 kB / 1.247 GB, free: 33.59 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/2.137, allocations: 8 kB / 1.247 GB, free: 33.58 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/2.137, allocations: 3.906 kB / 1.247 GB, free: 33.58 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/2.137, allocations: 7.984 kB / 1.247 GB, free: 33.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/2.137, allocations: 312.1 kB / 1.247 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/2.137, allocations: 0 / 1.247 GB, free: 33.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/2.138, allocations: 59.91 kB / 1.247 GB, free: 33.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/2.138, allocations: 3.984 kB / 1.247 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/2.138, allocations: 4 kB / 1.247 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/2.138, allocations: 4 kB / 1.247 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/2.138, allocations: 3.906 kB / 1.247 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006226/2.139, allocations: 0.5213 MB / 1.248 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/2.139, allocations: 96.84 kB / 1.248 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/2.139, allocations: 4 kB / 1.248 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003592/2.139, allocations: 7.984 kB / 1.248 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/2.139, allocations: 19.98 kB / 1.248 GB, free: 32.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.314e-05/2.139, allocations: 15.98 kB / 1.248 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.937e-05/2.139, allocations: 91.27 kB / 1.248 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001031/2.14, allocations: 251.6 kB / 1.248 GB, free: 32.11 MB / 0.5105 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.001384/2.142, allocations: 0.8688 MB / 1.249 GB, free: 31.23 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004099/2.142, allocations: 263.8 kB / 1.249 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/2.142, allocations: 0 / 1.249 GB, free: 30.98 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001576/2.142, allocations: 139.8 kB / 1.249 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005235/2.143, allocations: 64.5 kB / 1.249 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009482/2.144, allocations: 0.5948 MB / 1.25 GB, free: 30.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003528/2.144, allocations: 0.7829 MB / 1.251 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of SimCode: time 2.7e-07/2.144, allocations: 0 / 1.251 GB, free: 29.34 MB / 0.5105 GB Notification: Performance of Templates: time 0.01565/2.16, allocations: 11.75 MB / 1.262 GB, free: 17.64 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches