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.0008512/0.0008511, allocations: 177.3 kB / 17.41 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 223.6 MB, free: 9.023 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.0008718/0.0008718, allocations: 82.41 kB / 271.9 MB, free: 8.262 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.3673/0.3673, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 12 kB / 432.6 MB, free: 5.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 58.85 MB / 491.5 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/1.333, allocations: 420.6 MB / 0.8906 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/1.334, allocations: 97.34 kB / 0.8907 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2521/1.586, allocations: 119 MB / 1.007 GB, free: 54.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.635e-06/1.586, allocations: 0 / 1.007 GB, free: 54.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.532e-05/1.586, allocations: 16 kB / 1.007 GB, free: 54.34 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.002836/1.589, allocations: 1.05 MB / 1.008 GB, free: 53.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/1.589, allocations: 8.031 kB / 1.008 GB, free: 53.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005292/1.59, allocations: 92.09 kB / 1.008 GB, free: 53.14 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/1.591, allocations: 0.5491 MB / 1.009 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/1.591, allocations: 109.5 kB / 1.009 GB, free: 52.44 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/1.591, allocations: 47.91 kB / 1.009 GB, free: 52.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/1.592, allocations: 0.8268 MB / 1.01 GB, free: 51.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/1.592, allocations: 3.938 kB / 1.01 GB, free: 51.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.707e-05/1.592, allocations: 27.98 kB / 1.01 GB, free: 51.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/1.593, allocations: 36.98 kB / 1.01 GB, free: 51.41 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/1.594, allocations: 0.6399 MB / 1.01 GB, free: 50.78 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00405/1.598, allocations: 3.908 MB / 1.014 GB, free: 46.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000752/1.598, allocations: 397 kB / 1.014 GB, free: 46.25 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002855/1.599, allocations: 201.4 kB / 1.015 GB, free: 46.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003626/1.599, allocations: 0.5029 MB / 1.015 GB, free: 45.44 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/1.599, allocations: 34.89 kB / 1.015 GB, free: 45.39 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=40): time 2.926e-06/1.599, allocations: 0 / 1.015 GB, free: 45.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45): time 0.003113/1.602, allocations: 1.506 MB / 1.017 GB, free: 43.84 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/1.602, allocations: 136.5 kB / 1.017 GB, free: 43.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006766/1.603, allocations: 0.5692 MB / 1.017 GB, free: 43.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/1.603, allocations: 37.7 kB / 1.017 GB, free: 43.05 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/1.603, allocations: 355 kB / 1.018 GB, free: 42.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/1.603, allocations: 161.7 kB / 1.018 GB, free: 42.54 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.557e-05/1.603, allocations: 16 kB / 1.018 GB, free: 42.52 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001234/1.604, allocations: 370.8 kB / 1.018 GB, free: 42.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003514/1.604, allocations: 217.9 kB / 1.018 GB, free: 41.94 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004923/1.604, allocations: 0.521 MB / 1.019 GB, free: 41.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008852/1.605, allocations: 0.764 MB / 1.02 GB, free: 40.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/1.605, allocations: 4 kB / 1.02 GB, free: 40.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001742/1.607, allocations: 0.9327 MB / 1.021 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/1.607, allocations: 8 kB / 1.021 GB, free: 39.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.607, allocations: 12.88 kB / 1.021 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/1.608, allocations: 264.6 kB / 1.021 GB, free: 39.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004009/1.609, allocations: 127.8 kB / 1.021 GB, free: 39.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008165/1.61, allocations: 0.851 MB / 1.022 GB, free: 38.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006398/1.61, allocations: 48.03 kB / 1.022 GB, free: 38.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.937e-05/1.61, allocations: 36 kB / 1.022 GB, free: 38.08 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 () * Number of clocked 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.0003519/1.611, allocations: 253.4 kB / 1.022 GB, free: 37.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/1.611, allocations: 67.16 kB / 1.022 GB, free: 37.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/1.612, allocations: 0.6923 MB / 1.023 GB, free: 37.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/1.612, allocations: 11.94 kB / 1.023 GB, free: 37.04 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.612, allocations: 0 / 1.023 GB, free: 37.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.612, allocations: 7.984 kB / 1.023 GB, free: 37.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001965/1.614, allocations: 1.372 MB / 1.024 GB, free: 35.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.614, allocations: 4 kB / 1.024 GB, free: 35.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009148/1.615, allocations: 191.8 kB / 1.024 GB, free: 35.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002726/1.615, allocations: 68.91 kB / 1.025 GB, free: 35.31 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/1.615, allocations: 16 kB / 1.025 GB, free: 35.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/1.617, allocations: 2.793 MB / 1.027 GB, free: 32.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/1.617, allocations: 4 kB / 1.027 GB, free: 32.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/1.618, allocations: 0.9837 MB / 1.028 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003022/1.619, allocations: 196.2 kB / 1.028 GB, free: 31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/1.619, allocations: 15.94 kB / 1.028 GB, free: 30.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/1.619, allocations: 28.05 kB / 1.028 GB, free: 30.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/1.619, allocations: 43.83 kB / 1.029 GB, free: 30.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.584e-05/1.619, allocations: 19.98 kB / 1.029 GB, free: 30.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004545/1.62, allocations: 394.8 kB / 1.029 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.62, allocations: 0 / 1.029 GB, free: 30.52 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009392/1.621, allocations: 219.9 kB / 1.029 GB, free: 30.3 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 () * Number of clocked 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.0006537/1.622, allocations: 268.1 kB / 1.029 GB, free: 30.03 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001079/1.623, allocations: 0.5893 MB / 1.03 GB, free: 29.44 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/1.623, allocations: 4 kB / 1.03 GB, free: 29.44 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001048/1.624, allocations: 466.8 kB / 1.03 GB, free: 28.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/1.625, allocations: 338 kB / 1.031 GB, free: 28.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/1.628, allocations: 1.687 MB / 1.032 GB, free: 26.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/1.628, allocations: 0.9348 MB / 1.033 GB, free: 25.94 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/1.628, allocations: 67.42 kB / 1.033 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of SimCode: time 1.142e-06/1.628, allocations: 0 / 1.033 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.02165/1.65, allocations: 15.13 MB / 1.048 GB, free: 10.77 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