Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001612, allocations: 179.5 kB / 8.151 MB, free: 2.191 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.701/1.701, 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.001268/0.001268, allocations: 85.34 kB / 261.8 MB, free: 13.62 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.2692/0.2692, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.666e-06/8.837e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.3005, allocations: 58.83 MB / 476.5 MB, free: 5.102 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.842/8.143, allocations: 3.613 GB / 4.079 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/8.143, allocations: 92.95 kB / 4.079 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.052/10.19, allocations: 432.7 MB / 4.502 GB, free: 59.94 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001093/10.19, allocations: 26.94 kB / 4.502 GB, free: 59.93 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.01257/10.21, allocations: 2.363 MB / 4.504 GB, free: 58.75 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.628e-05/10.21, allocations: 9.625 kB / 4.504 GB, free: 58.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/10.21, allocations: 106.8 kB / 4.504 GB, free: 58.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002965/10.21, allocations: 0.6308 MB / 4.505 GB, free: 58.44 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001766/10.21, allocations: 96.03 kB / 4.505 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003142/10.21, allocations: 40.81 kB / 4.505 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004114/10.22, allocations: 1.063 MB / 4.506 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003697/10.22, allocations: 1.048 MB / 4.507 GB, free: 58.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.018e-05/10.22, allocations: 2.906 kB / 4.507 GB, free: 58.18 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/10.22, allocations: 7.188 kB / 4.507 GB, free: 58.18 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/10.22, allocations: 55.62 kB / 4.507 GB, free: 58.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01274/10.23, allocations: 5.057 MB / 4.512 GB, free: 55.38 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/10.24, allocations: 0.509 MB / 4.512 GB, free: 55.36 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008996/10.24, allocations: 375.7 kB / 4.513 GB, free: 55.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/10.24, allocations: 1.066 MB / 4.514 GB, free: 54.22 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/10.24, allocations: 53.55 kB / 4.514 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=64): time 3.727e-06/10.24, allocations: 0 / 4.514 GB, free: 54.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=76): time 0.02529/10.26, allocations: 3.787 MB / 4.517 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/10.26, allocations: 116.7 kB / 4.518 GB, free: 53.59 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009101/10.26, allocations: 489 kB / 4.518 GB, free: 53.46 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002717/10.26, allocations: 25.7 kB / 4.518 GB, free: 53.43 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/10.26, allocations: 390.3 kB / 4.518 GB, free: 53.13 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/10.26, allocations: 259 kB / 4.519 GB, free: 52.96 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.79e-05/10.26, allocations: 0 / 4.519 GB, free: 52.96 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001012/10.26, allocations: 350.9 kB / 4.519 GB, free: 52.65 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/10.27, allocations: 439.3 kB / 4.519 GB, free: 52.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/10.27, allocations: 0.694 MB / 4.52 GB, free: 52.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003134/10.27, allocations: 0.7052 MB / 4.521 GB, free: 52.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/10.27, allocations: 3.938 kB / 4.521 GB, free: 52.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.005553/10.28, allocations: 1.603 MB / 4.522 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/10.28, allocations: 2.688 kB / 4.522 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/10.28, allocations: 11.25 kB / 4.522 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/10.29, allocations: 1.096 MB / 4.523 GB, free: 52.19 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/10.29, allocations: 161.8 kB / 4.524 GB, free: 52.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003649/10.29, allocations: 1.561 MB / 4.525 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/10.29, allocations: 73.28 kB / 4.525 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001821/10.29, allocations: 60.91 kB / 4.525 GB, free: 51.62 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.00034/10.29, allocations: 59.95 kB / 4.525 GB, free: 51.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/10.29, allocations: 75.06 kB / 4.525 GB, free: 51.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006043/10.3, allocations: 1.569 MB / 4.527 GB, free: 51.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/10.3, allocations: 16.47 kB / 4.527 GB, free: 51.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/10.3, allocations: 0 / 4.527 GB, free: 51.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/10.3, allocations: 6.734 kB / 4.527 GB, free: 51.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007822/10.31, allocations: 2.838 MB / 4.53 GB, free: 50.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/10.31, allocations: 2.281 kB / 4.53 GB, free: 50.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002581/10.31, allocations: 245.9 kB / 4.53 GB, free: 50.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002483/10.31, allocations: 312.8 kB / 4.53 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002096/10.31, allocations: 25.91 kB / 4.53 GB, free: 50.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002621/10.32, allocations: 2.175 MB / 4.532 GB, free: 48.92 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/10.32, allocations: 2.781 kB / 4.532 GB, free: 48.92 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006309/10.32, allocations: 2.14 MB / 4.534 GB, free: 48.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008004/10.32, allocations: 283.8 kB / 4.535 GB, free: 48.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/10.32, allocations: 11.62 kB / 4.535 GB, free: 48.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/10.33, allocations: 66.17 kB / 4.535 GB, free: 48.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/10.33, allocations: 57.69 kB / 4.535 GB, free: 48.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/10.33, allocations: 44.91 kB / 4.535 GB, free: 48.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006579/10.33, allocations: 376.9 kB / 4.535 GB, free: 48.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003499/10.33, allocations: 0.7853 MB / 4.536 GB, free: 48.06 MB / 0.4948 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.005786/10.34, allocations: 1.805 MB / 4.538 GB, free: 47.69 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003489/10.34, allocations: 1.108 MB / 4.539 GB, free: 47.37 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/10.34, allocations: 3.594 kB / 4.539 GB, free: 47.37 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003057/10.34, allocations: 0.6624 MB / 4.54 GB, free: 47.18 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003387/10.35, allocations: 345.9 kB / 4.54 GB, free: 47.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/10.35, allocations: 1.742 MB / 4.542 GB, free: 46.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/10.35, allocations: 1.171 MB / 4.543 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.523e-06/10.35, allocations: 0 / 4.543 GB, free: 45.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.06347/10.42, allocations: 30.5 MB / 4.572 GB, free: 33.08 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches