Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [: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.0009973/0.0009972, allocations: 179.5 kB / 8.519 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.273/1.273, 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.001059/0.001059, allocations: 99.91 kB / 281.2 MB, free: 5.465 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.2114/0.2114, allocations: 44.15 MB / 376.1 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.484e-06/7.514e-06, allocations: 224 / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1509, allocations: 61.91 MB / 0.4941 GB, free: 1.609 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.549/7.7, allocations: 3.554 GB / 4.048 GB, free: 8.027 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/7.7, allocations: 99.44 kB / 4.048 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.389/9.089, allocations: 413 MB / 4.452 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.533e-05/9.09, allocations: 16 kB / 4.452 GB, free: 11.7 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.009381/9.099, allocations: 2.23 MB / 4.454 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/9.099, allocations: 8.031 kB / 4.454 GB, free: 9.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008292/9.1, allocations: 114.9 kB / 4.454 GB, free: 9.297 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/9.102, allocations: 0.6309 MB / 4.455 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/9.102, allocations: 93.39 kB / 4.455 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002906/9.102, allocations: 43.91 kB / 4.455 GB, free: 8.477 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002177/9.104, allocations: 1.046 MB / 4.456 GB, free: 7.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/9.106, allocations: 1.051 MB / 4.457 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/9.106, allocations: 7.984 kB / 4.457 GB, free: 6.312 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/9.107, allocations: 4 kB / 4.457 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.77e-05/9.107, allocations: 61.91 kB / 4.457 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00813/9.115, allocations: 5.053 MB / 4.462 GB, free: 0.8242 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/9.116, allocations: 0.4995 MB / 4.462 GB, free: 324 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2208/9.337, allocations: 371.4 kB / 4.463 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009968/9.338, allocations: 1.12 MB / 4.464 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/9.338, allocations: 45.66 kB / 4.464 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=64): time 2.805e-06/9.338, allocations: 2.812 kB / 4.464 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=76): time 0.01355/9.351, allocations: 3.691 MB / 4.467 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/9.351, allocations: 111.1 kB / 4.468 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005719/9.352, allocations: 488 kB / 4.468 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.962e-05/9.352, allocations: 25.7 kB / 4.468 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/9.352, allocations: 354.1 kB / 4.468 GB, free: 117 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/9.353, allocations: 257.9 kB / 4.469 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.55e-05/9.353, allocations: 2.734 kB / 4.469 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.339e-05/9.353, allocations: 383.9 kB / 4.469 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005727/9.353, allocations: 445.5 kB / 4.469 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/9.354, allocations: 0.685 MB / 4.47 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001677/9.356, allocations: 0.6801 MB / 4.471 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/9.356, allocations: 0 / 4.471 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003042/9.359, allocations: 1.598 MB / 4.472 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/9.359, allocations: 8.781 kB / 4.472 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/9.359, allocations: 7.812 kB / 4.472 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005455/9.364, allocations: 1.09 MB / 4.473 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/9.365, allocations: 156.1 kB / 4.474 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/9.367, allocations: 1.56 MB / 4.475 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/9.368, allocations: 72.06 kB / 4.475 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/9.368, allocations: 58.5 kB / 4.475 GB, free: 115.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0002521/9.369, allocations: 132.2 kB / 4.475 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/9.369, allocations: 74.53 kB / 4.475 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003231/9.372, allocations: 1.616 MB / 4.477 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/9.372, allocations: 13.86 kB / 4.477 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/9.372, allocations: 3.906 kB / 4.477 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/9.372, allocations: 5.859 kB / 4.477 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/9.376, allocations: 2.777 MB / 4.48 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/9.376, allocations: 3.375 kB / 4.48 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/9.378, allocations: 251.9 kB / 4.48 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/9.379, allocations: 313.6 kB / 4.48 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.993e-05/9.379, allocations: 20.72 kB / 4.48 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/9.381, allocations: 2.178 MB / 4.482 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/9.381, allocations: 5.219 kB / 4.482 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003553/9.384, allocations: 2.09 MB / 4.484 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006258/9.385, allocations: 276.7 kB / 4.485 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/9.385, allocations: 11.09 kB / 4.485 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009708/9.386, allocations: 56.84 kB / 4.485 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001418/9.386, allocations: 62.58 kB / 4.485 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000122/9.387, allocations: 49.03 kB / 4.485 GB, free: 112.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0005473/9.387, allocations: 368.5 kB / 4.485 GB, free: 112.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003245/9.39, allocations: 0.7477 MB / 4.486 GB, free: 112.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 73 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003373/9.394, allocations: 1.649 MB / 4.488 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001885/9.396, allocations: 1.089 MB / 4.489 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/9.396, allocations: 2.688 kB / 4.489 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/9.397, allocations: 0.6685 MB / 4.489 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/9.399, allocations: 348 kB / 4.49 GB, free: 112 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/9.403, allocations: 1.687 MB / 4.491 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007642/9.404, allocations: 1.157 MB / 4.492 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of SimCode: time 5.82e-07/9.404, allocations: 2.531 kB / 4.492 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.04575/9.45, allocations: 32.86 MB / 4.525 GB, free: 110.4 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches