Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003084/0.00309, allocations: 189.2 kB / 16.4 MB, free: 5.625 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.928/2.928, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001146/0.001146, allocations: 106.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001645/0.001645, allocations: 12 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09284, allocations: 47.59 MB / 374.6 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.01611/0.109, allocations: 10.61 MB / 385.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002643/0.1117, allocations: 1.411 MB / 386.6 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.1119, allocations: 11.94 kB / 386.6 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006164/0.1125, allocations: 135.3 kB / 386.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005467/0.1131, allocations: 203.4 kB / 386.9 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008789/0.114, allocations: 231.4 kB / 387.2 MB, free: 2.781 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007375/0.1147, allocations: 459.1 kB / 387.6 MB, free: 2.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.1149, allocations: 68.69 kB / 387.7 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008439/0.1158, allocations: 346.9 kB / 388 MB, free: 1.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003272/0.1161, allocations: 167.3 kB / 388.2 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.564e-05/0.1162, allocations: 16 kB / 388.2 MB, free: 1.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00016/0.1164, allocations: 24 kB / 388.2 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1165, allocations: 67.78 kB / 388.3 MB, free: 1.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1166, allocations: 89.58 kB / 388.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.1171, allocations: 327.4 kB / 388.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1171, allocations: 0 / 388.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1171, allocations: 0 / 388.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.1172, allocations: 0 / 388.7 MB, free: 1.238 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001097/0.1183, allocations: 0.5224 MB / 389.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1183, allocations: 8.031 kB / 389.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.1187, allocations: 43.61 kB / 389.3 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.1191, allocations: 274.5 kB / 389.5 MB, free: 316 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.1192, allocations: 20.56 kB / 389.5 MB, free: 296 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.682e-05/0.1193, allocations: 24 kB / 389.6 MB, free: 272 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2498/0.3691, allocations: 296.2 kB / 389.9 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/0.3692, allocations: 1.969 kB / 389.9 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/0.3693, allocations: 10.97 kB / 389.9 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3693, allocations: 6.094 kB / 389.9 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.3699, allocations: 196.1 kB / 390.1 MB, free: 22.28 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.3723, allocations: 1.434 MB / 391.5 MB, free: 21.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.3728, allocations: 178.1 kB / 391.7 MB, free: 21.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.3729, allocations: 4.266 kB / 391.7 MB, free: 21.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.3729, allocations: 36.64 kB / 391.7 MB, free: 21.21 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 3.226e-06/0.373, allocations: 1.188 kB / 391.7 MB, free: 21.21 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.003734/0.3767, allocations: 1.014 MB / 392.7 MB, free: 20.7 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.643e-05/0.3767, allocations: 53.84 kB / 392.8 MB, free: 20.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.3771, allocations: 262.2 kB / 393 MB, free: 20.49 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.3772, allocations: 31.11 kB / 393.1 MB, free: 20.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3773, allocations: 239.8 kB / 393.3 MB, free: 20.24 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.801e-05/0.3774, allocations: 93.59 kB / 393.4 MB, free: 20.17 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.34e-05/0.3774, allocations: 9.031 kB / 393.4 MB, free: 20.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.656e-05/0.3775, allocations: 326.1 kB / 393.7 MB, free: 19.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.3777, allocations: 87.12 kB / 393.8 MB, free: 19.81 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.378, allocations: 180.8 kB / 394 MB, free: 19.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.3783, allocations: 108.6 kB / 394.1 MB, free: 19.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3784, allocations: 1.375 kB / 394.1 MB, free: 19.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001015/0.3794, allocations: 369 kB / 394.4 MB, free: 19.44 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.3794, allocations: 6.984 kB / 394.5 MB, free: 19.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.3794, allocations: 3.062 kB / 394.5 MB, free: 19.44 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/0.3799, allocations: 70.91 kB / 394.5 MB, free: 19.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/0.3804, allocations: 72.14 kB / 394.6 MB, free: 19.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.3828, allocations: 2.689 MB / 397.3 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.3833, allocations: 16.61 kB / 397.3 MB, free: 16.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.668e-05/0.3833, allocations: 19.28 kB / 397.3 MB, free: 16.69 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000205/0.3835, allocations: 150.9 kB / 397.5 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.797e-05/0.3836, allocations: 29.56 kB / 397.5 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.296e-05/0.3837, allocations: 44.16 kB / 397.5 MB, free: 16.51 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.3837, allocations: 2.812 kB / 397.5 MB, free: 16.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3838, allocations: 0.9844 kB / 397.5 MB, free: 16.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008207/0.3846, allocations: 0.5655 MB / 398.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.3861, allocations: 0.6987 MB / 398.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3861, allocations: 2.094 kB / 398.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003743/0.3865, allocations: 47.47 kB / 398.9 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.387, allocations: 58.97 kB / 398.9 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.387, allocations: 7.359 kB / 398.9 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.3884, allocations: 1.397 MB / 400.3 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3884, allocations: 2.922 kB / 400.3 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.3894, allocations: 480.8 kB / 400.8 MB, free: 13.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-05/0.3895, allocations: 102.2 kB / 400.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.3896, allocations: 6.25 kB / 400.9 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003882/0.39, allocations: 22.97 kB / 400.9 MB, free: 13.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.3901, allocations: 19.05 kB / 400.9 MB, free: 13.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.3901, allocations: 12.84 kB / 401 MB, free: 13.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002451/0.3904, allocations: 184.9 kB / 401.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.3904, allocations: 0 / 401.1 MB, free: 13.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006203/0.391, allocations: 92.19 kB / 401.2 MB, free: 13.54 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001457/0.3912, allocations: 103.5 kB / 401.3 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009891/0.3922, allocations: 469.1 kB / 401.8 MB, free: 13.13 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.3922, allocations: 3.938 kB / 401.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000542/0.3928, allocations: 235.4 kB / 402 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.3943, allocations: 147 kB / 402.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.396, allocations: 0.8491 MB / 403 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.3963, allocations: 0.7676 MB / 403.8 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.3964, allocations: 32.2 kB / 403.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3964, allocations: 0 / 403.8 MB, free: 11.68 MB / 282.7 MB Notification: Performance of Templates: time 0.01238/0.4088, allocations: 5.739 MB / 409.5 MB, free: 9.863 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches