Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") [: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.001219/0.001219, allocations: 176.1 kB / 8.518 MB, free: 1.855 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.263/1.263, allocations: 221.4 MB / 230.3 MB, free: 7.645 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.001008/0.001007, allocations: 94.55 kB / 281.2 MB, free: 5.461 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.2025/0.2025, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.834e-06/7.874e-06, allocations: 224 / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1451, allocations: 61.9 MB / 0.4941 GB, free: 1.637 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.33/1.475, allocations: 429.7 MB / 0.9137 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004235/1.476, allocations: 88.89 kB / 0.9138 GB, free: 186.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.2704/1.746, allocations: 135.4 MB / 1.046 GB, free: 52.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.59e-05/1.747, allocations: 19.98 kB / 1.046 GB, free: 52.31 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001853/1.748, allocations: 0.9004 MB / 1.047 GB, free: 51.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/1.748, allocations: 16.03 kB / 1.047 GB, free: 51.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003567/1.749, allocations: 95.05 kB / 1.047 GB, free: 51.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000987/1.75, allocations: 0.5404 MB / 1.048 GB, free: 50.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/1.75, allocations: 88.39 kB / 1.048 GB, free: 50.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.36e-05/1.75, allocations: 31.91 kB / 1.048 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008463/1.751, allocations: 0.5645 MB / 1.048 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009562/1.752, allocations: 0.7453 MB / 1.049 GB, free: 49.17 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/1.752, allocations: 3.938 kB / 1.049 GB, free: 49.17 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-05/1.752, allocations: 4 kB / 1.049 GB, free: 49.16 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.098e-05/1.752, allocations: 44.97 kB / 1.049 GB, free: 49.12 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/1.756, allocations: 3.81 MB / 1.053 GB, free: 45.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/1.756, allocations: 237.7 kB / 1.053 GB, free: 44.81 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002257/1.756, allocations: 165.4 kB / 1.053 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003839/1.757, allocations: 0.4911 MB / 1.054 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/1.757, allocations: 34.84 kB / 1.054 GB, free: 44 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 3.557e-06/1.757, allocations: 0 / 1.054 GB, free: 44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.003398/1.76, allocations: 1.28 MB / 1.055 GB, free: 42.65 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.214e-05/1.76, allocations: 132.5 kB / 1.055 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006173/1.761, allocations: 450 kB / 1.055 GB, free: 42.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/1.761, allocations: 29.7 kB / 1.055 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/1.761, allocations: 323 kB / 1.056 GB, free: 41.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/1.761, allocations: 142 kB / 1.056 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/1.761, allocations: 0 / 1.056 GB, free: 41.54 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.762, allocations: 366.8 kB / 1.056 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002855/1.762, allocations: 193.5 kB / 1.056 GB, free: 40.99 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004821/1.762, allocations: 498.2 kB / 1.057 GB, free: 40.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/1.763, allocations: 312.5 kB / 1.057 GB, free: 40.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.763, allocations: 8 kB / 1.057 GB, free: 40.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001972/1.765, allocations: 0.8545 MB / 1.058 GB, free: 39.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.765, allocations: 8 kB / 1.058 GB, free: 39.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.765, allocations: 8 kB / 1.058 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/1.766, allocations: 247.3 kB / 1.058 GB, free: 38.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/1.767, allocations: 119.8 kB / 1.058 GB, free: 38.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009521/1.767, allocations: 0.9268 MB / 1.059 GB, free: 37.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006823/1.768, allocations: 28.05 kB / 1.059 GB, free: 37.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.223e-05/1.768, allocations: 43.98 kB / 1.059 GB, free: 37.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0001938/1.768, allocations: 132.8 kB / 1.06 GB, free: 37.65 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.769, allocations: 55.34 kB / 1.06 GB, free: 37.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/1.77, allocations: 0.6743 MB / 1.06 GB, free: 36.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/1.77, allocations: 4 kB / 1.06 GB, free: 36.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.77, allocations: 4 kB / 1.06 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/1.77, allocations: 7.891 kB / 1.06 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002158/1.772, allocations: 1.524 MB / 1.062 GB, free: 35.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/1.772, allocations: 0 / 1.062 GB, free: 35.22 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/1.773, allocations: 192 kB / 1.062 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-05/1.773, allocations: 28.84 kB / 1.062 GB, free: 35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/1.773, allocations: 4 kB / 1.062 GB, free: 35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00154/1.775, allocations: 2.581 MB / 1.064 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.775, allocations: 4.031 kB / 1.064 GB, free: 32.18 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001229/1.776, allocations: 1.016 MB / 1.065 GB, free: 31.07 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002951/1.776, allocations: 200.3 kB / 1.066 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.04e-05/1.777, allocations: 4 kB / 1.066 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000458/1.777, allocations: 19.89 kB / 1.066 GB, free: 30.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/1.777, allocations: 32.02 kB / 1.066 GB, free: 30.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.901e-05/1.777, allocations: 23.98 kB / 1.066 GB, free: 30.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003721/1.778, allocations: 326.9 kB / 1.066 GB, free: 30.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000974/1.779, allocations: 227.9 kB / 1.066 GB, free: 30.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0006879/1.779, allocations: 370.5 kB / 1.067 GB, free: 29.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008844/1.78, allocations: 0.5209 MB / 1.067 GB, free: 29.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/1.78, allocations: 5.812 kB / 1.067 GB, free: 29.35 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/1.781, allocations: 449.7 kB / 1.068 GB, free: 28.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001195/1.782, allocations: 263.5 kB / 1.068 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/1.784, allocations: 0.959 MB / 1.069 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005018/1.785, allocations: 1.024 MB / 1.07 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/1.785, allocations: 0 / 1.07 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of Templates: time 0.02077/1.805, allocations: 13.2 MB / 1.083 GB, free: 13.48 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches