Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002228/0.002235, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.209/2.209, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001606/0.001606, allocations: 95.98 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3064/0.3064, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.205e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4105/0.4106, allocations: 58.86 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/1.733, allocations: 419.7 MB / 0.8757 GB, free: 136.4 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/1.734, allocations: 98.64 kB / 0.8758 GB, free: 136.4 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.3842/2.118, allocations: 118.3 MB / 0.9914 GB, free: 29.47 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.844e-06/2.118, allocations: 0 / 0.9914 GB, free: 29.47 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 6.768e-05/2.118, allocations: 23.98 kB / 0.9914 GB, free: 29.45 MB / 0.4952 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.003026/2.121, allocations: 0.9679 MB / 0.9924 GB, free: 28.43 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/2.121, allocations: 12.03 kB / 0.9924 GB, free: 28.42 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007335/2.122, allocations: 99 kB / 0.9925 GB, free: 28.32 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/2.124, allocations: 0.5273 MB / 0.993 GB, free: 27.75 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/2.124, allocations: 88.7 kB / 0.9931 GB, free: 27.66 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/2.124, allocations: 28 kB / 0.9931 GB, free: 27.63 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001458/2.126, allocations: 0.5453 MB / 0.9936 GB, free: 27.08 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/2.127, allocations: 0.7448 MB / 0.9944 GB, free: 26.26 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/2.127, allocations: 4 kB / 0.9944 GB, free: 26.25 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.455e-05/2.127, allocations: 4 kB / 0.9944 GB, free: 26.25 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.589e-05/2.127, allocations: 37.23 kB / 0.9944 GB, free: 26.21 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006305/2.134, allocations: 3.99 MB / 0.9983 GB, free: 21.97 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008174/2.135, allocations: 315.3 kB / 0.9986 GB, free: 21.65 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/2.135, allocations: 169.4 kB / 0.9988 GB, free: 21.48 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003729/2.135, allocations: 352.6 kB / 0.9991 GB, free: 21.07 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/2.135, allocations: 34.84 kB / 0.9991 GB, free: 21.02 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=34): time 3.496e-06/2.135, allocations: 0 / 0.9991 GB, free: 21.02 MB / 0.4952 GB Notification: Performance of matching and sorting (n=39): time 0.004414/2.14, allocations: 1.272 MB / 1 GB, free: 19.7 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/2.14, allocations: 140.5 kB / 1.001 GB, free: 19.53 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/2.141, allocations: 454 kB / 1.001 GB, free: 19.08 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 5.03e-05/2.141, allocations: 29.7 kB / 1.001 GB, free: 19.04 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002287/2.141, allocations: 413.5 kB / 1.001 GB, free: 18.64 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001245/2.141, allocations: 138 kB / 1.001 GB, free: 18.5 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/2.141, allocations: 0 / 1.001 GB, free: 18.5 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 9.031e-05/2.141, allocations: 346.8 kB / 1.002 GB, free: 18.15 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004371/2.142, allocations: 197.5 kB / 1.002 GB, free: 17.96 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/2.142, allocations: 486.3 kB / 1.002 GB, free: 17.35 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009688/2.143, allocations: 335.8 kB / 1.003 GB, free: 17.03 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/2.143, allocations: 8 kB / 1.003 GB, free: 17.02 MB / 0.4952 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002716/2.146, allocations: 0.8518 MB / 1.004 GB, free: 16.16 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/2.146, allocations: 15.12 kB / 1.004 GB, free: 16.14 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/2.146, allocations: 15.89 kB / 1.004 GB, free: 16.13 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/2.147, allocations: 229 kB / 1.004 GB, free: 15.9 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/2.148, allocations: 127.8 kB / 1.004 GB, free: 15.78 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/2.149, allocations: 0.8684 MB / 1.005 GB, free: 14.88 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009582/2.15, allocations: 31.92 kB / 1.005 GB, free: 14.85 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.709e-05/2.15, allocations: 35.98 kB / 1.005 GB, free: 14.82 MB / 0.4952 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.0001904/2.15, allocations: 136.8 kB / 1.005 GB, free: 14.68 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/2.15, allocations: 59.25 kB / 1.005 GB, free: 14.62 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/2.152, allocations: 0.5918 MB / 1.006 GB, free: 14.01 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/2.152, allocations: 4 kB / 1.006 GB, free: 14.01 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.934e-06/2.152, allocations: 0 / 1.006 GB, free: 14.01 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/2.152, allocations: 3.984 kB / 1.006 GB, free: 14 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/2.155, allocations: 1.48 MB / 1.007 GB, free: 12.4 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/2.155, allocations: 0 / 1.007 GB, free: 12.4 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001752/2.157, allocations: 196 kB / 1.007 GB, free: 12.21 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003606/2.158, allocations: 52.7 kB / 1.007 GB, free: 12.16 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/2.158, allocations: 4 kB / 1.007 GB, free: 12.15 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/2.16, allocations: 2.686 MB / 1.01 GB, free: 9.242 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.485e-06/2.16, allocations: 7.969 kB / 1.01 GB, free: 9.234 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/2.162, allocations: 0.965 MB / 1.011 GB, free: 8.191 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/2.162, allocations: 184.4 kB / 1.011 GB, free: 7.992 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/2.162, allocations: 4 kB / 1.011 GB, free: 7.988 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/2.163, allocations: 23.83 kB / 1.011 GB, free: 7.965 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/2.163, allocations: 39.97 kB / 1.011 GB, free: 7.926 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.879e-05/2.163, allocations: 19.98 kB / 1.011 GB, free: 7.906 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0004944/2.164, allocations: 326.9 kB / 1.012 GB, free: 7.59 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.51e-07/2.164, allocations: 0 / 1.012 GB, free: 7.59 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001197/2.165, allocations: 200 kB / 1.012 GB, free: 7.395 MB / 0.4952 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.0006643/2.166, allocations: 266.6 kB / 1.012 GB, free: 7.129 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001304/2.167, allocations: 0.5271 MB / 1.012 GB, free: 6.605 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/2.167, allocations: 0 / 1.012 GB, free: 6.605 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/2.169, allocations: 418.6 kB / 1.013 GB, free: 6.188 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/2.171, allocations: 275.2 kB / 1.013 GB, free: 5.914 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/2.173, allocations: 0.9953 MB / 1.014 GB, free: 4.871 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004533/2.173, allocations: 0.9458 MB / 1.015 GB, free: 3.898 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002752/2.174, allocations: 63.42 kB / 1.015 GB, free: 3.836 MB / 0.4952 GB Notification: Performance of SimCode: time 1.002e-06/2.174, allocations: 0 / 1.015 GB, free: 3.836 MB / 0.4952 GB Notification: Performance of Templates: time 0.3701/2.544, allocations: 14.21 MB / 1.029 GB, free: 115.7 MB / 0.4952 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/jenkins1/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