Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.0009374/0.0009374, allocations: 184.2 kB / 7.804 MB, free: 2.141 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.084/1.084, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008234/0.0008235, allocations: 85.98 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1586/0.1586, allocations: 43.5 MB / 352.9 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.061e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 58.83 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.899/5.119, allocations: 3.613 GB / 4.079 GB, free: 71.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/5.119, allocations: 93.25 kB / 4.079 GB, free: 71.62 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.233/6.352, allocations: 432.7 MB / 4.502 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.145e-05/6.352, allocations: 21.33 kB / 4.502 GB, free: 26.05 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007303/6.359, allocations: 2.359 MB / 4.504 GB, free: 23.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/6.359, allocations: 8.031 kB / 4.504 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006208/6.36, allocations: 114.9 kB / 4.504 GB, free: 23.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/6.361, allocations: 0.6178 MB / 4.505 GB, free: 22.88 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.83e-05/6.361, allocations: 101.4 kB / 4.505 GB, free: 22.77 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/6.361, allocations: 43.91 kB / 4.505 GB, free: 22.72 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001676/6.363, allocations: 1.054 MB / 4.506 GB, free: 21.67 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/6.364, allocations: 1.052 MB / 4.507 GB, free: 20.56 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/6.364, allocations: 7.984 kB / 4.507 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.859e-05/6.365, allocations: 4 kB / 4.507 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-05/6.365, allocations: 57.91 kB / 4.507 GB, free: 20.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005406/6.37, allocations: 5.061 MB / 4.512 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/6.371, allocations: 0.5118 MB / 4.512 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003974/6.371, allocations: 363.1 kB / 4.513 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006271/6.372, allocations: 1.066 MB / 4.514 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/6.372, allocations: 43.22 kB / 4.514 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=64): time 2.355e-06/6.372, allocations: 0 / 4.514 GB, free: 12.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.01237/6.384, allocations: 3.797 MB / 4.517 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/6.384, allocations: 115.5 kB / 4.518 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005058/6.385, allocations: 482.1 kB / 4.518 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/6.385, allocations: 25.7 kB / 4.518 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/6.385, allocations: 354.9 kB / 4.518 GB, free: 8.051 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000173/6.385, allocations: 264.1 kB / 4.519 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/6.385, allocations: 0 / 4.519 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.148e-05/6.385, allocations: 390.7 kB / 4.519 GB, free: 7.398 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005176/6.386, allocations: 437.8 kB / 4.519 GB, free: 6.973 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/6.387, allocations: 0.6878 MB / 4.52 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/6.388, allocations: 0.7031 MB / 4.521 GB, free: 5.461 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/6.388, allocations: 4 kB / 4.521 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002769/6.391, allocations: 1.639 MB / 4.522 GB, free: 3.805 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/6.391, allocations: 4 kB / 4.522 GB, free: 3.801 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/6.391, allocations: 12.12 kB / 4.522 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005131/6.396, allocations: 1.096 MB / 4.523 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/6.397, allocations: 155.7 kB / 4.524 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002013/6.399, allocations: 1.572 MB / 4.525 GB, free: 0.9336 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/6.4, allocations: 75.84 kB / 4.525 GB, free: 0.8594 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/6.4, allocations: 67.91 kB / 4.525 GB, free: 0.793 MB / 0.4948 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.0002807/6.4, allocations: 138 kB / 4.525 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/6.4, allocations: 75.14 kB / 4.525 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003475/6.404, allocations: 1.563 MB / 4.527 GB, free: 14.99 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/6.404, allocations: 15.94 kB / 4.527 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/6.404, allocations: 0 / 4.527 GB, free: 14.98 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/6.404, allocations: 3.984 kB / 4.527 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00472/6.409, allocations: 2.825 MB / 4.53 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/6.409, allocations: 12 kB / 4.53 GB, free: 12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/6.41, allocations: 247.7 kB / 4.53 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001389/6.411, allocations: 324.4 kB / 4.53 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.769e-05/6.411, allocations: 27.97 kB / 4.53 GB, free: 11.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/6.413, allocations: 2.166 MB / 4.532 GB, free: 9.102 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/6.413, allocations: 7.938 kB / 4.532 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003786/6.417, allocations: 2.132 MB / 4.535 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005401/6.418, allocations: 284 kB / 4.535 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001445/6.418, allocations: 4 kB / 4.535 GB, free: 6.543 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008916/6.419, allocations: 59.94 kB / 4.535 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/6.419, allocations: 60.48 kB / 4.535 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/6.419, allocations: 51.95 kB / 4.535 GB, free: 6.375 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005072/6.419, allocations: 370.9 kB / 4.535 GB, free: 6.016 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002898/6.422, allocations: 0.796 MB / 4.536 GB, free: 5.219 MB / 0.5105 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.003301/6.426, allocations: 1.812 MB / 4.538 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001864/6.427, allocations: 1.095 MB / 4.539 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/6.427, allocations: 4.062 kB / 4.539 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001583/6.429, allocations: 0.6782 MB / 4.54 GB, free: 1.625 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/6.431, allocations: 340.1 kB / 4.54 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1738/6.605, allocations: 1.69 MB / 4.542 GB, free: 109.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000757/6.606, allocations: 1.169 MB / 4.543 GB, free: 109 MB / 0.5105 GB Notification: Performance of SimCode: time 6.11e-07/6.606, allocations: 0 / 4.543 GB, free: 109 MB / 0.5105 GB Notification: Performance of Templates: time 0.0395/6.645, allocations: 33.98 MB / 4.576 GB, free: 108.4 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches