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.002237/0.002242, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.001101/0.001101, allocations: 82.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2772/0.2772, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.628e-05, allocations: 3.984 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.389, allocations: 420.3 MB / 0.8833 GB, free: 5.535 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003896/1.389, allocations: 98.61 kB / 0.8834 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7338/2.123, allocations: 119.3 MB / 0.9999 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.874e-06/2.123, allocations: 0 / 0.9999 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.723e-05/2.123, allocations: 20.19 kB / 0.9999 GB, free: 92 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.002961/2.126, allocations: 0.9773 MB / 1.001 GB, free: 90.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/2.126, allocations: 8.031 kB / 1.001 GB, free: 90.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005906/2.127, allocations: 91.02 kB / 1.001 GB, free: 90.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/2.128, allocations: 0.5406 MB / 1.001 GB, free: 90.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/2.128, allocations: 100.4 kB / 1.002 GB, free: 90.19 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/2.128, allocations: 51.98 kB / 1.002 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/2.13, allocations: 0.8007 MB / 1.002 GB, free: 89.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/2.13, allocations: 7.938 kB / 1.002 GB, free: 89.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/2.13, allocations: 20 kB / 1.002 GB, free: 89.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.384e-05/2.13, allocations: 40.98 kB / 1.002 GB, free: 89.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/2.132, allocations: 0.6206 MB / 1.003 GB, free: 88.57 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006665/2.139, allocations: 3.948 MB / 1.007 GB, free: 84.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/2.14, allocations: 387.9 kB / 1.007 GB, free: 84.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/2.14, allocations: 197.5 kB / 1.007 GB, free: 83.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005728/2.141, allocations: 0.5029 MB / 1.008 GB, free: 83.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/2.141, allocations: 34.89 kB / 1.008 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=40): time 3.687e-06/2.141, allocations: 0 / 1.008 GB, free: 83.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45): time 0.004285/2.145, allocations: 1.338 MB / 1.009 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/2.145, allocations: 132.5 kB / 1.009 GB, free: 81.61 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008636/2.146, allocations: 0.493 MB / 1.01 GB, free: 81.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001155/2.147, allocations: 37.7 kB / 1.01 GB, free: 81.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/2.147, allocations: 377.5 kB / 1.01 GB, free: 80.69 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/2.147, allocations: 173.6 kB / 1.01 GB, free: 80.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/2.147, allocations: 12 kB / 1.011 GB, free: 80.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.243e-05/2.147, allocations: 338.8 kB / 1.011 GB, free: 80.16 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/2.148, allocations: 213.5 kB / 1.011 GB, free: 79.96 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006584/2.148, allocations: 0.5063 MB / 1.012 GB, free: 79.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/2.149, allocations: 313.4 kB / 1.012 GB, free: 79.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/2.149, allocations: 4 kB / 1.012 GB, free: 79.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002519/2.152, allocations: 0.8712 MB / 1.013 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/2.152, allocations: 8 kB / 1.013 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/2.152, allocations: 12 kB / 1.013 GB, free: 78.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/2.153, allocations: 261.1 kB / 1.013 GB, free: 77.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008413/2.154, allocations: 119.8 kB / 1.013 GB, free: 77.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/2.155, allocations: 0.8588 MB / 1.014 GB, free: 76.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/2.157, allocations: 51.95 kB / 1.014 GB, free: 76.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.469e-05/2.157, allocations: 39.98 kB / 1.014 GB, free: 76.76 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/2.157, allocations: 152.7 kB / 1.014 GB, free: 76.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001598/2.157, allocations: 63.25 kB / 1.014 GB, free: 76.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/2.159, allocations: 0.6959 MB / 1.015 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/2.159, allocations: 4 kB / 1.015 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/2.159, allocations: 3.953 kB / 1.015 GB, free: 75.82 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/2.159, allocations: 3.984 kB / 1.015 GB, free: 75.81 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0032/2.162, allocations: 1.368 MB / 1.016 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/2.162, allocations: 4 kB / 1.016 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001902/2.164, allocations: 199.9 kB / 1.016 GB, free: 74.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004227/2.165, allocations: 56.7 kB / 1.016 GB, free: 74.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.434e-05/2.165, allocations: 11.98 kB / 1.016 GB, free: 74.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/2.167, allocations: 2.785 MB / 1.019 GB, free: 71.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/2.167, allocations: 3.953 kB / 1.019 GB, free: 71.03 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/2.17, allocations: 1.05 MB / 1.02 GB, free: 69.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005104/2.17, allocations: 200.2 kB / 1.02 GB, free: 69.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/2.17, allocations: 12 kB / 1.02 GB, free: 69.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000763/2.171, allocations: 28.05 kB / 1.02 GB, free: 69.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/2.171, allocations: 35.95 kB / 1.02 GB, free: 69.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.581e-05/2.171, allocations: 23.98 kB / 1.021 GB, free: 69.59 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006728/2.172, allocations: 389.5 kB / 1.021 GB, free: 69.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.51e-07/2.172, allocations: 0 / 1.021 GB, free: 69.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001326/2.173, allocations: 235.9 kB / 1.021 GB, free: 68.98 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * 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.0007157/2.174, allocations: 259.1 kB / 1.021 GB, free: 68.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001719/2.176, allocations: 0.5777 MB / 1.022 GB, free: 68.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/2.176, allocations: 0 / 1.022 GB, free: 68.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00174/2.178, allocations: 458 kB / 1.022 GB, free: 67.69 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002822/2.181, allocations: 327.2 kB / 1.023 GB, free: 67.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/2.183, allocations: 1.056 MB / 1.024 GB, free: 66.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/2.184, allocations: 0.9466 MB / 1.025 GB, free: 65.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/2.184, allocations: 67.41 kB / 1.025 GB, free: 65.22 MB / 0.4948 GB Notification: Performance of SimCode: time 1.212e-06/2.184, allocations: 0 / 1.025 GB, free: 65.22 MB / 0.4948 GB Notification: Performance of Templates: time 0.02811/2.212, allocations: 14.82 MB / 1.039 GB, free: 50.41 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/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