Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_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_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 3.2.3+maint.om/package.mo): time 0.0008906/0.0008906, allocations: 185 kB / 7.802 MB, free: 2.277 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.098/1.098, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.000878/0.0008779, allocations: 95.42 kB / 261.4 MB, free: 13.62 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.1718/0.1718, allocations: 43.47 MB / 352.8 MB, free: 2.043 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.891e-06/5.911e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2821, allocations: 58.83 MB / 476.6 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7496/1.032, allocations: 419.6 MB / 0.8751 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/1.032, allocations: 92.86 kB / 0.8752 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.2044/1.236, allocations: 118.9 MB / 0.9913 GB, free: 28.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.241e-05/1.236, allocations: 16.44 kB / 0.9914 GB, free: 28.12 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.002064/1.238, allocations: 0.9749 MB / 0.9923 GB, free: 27.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/1.239, allocations: 12.03 kB / 0.9923 GB, free: 27.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004248/1.239, allocations: 91.05 kB / 0.9924 GB, free: 27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/1.24, allocations: 0.5365 MB / 0.9929 GB, free: 26.43 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/1.24, allocations: 92.31 kB / 0.993 GB, free: 26.32 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.306e-05/1.24, allocations: 32 kB / 0.993 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008261/1.241, allocations: 0.5606 MB / 0.9936 GB, free: 25.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009423/1.242, allocations: 0.7507 MB / 0.9943 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.241e-05/1.242, allocations: 0 / 0.9943 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.049e-05/1.242, allocations: 7.938 kB / 0.9943 GB, free: 24.89 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.213e-05/1.242, allocations: 44.92 kB / 0.9944 GB, free: 24.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/1.246, allocations: 3.996 MB / 0.9983 GB, free: 20.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/1.246, allocations: 225.8 kB / 0.9985 GB, free: 20.37 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/1.247, allocations: 165.5 kB / 0.9987 GB, free: 20.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002689/1.247, allocations: 352.7 kB / 0.999 GB, free: 19.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.86e-05/1.247, allocations: 38.84 kB / 0.999 GB, free: 19.74 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/1.247, allocations: 0 / 0.999 GB, free: 19.74 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.00282/1.25, allocations: 1.275 MB / 1 GB, free: 18.41 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/1.25, allocations: 132.5 kB / 1 GB, free: 18.25 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/1.25, allocations: 462 kB / 1.001 GB, free: 17.79 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/1.25, allocations: 25.7 kB / 1.001 GB, free: 17.76 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/1.25, allocations: 319.1 kB / 1.001 GB, free: 17.44 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.902e-05/1.25, allocations: 138 kB / 1.001 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/1.25, allocations: 0 / 1.001 GB, free: 17.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.766e-05/1.251, allocations: 374.7 kB / 1.002 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002624/1.251, allocations: 205.4 kB / 1.002 GB, free: 16.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003515/1.251, allocations: 498.3 kB / 1.002 GB, free: 16.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005967/1.252, allocations: 329.2 kB / 1.003 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/1.252, allocations: 4 kB / 1.003 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001704/1.254, allocations: 0.8895 MB / 1.004 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/1.254, allocations: 4 kB / 1.004 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/1.254, allocations: 12 kB / 1.004 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007708/1.254, allocations: 230.4 kB / 1.004 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/1.255, allocations: 123.8 kB / 1.004 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007648/1.256, allocations: 0.897 MB / 1.005 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005558/1.256, allocations: 36.03 kB / 1.005 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.617e-05/1.256, allocations: 39.98 kB / 1.005 GB, free: 13.52 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.0001214/1.256, allocations: 126.2 kB / 1.005 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.901e-05/1.256, allocations: 59.25 kB / 1.005 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/1.258, allocations: 0.6264 MB / 1.006 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.258, allocations: 4 kB / 1.006 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/1.258, allocations: 7.938 kB / 1.006 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.258, allocations: 4.031 kB / 1.006 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/1.26, allocations: 1.499 MB / 1.007 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/1.26, allocations: 0 / 1.007 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009075/1.26, allocations: 184 kB / 1.007 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002155/1.261, allocations: 52.8 kB / 1.007 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.365e-05/1.261, allocations: 8 kB / 1.007 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/1.262, allocations: 2.674 MB / 1.01 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/1.262, allocations: 0 / 1.01 GB, free: 7.914 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001213/1.263, allocations: 0.9882 MB / 1.011 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002215/1.264, allocations: 196.3 kB / 1.011 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.648e-05/1.264, allocations: 4 kB / 1.011 GB, free: 6.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/1.264, allocations: 23.98 kB / 1.011 GB, free: 6.609 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.694e-05/1.264, allocations: 31.86 kB / 1.011 GB, free: 6.578 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-05/1.264, allocations: 19.98 kB / 1.011 GB, free: 6.559 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0002775/1.265, allocations: 326.9 kB / 1.011 GB, free: 6.242 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000744/1.265, allocations: 199.9 kB / 1.012 GB, free: 6.047 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.0004429/1.266, allocations: 262.4 kB / 1.012 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007629/1.267, allocations: 0.5349 MB / 1.012 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/1.267, allocations: 0 / 1.012 GB, free: 5.254 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/1.268, allocations: 474.9 kB / 1.013 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.269, allocations: 263.4 kB / 1.013 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/1.27, allocations: 0.9707 MB / 1.014 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005055/1.271, allocations: 1.012 MB / 1.015 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/1.271, allocations: 0 / 1.015 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of Templates: time 0.1615/1.432, allocations: 12.36 MB / 1.027 GB, free: 165.6 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches