Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 183.1 kB / 8.52 MB, free: 1.859 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.269/1.269, allocations: 221.4 MB / 230.3 MB, free: 7.641 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.001164/0.001165, allocations: 85.48 kB / 281.2 MB, free: 5.434 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.1792/0.1792, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.134e-06/7.174e-06, allocations: 3.938 kB / 444.1 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 61.91 MB / 0.4941 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.255/1.391, allocations: 422 MB / 0.9062 GB, free: 186 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000328/1.392, allocations: 95.34 kB / 0.9063 GB, free: 186 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.2316/1.623, allocations: 121.3 MB / 1.025 GB, free: 74.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.013e-05/1.623, allocations: 16 kB / 1.025 GB, free: 74.04 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.002056/1.626, allocations: 0.9785 MB / 1.026 GB, free: 73.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/1.626, allocations: 8.031 kB / 1.026 GB, free: 73.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003277/1.626, allocations: 95.05 kB / 1.026 GB, free: 72.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008944/1.627, allocations: 0.5404 MB / 1.026 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/1.627, allocations: 80.41 kB / 1.026 GB, free: 72.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/1.627, allocations: 35.91 kB / 1.027 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007974/1.628, allocations: 0.5645 MB / 1.027 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008884/1.629, allocations: 0.743 MB / 1.028 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/1.629, allocations: 8 kB / 1.028 GB, free: 70.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.415e-05/1.629, allocations: 3.938 kB / 1.028 GB, free: 70.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/1.629, allocations: 40.98 kB / 1.028 GB, free: 70.77 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003785/1.633, allocations: 3.996 MB / 1.032 GB, free: 66.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/1.633, allocations: 222.4 kB / 1.032 GB, free: 66.3 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/1.633, allocations: 169.4 kB / 1.032 GB, free: 66.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002826/1.633, allocations: 352.7 kB / 1.032 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/1.633, allocations: 38.84 kB / 1.032 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.453e-06/1.633, allocations: 0 / 1.032 GB, free: 65.67 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.002844/1.636, allocations: 1.264 MB / 1.034 GB, free: 64.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/1.636, allocations: 136.5 kB / 1.034 GB, free: 64.18 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/1.637, allocations: 450 kB / 1.034 GB, free: 63.73 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/1.637, allocations: 33.7 kB / 1.034 GB, free: 63.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/1.637, allocations: 327 kB / 1.035 GB, free: 63.37 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.616e-05/1.637, allocations: 126.1 kB / 1.035 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/1.637, allocations: 0 / 1.035 GB, free: 63.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/1.637, allocations: 374.7 kB / 1.035 GB, free: 62.87 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002642/1.638, allocations: 201.5 kB / 1.035 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/1.638, allocations: 498.3 kB / 1.036 GB, free: 62.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005605/1.638, allocations: 332.4 kB / 1.036 GB, free: 61.72 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.638, allocations: 0 / 1.036 GB, free: 61.72 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001685/1.64, allocations: 0.8896 MB / 1.037 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/1.64, allocations: 10.34 kB / 1.037 GB, free: 60.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.64, allocations: 8 kB / 1.037 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000796/1.641, allocations: 229.1 kB / 1.037 GB, free: 60.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/1.641, allocations: 127.8 kB / 1.037 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007923/1.642, allocations: 0.8918 MB / 1.038 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/1.643, allocations: 35.95 kB / 1.038 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/1.643, allocations: 35.98 kB / 1.038 GB, free: 59.46 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 (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.0001279/1.643, allocations: 132.8 kB / 1.038 GB, free: 59.33 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.82e-05/1.643, allocations: 59.25 kB / 1.038 GB, free: 59.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/1.644, allocations: 0.6329 MB / 1.039 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.644, allocations: 7.938 kB / 1.039 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.644, allocations: 0 / 1.039 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.644, allocations: 3.984 kB / 1.039 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/1.646, allocations: 1.507 MB / 1.041 GB, free: 56.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/1.646, allocations: 0 / 1.041 GB, free: 56.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009274/1.647, allocations: 183.7 kB / 1.041 GB, free: 56.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002221/1.647, allocations: 56.98 kB / 1.041 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/1.648, allocations: 8 kB / 1.041 GB, free: 56.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001723/1.649, allocations: 2.672 MB / 1.043 GB, free: 53.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/1.649, allocations: 7.906 kB / 1.043 GB, free: 53.83 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001396/1.651, allocations: 0.9803 MB / 1.044 GB, free: 52.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002581/1.651, allocations: 196.3 kB / 1.045 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.286e-05/1.651, allocations: 4 kB / 1.045 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/1.651, allocations: 20.05 kB / 1.045 GB, free: 52.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.308e-05/1.652, allocations: 31.89 kB / 1.045 GB, free: 52.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/1.652, allocations: 19.98 kB / 1.045 GB, free: 52.49 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003389/1.652, allocations: 330.8 kB / 1.045 GB, free: 52.17 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008982/1.653, allocations: 199.9 kB / 1.045 GB, free: 51.97 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 (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.0005729/1.653, allocations: 272.1 kB / 1.045 GB, free: 51.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008557/1.654, allocations: 0.5315 MB / 1.046 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.654, allocations: 0 / 1.046 GB, free: 51.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/1.656, allocations: 478.4 kB / 1.046 GB, free: 50.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001191/1.657, allocations: 251.1 kB / 1.047 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00183/1.659, allocations: 0.9706 MB / 1.048 GB, free: 49.44 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006514/1.659, allocations: 1.024 MB / 1.049 GB, free: 48.39 MB / 0.5105 GB Notification: Performance of SimCode: time 5.92e-07/1.659, allocations: 7.938 kB / 1.049 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.02012/1.679, allocations: 12.36 MB / 1.061 GB, free: 36.12 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches