Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,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.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 179.5 kB / 16.41 MB, free: 5.707 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.622/1.622, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007715/0.0007717, allocations: 97.05 kB / 270.9 MB, free: 8.355 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.3105/0.3105, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.000371, allocations: 20 kB / 431.4 MB, free: 5.898 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1025, allocations: 58.84 MB / 490.3 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2226/0.3252, allocations: 41.25 MB / 0.519 GB, free: 21.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004798/0.33, allocations: 4.201 MB / 0.5231 GB, free: 18.36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000754/0.3308, allocations: 24.69 kB / 0.5232 GB, free: 18.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.3318, allocations: 262.3 kB / 0.5234 GB, free: 18.2 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.00194/0.3338, allocations: 0.7899 MB / 0.5242 GB, free: 17.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001842/0.3357, allocations: 0.6925 MB / 0.5249 GB, free: 17.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002041/0.3377, allocations: 2.194 MB / 0.527 GB, free: 16.61 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006961/0.3384, allocations: 391.6 kB / 0.5274 GB, free: 16.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09745/0.4359, allocations: 73.47 MB / 0.5991 GB, free: 11.22 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01858/0.4545, allocations: 13.72 MB / 0.6125 GB, free: 13.5 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002719/0.4548, allocations: 32 kB / 0.6126 GB, free: 13.46 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02468/0.4795, allocations: 18.71 MB / 0.6308 GB, free: 10.74 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006068/0.4802, allocations: 227.3 kB / 0.6311 GB, free: 10.52 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.4806, allocations: 161.3 kB / 0.6312 GB, free: 10.36 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.4818, allocations: 0.7676 MB / 0.632 GB, free: 9.586 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4818, allocations: 4 kB / 0.632 GB, free: 9.582 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4818, allocations: 4 kB / 0.632 GB, free: 9.578 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.757e-05/0.4818, allocations: 0 / 0.632 GB, free: 9.578 MB / 458.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.002112/0.484, allocations: 0.9189 MB / 0.6329 GB, free: 8.613 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.484, allocations: 12.02 kB / 0.6329 GB, free: 8.602 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003564/0.4844, allocations: 94.28 kB / 0.633 GB, free: 8.512 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007798/0.4852, allocations: 0.4888 MB / 0.6334 GB, free: 7.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/0.4853, allocations: 100.4 kB / 0.6335 GB, free: 7.871 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.038e-05/0.4854, allocations: 51.98 kB / 0.6336 GB, free: 7.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001213/0.4866, allocations: 0.8143 MB / 0.6344 GB, free: 6.934 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.4866, allocations: 7.938 kB / 0.6344 GB, free: 6.926 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.879e-05/0.4867, allocations: 23.98 kB / 0.6344 GB, free: 6.902 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/0.4868, allocations: 40.98 kB / 0.6345 GB, free: 6.859 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.4878, allocations: 0.6361 MB / 0.6351 GB, free: 6.227 MB / 458.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.004523/0.4924, allocations: 4.229 MB / 0.6392 GB, free: 1.707 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008312/0.4932, allocations: 415.9 kB / 0.6396 GB, free: 1.293 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003107/0.4935, allocations: 201.4 kB / 0.6398 GB, free: 1.094 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/0.494, allocations: 0.499 MB / 0.6403 GB, free: 496 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.494, allocations: 38.89 kB / 0.6403 GB, free: 448 kB / 458.7 MB Notification: Performance of pre-optimization done (n=40): time 1.773e-06/0.494, allocations: 4 kB / 0.6403 GB, free: 444 kB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.003079/0.4971, allocations: 1.522 MB / 0.6418 GB, free: 14.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.4972, allocations: 136.5 kB / 0.6419 GB, free: 14.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.4979, allocations: 0.5654 MB / 0.6425 GB, free: 14.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.4979, allocations: 29.7 kB / 0.6425 GB, free: 14.08 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002455/0.4982, allocations: 362.8 kB / 0.6429 GB, free: 13.72 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.4983, allocations: 161.7 kB / 0.643 GB, free: 13.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.4983, allocations: 16 kB / 0.643 GB, free: 13.54 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4985, allocations: 374.8 kB / 0.6434 GB, free: 13.17 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000376/0.4989, allocations: 225.9 kB / 0.6436 GB, free: 12.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005572/0.4994, allocations: 0.524 MB / 0.6441 GB, free: 12.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.5, allocations: 312.6 kB / 0.6444 GB, free: 11.99 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/0.5, allocations: 4 kB / 0.6444 GB, free: 11.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001844/0.5018, allocations: 0.9647 MB / 0.6454 GB, free: 11.01 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.5018, allocations: 8.188 kB / 0.6454 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.5019, allocations: 15.94 kB / 0.6454 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.503, allocations: 271.3 kB / 0.6456 GB, free: 10.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.5034, allocations: 123.8 kB / 0.6458 GB, free: 10.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009134/0.5043, allocations: 0.8644 MB / 0.6466 GB, free: 9.707 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005113/0.5048, allocations: 43.97 kB / 0.6467 GB, free: 9.664 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.5049, allocations: 36 kB / 0.6467 GB, free: 9.629 MB / 474.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.0003172/0.5052, allocations: 249.5 kB / 0.6469 GB, free: 9.375 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.5053, allocations: 75.09 kB / 0.647 GB, free: 9.301 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.5066, allocations: 0.7092 MB / 0.6477 GB, free: 8.578 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5067, allocations: 7.938 kB / 0.6477 GB, free: 8.574 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.5067, allocations: 4 kB / 0.6477 GB, free: 8.57 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.5067, allocations: 3.984 kB / 0.6477 GB, free: 8.566 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.5088, allocations: 1.399 MB / 0.6491 GB, free: 7.086 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.5088, allocations: 3.953 kB / 0.6491 GB, free: 7.082 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009573/0.5097, allocations: 196 kB / 0.6493 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002837/0.51, allocations: 56.78 kB / 0.6493 GB, free: 6.832 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.5101, allocations: 19.98 kB / 0.6493 GB, free: 6.812 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002195/0.5123, allocations: 2.781 MB / 0.652 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5123, allocations: 0 / 0.652 GB, free: 3.766 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.5138, allocations: 0.9957 MB / 0.653 GB, free: 2.73 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002784/0.5141, allocations: 200.2 kB / 0.6532 GB, free: 2.516 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/0.5142, allocations: 12 kB / 0.6532 GB, free: 2.504 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.5146, allocations: 27.98 kB / 0.6532 GB, free: 2.477 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.035e-05/0.5147, allocations: 43.92 kB / 0.6533 GB, free: 2.434 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.5147, allocations: 28.92 kB / 0.6533 GB, free: 2.406 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004432/0.5152, allocations: 390.8 kB / 0.6537 GB, free: 2.027 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5152, allocations: 0 / 0.6537 GB, free: 2.027 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0007309/0.5159, allocations: 207.9 kB / 0.6539 GB, free: 1.824 MB / 474.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.0004571/0.5164, allocations: 234.6 kB / 0.6541 GB, free: 1.594 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.5175, allocations: 0.6008 MB / 0.6547 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5175, allocations: 7.938 kB / 0.6547 GB, free: 0.9844 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.5186, allocations: 466.3 kB / 0.6552 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.5202, allocations: 336.8 kB / 0.6555 GB, free: 200 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.5224, allocations: 1.704 MB / 0.6571 GB, free: 14.44 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.5229, allocations: 0.9309 MB / 0.658 GB, free: 13.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.5231, allocations: 67.42 kB / 0.6581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5231, allocations: 0 / 0.6581 GB, free: 13.42 MB / 490.7 MB Notification: Performance of Templates: time 0.1777/0.7007, allocations: 15.16 MB / 0.6729 GB, free: 149.4 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches