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.0009134/0.0009134, allocations: 175.5 kB / 16.72 MB, free: 4.949 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.214/1.214, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0006987/0.0006987, allocations: 99.62 kB / 271.2 MB, free: 8.242 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.2738/0.2738, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003709, allocations: 8 kB / 432 MB, free: 5.566 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1006, allocations: 58.84 MB / 490.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.1888/0.2894, allocations: 19.19 MB / 0.4981 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004996/0.2945, allocations: 4.151 MB / 0.5021 GB, free: 34.4 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008881/0.2954, allocations: 22.72 kB / 0.5021 GB, free: 34.39 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008112/0.2962, allocations: 254.8 kB / 0.5024 GB, free: 34.26 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001968/0.2982, allocations: 0.841 MB / 0.5032 GB, free: 33.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00216/0.3003, allocations: 0.7025 MB / 0.5039 GB, free: 33.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.3026, allocations: 2.214 MB / 0.5061 GB, free: 32.63 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005428/0.3031, allocations: 388 kB / 0.5064 GB, free: 32.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.3046, allocations: 0.8061 MB / 0.5072 GB, free: 32.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008135/0.3054, allocations: 0.6258 MB / 0.5078 GB, free: 31.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.671e-05/0.3055, allocations: 31.5 kB / 0.5079 GB, free: 31.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007077/0.3062, allocations: 260.5 kB / 0.5081 GB, free: 31.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.3064, allocations: 232 kB / 0.5083 GB, free: 31.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003106/0.3067, allocations: 369.8 kB / 0.5087 GB, free: 31.64 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006558/0.3074, allocations: 0.7975 MB / 0.5095 GB, free: 31.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3074, allocations: 0 / 0.5095 GB, free: 31.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.3074, allocations: 6.75 kB / 0.5095 GB, free: 31.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.3074, allocations: 0 / 0.5095 GB, free: 31.46 MB / 378.7 MB 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.001734/0.3092, allocations: 0.908 MB / 0.5103 GB, free: 30.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3092, allocations: 9.75 kB / 0.5104 GB, free: 30.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003106/0.3095, allocations: 87.47 kB / 0.5104 GB, free: 30.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006726/0.3102, allocations: 0.5124 MB / 0.5109 GB, free: 30.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.713e-05/0.3103, allocations: 96.97 kB / 0.511 GB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.1e-05/0.3104, allocations: 51.97 kB / 0.5111 GB, free: 30.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3114, allocations: 0.8185 MB / 0.5119 GB, free: 29.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.145e-05/0.3115, allocations: 7.094 kB / 0.5119 GB, free: 29.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.426e-05/0.3115, allocations: 22.31 kB / 0.5119 GB, free: 29.85 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-05/0.3116, allocations: 37.75 kB / 0.5119 GB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008926/0.3125, allocations: 0.6397 MB / 0.5126 GB, free: 29.62 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.316, allocations: 4.225 MB / 0.5167 GB, free: 26.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007033/0.3168, allocations: 421 kB / 0.5171 GB, free: 26.03 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002697/0.317, allocations: 203.2 kB / 0.5173 GB, free: 25.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003377/0.3174, allocations: 0.5048 MB / 0.5178 GB, free: 25.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.3174, allocations: 42.23 kB / 0.5178 GB, free: 25.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 2.225e-06/0.3174, allocations: 0 / 0.5178 GB, free: 25.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.002675/0.3201, allocations: 1.524 MB / 0.5193 GB, free: 24.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.3202, allocations: 138.8 kB / 0.5194 GB, free: 24.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.3206, allocations: 0.5636 MB / 0.52 GB, free: 24.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.3207, allocations: 32.86 kB / 0.52 GB, free: 24.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.3208, allocations: 354.6 kB / 0.5204 GB, free: 23.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.204e-05/0.3209, allocations: 161.4 kB / 0.5205 GB, free: 23.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.274e-05/0.321, allocations: 8 kB / 0.5205 GB, free: 23.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.593e-05/0.3211, allocations: 381.2 kB / 0.5209 GB, free: 23.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.3214, allocations: 224.9 kB / 0.5211 GB, free: 23.22 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004093/0.3218, allocations: 0.5158 MB / 0.5216 GB, free: 22.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007507/0.3225, allocations: 0.7693 MB / 0.5224 GB, free: 22.15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.3226, allocations: 3.031 kB / 0.5224 GB, free: 22.15 MB / 378.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001613/0.3242, allocations: 0.9687 MB / 0.5233 GB, free: 21.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3242, allocations: 17.78 kB / 0.5233 GB, free: 21.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3242, allocations: 9.875 kB / 0.5233 GB, free: 21.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009986/0.3252, allocations: 272.8 kB / 0.5236 GB, free: 21.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003731/0.3256, allocations: 124.1 kB / 0.5237 GB, free: 21.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007204/0.3263, allocations: 0.8579 MB / 0.5246 GB, free: 21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.3268, allocations: 44.61 kB / 0.5246 GB, free: 20.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/0.3269, allocations: 36.94 kB / 0.5246 GB, free: 20.98 MB / 378.7 MB 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.0002566/0.3272, allocations: 258.3 kB / 0.5249 GB, free: 20.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.104e-05/0.3273, allocations: 61.25 kB / 0.5249 GB, free: 20.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/0.3285, allocations: 0.7116 MB / 0.5256 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.3285, allocations: 7.125 kB / 0.5256 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.3285, allocations: 6.906 kB / 0.5256 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3285, allocations: 3.562 kB / 0.5256 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.3302, allocations: 1.393 MB / 0.527 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.3302, allocations: 0 / 0.527 GB, free: 19.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009021/0.3311, allocations: 201.1 kB / 0.5272 GB, free: 19.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002537/0.3314, allocations: 59.11 kB / 0.5273 GB, free: 19.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.3315, allocations: 21.05 kB / 0.5273 GB, free: 19.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.333, allocations: 2.787 MB / 0.53 GB, free: 16.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.333, allocations: 3.188 kB / 0.53 GB, free: 16.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.3342, allocations: 0.9976 MB / 0.531 GB, free: 16.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000215/0.3344, allocations: 201.9 kB / 0.5312 GB, free: 16.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.889e-05/0.3345, allocations: 11.53 kB / 0.5312 GB, free: 16.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000377/0.3349, allocations: 28.05 kB / 0.5312 GB, free: 16.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.197e-05/0.335, allocations: 41.83 kB / 0.5312 GB, free: 16.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.041e-05/0.335, allocations: 24.3 kB / 0.5313 GB, free: 16.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003627/0.3354, allocations: 392.7 kB / 0.5316 GB, free: 15.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3354, allocations: 0 / 0.5316 GB, free: 15.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006993/0.3361, allocations: 208.6 kB / 0.5318 GB, free: 15.89 MB / 378.7 MB 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.0003931/0.3365, allocations: 235.8 kB / 0.5321 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009329/0.3375, allocations: 0.597 MB / 0.5326 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3375, allocations: 4 kB / 0.5327 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009677/0.3384, allocations: 477.9 kB / 0.5331 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/0.34, allocations: 321.2 kB / 0.5334 GB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.3418, allocations: 1.696 MB / 0.5351 GB, free: 14.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.3421, allocations: 0.9398 MB / 0.536 GB, free: 13.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.3423, allocations: 68.72 kB / 0.5361 GB, free: 13.51 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3423, allocations: 0 / 0.5361 GB, free: 13.51 MB / 378.7 MB Notification: Performance of Templates: time 0.01939/0.3617, allocations: 15.16 MB / 0.5509 GB, free: 8.566 MB / 378.7 MB 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/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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches