Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [: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.002641/0.002641, allocations: 174.5 kB / 8.145 MB, free: 2.219 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.634/1.634, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001247/0.001247, allocations: 89.55 kB / 261.8 MB, free: 13.63 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.2563/0.2563, allocations: 43.49 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.054e-05/1.067e-05, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2923, allocations: 58.84 MB / 476.6 MB, free: 5.07 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9229/1.215, allocations: 419.6 MB / 0.8751 GB, free: 136.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/1.216, allocations: 101.5 kB / 0.8752 GB, free: 136.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.3921/1.608, allocations: 118.9 MB / 0.9913 GB, free: 28.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.679e-05/1.608, allocations: 16.44 kB / 0.9913 GB, free: 28.5 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.00282/1.611, allocations: 0.9788 MB / 0.9923 GB, free: 27.47 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.611, allocations: 8.031 kB / 0.9923 GB, free: 27.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005615/1.611, allocations: 91.05 kB / 0.9924 GB, free: 27.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001442/1.613, allocations: 0.5366 MB / 0.9929 GB, free: 26.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/1.613, allocations: 88.39 kB / 0.993 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.613, allocations: 31.91 kB / 0.993 GB, free: 26.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001495/1.615, allocations: 0.5645 MB / 0.9936 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/1.616, allocations: 0.7508 MB / 0.9943 GB, free: 25.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/1.616, allocations: 7.875 kB / 0.9943 GB, free: 25.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.883e-05/1.616, allocations: 4 kB / 0.9943 GB, free: 25.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.996e-05/1.616, allocations: 36.98 kB / 0.9944 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006578/1.623, allocations: 4 MB / 0.9983 GB, free: 20.97 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005187/1.623, allocations: 226.4 kB / 0.9985 GB, free: 20.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/1.624, allocations: 169.4 kB / 0.9986 GB, free: 20.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003986/1.624, allocations: 344.7 kB / 0.999 GB, free: 20.16 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.624, allocations: 38.84 kB / 0.999 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 4.218e-06/1.624, allocations: 0 / 0.999 GB, free: 20.12 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.004671/1.629, allocations: 1.275 MB / 1 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/1.629, allocations: 136.5 kB / 1 GB, free: 18.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007247/1.63, allocations: 454 kB / 1.001 GB, free: 18.17 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.876e-05/1.63, allocations: 29.7 kB / 1.001 GB, free: 18.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/1.63, allocations: 353.5 kB / 1.001 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/1.63, allocations: 142 kB / 1.001 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/1.63, allocations: 0 / 1.001 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.172e-05/1.63, allocations: 342.7 kB / 1.002 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/1.631, allocations: 205.5 kB / 1.002 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006458/1.632, allocations: 494.3 kB / 1.002 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/1.633, allocations: 333.1 kB / 1.003 GB, free: 16.16 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/1.633, allocations: 8 kB / 1.003 GB, free: 16.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003616/1.636, allocations: 0.8548 MB / 1.003 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.636, allocations: 4 kB / 1.003 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/1.636, allocations: 12 kB / 1.003 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/1.638, allocations: 229.1 kB / 1.004 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/1.639, allocations: 127.8 kB / 1.004 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001664/1.641, allocations: 0.8815 MB / 1.005 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.642, allocations: 32.05 kB / 1.005 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.642, allocations: 40.06 kB / 1.005 GB, free: 13.94 MB / 0.4948 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 (73): * Single equations (assignments): 72 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002372/1.642, allocations: 54.86 kB / 1.005 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002455/1.642, allocations: 63.25 kB / 1.005 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/1.645, allocations: 0.6225 MB / 1.005 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/1.645, allocations: 8 kB / 1.005 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/1.645, allocations: 3.906 kB / 1.005 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/1.645, allocations: 3.984 kB / 1.005 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005276/1.651, allocations: 1.496 MB / 1.007 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.651, allocations: 4 kB / 1.007 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002674/1.653, allocations: 175.7 kB / 1.007 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000569/1.654, allocations: 60.89 kB / 1.007 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.977e-05/1.654, allocations: 15.92 kB / 1.007 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003361/1.658, allocations: 2.662 MB / 1.01 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.658, allocations: 4.047 kB / 1.01 GB, free: 8.402 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0032/1.661, allocations: 0.9921 MB / 1.011 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005116/1.661, allocations: 192.3 kB / 1.011 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/1.662, allocations: 3.938 kB / 1.011 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.663, allocations: 35.88 kB / 1.011 GB, free: 7.086 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.663, allocations: 19.97 kB / 1.011 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.482e-05/1.663, allocations: 24.12 kB / 1.011 GB, free: 7.043 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0007369/1.664, allocations: 326.9 kB / 1.011 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00171/1.665, allocations: 200 kB / 1.012 GB, free: 6.531 MB / 0.4948 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 (43): * Single equations (assignments): 39 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008451/1.666, allocations: 257.6 kB / 1.012 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001955/1.668, allocations: 0.543 MB / 1.012 GB, free: 5.738 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.668, allocations: 3.938 kB / 1.012 GB, free: 5.734 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002886/1.671, allocations: 462.6 kB / 1.013 GB, free: 5.273 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/1.674, allocations: 252.6 kB / 1.013 GB, free: 5.027 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/1.678, allocations: 1.015 MB / 1.014 GB, free: 3.957 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.679, allocations: 1.012 MB / 1.015 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of SimCode: time 1.233e-06/1.679, allocations: 0 / 1.015 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of Templates: time 0.1953/1.874, allocations: 14.38 MB / 1.029 GB, free: 169.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches