Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 113.8 kB / 17.78 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 183.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 44.18 MB / 336.7 MB, free: 2.707 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 63.91 kB / 470.6 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3563, allocations: 60.81 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04986/0.4062, allocations: 43.92 MB / 0.5618 GB, free: 56 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006876/0.4131, allocations: 4.389 MB / 0.5661 GB, free: 11.65 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008798/0.4141, allocations: 23.88 kB / 0.5661 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.4154, allocations: 310 kB / 0.5664 GB, free: 11.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002421/0.4178, allocations: 0.855 MB / 0.5672 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.4204, allocations: 0.8954 MB / 0.5681 GB, free: 9.574 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002914/0.4233, allocations: 1.798 MB / 0.5699 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007284/0.4241, allocations: 461.3 kB / 0.5703 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0947/0.5188, allocations: 44.54 MB / 0.6138 GB, free: 10.29 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0156/0.5344, allocations: 7.951 MB / 0.6216 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002251/0.5347, allocations: 60 kB / 0.6216 GB, free: 2.184 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02213/0.5568, allocations: 10.68 MB / 0.6321 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005226/0.5574, allocations: 255.3 kB / 0.6323 GB, free: 7.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006223/0.558, allocations: 398.2 kB / 0.6327 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.5596, allocations: 1.083 MB / 0.6337 GB, free: 5.645 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.5596, allocations: 4 kB / 0.6337 GB, free: 5.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5596, allocations: 0 / 0.6337 GB, free: 5.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.5596, allocations: 0 / 0.6337 GB, free: 5.641 MB / 494.1 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.002173/0.5618, allocations: 1.052 MB / 0.6348 GB, free: 4.539 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.5619, allocations: 12.03 kB / 0.6348 GB, free: 4.527 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000356/0.5622, allocations: 91.98 kB / 0.6349 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.563, allocations: 0.5211 MB / 0.6354 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.5631, allocations: 109 kB / 0.6355 GB, free: 3.758 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-05/0.5632, allocations: 56.02 kB / 0.6355 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/0.5645, allocations: 0.8136 MB / 0.6363 GB, free: 2.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.5645, allocations: 3.938 kB / 0.6363 GB, free: 2.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.869e-05/0.5646, allocations: 27.94 kB / 0.6364 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.333e-05/0.5646, allocations: 44.97 kB / 0.6364 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.5656, allocations: 0.64 MB / 0.637 GB, free: 2.094 MB / 494.1 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.004568/0.5702, allocations: 4.201 MB / 0.6411 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008825/0.5711, allocations: 423.9 kB / 0.6415 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003104/0.5714, allocations: 213.3 kB / 0.6417 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004867/0.5719, allocations: 0.4951 MB / 0.6422 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.572, allocations: 42.89 kB / 0.6423 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 1.663e-06/0.572, allocations: 0 / 0.6423 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003162/0.5752, allocations: 1.537 MB / 0.6438 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/0.5753, allocations: 136.5 kB / 0.6439 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006396/0.5759, allocations: 0.5655 MB / 0.6444 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.576, allocations: 29.7 kB / 0.6445 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.5762, allocations: 355 kB / 0.6448 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.5764, allocations: 165.7 kB / 0.645 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.5765, allocations: 142.5 kB / 0.6451 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001623/0.5767, allocations: 378.7 kB / 0.6455 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/0.5771, allocations: 229.8 kB / 0.6457 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.5777, allocations: 0.524 MB / 0.6462 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.5787, allocations: 0.7757 MB / 0.6469 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.5787, allocations: 0 / 0.6469 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001844/0.5806, allocations: 0.9454 MB / 0.6479 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/0.5806, allocations: 12 kB / 0.6479 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.5806, allocations: 8 kB / 0.6479 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.5816, allocations: 264.7 kB / 0.6481 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004029/0.5821, allocations: 123.8 kB / 0.6483 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009073/0.583, allocations: 0.8606 MB / 0.6491 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004196/0.5834, allocations: 31.98 kB / 0.6491 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-05/0.5835, allocations: 36 kB / 0.6492 GB, free: 4.801 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003375/0.5838, allocations: 245.5 kB / 0.6494 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.5839, allocations: 67.28 kB / 0.6495 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.5853, allocations: 0.7099 MB / 0.6502 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.5853, allocations: 4 kB / 0.6502 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.5853, allocations: 4 kB / 0.6502 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.5853, allocations: 7.984 kB / 0.6502 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.5873, allocations: 1.404 MB / 0.6515 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.5874, allocations: 0 / 0.6515 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009735/0.5883, allocations: 199.9 kB / 0.6517 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002299/0.5886, allocations: 60.69 kB / 0.6518 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.5886, allocations: 12 kB / 0.6518 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002409/0.591, allocations: 2.979 MB / 0.6547 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5911, allocations: 4.062 kB / 0.6547 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.5926, allocations: 1.001 MB / 0.6557 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002636/0.5929, allocations: 200.2 kB / 0.6559 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.69e-05/0.593, allocations: 8 kB / 0.6559 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003774/0.5933, allocations: 19.98 kB / 0.6559 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.5934, allocations: 39.83 kB / 0.656 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.5935, allocations: 28.05 kB / 0.656 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004958/0.594, allocations: 423 kB / 0.6564 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.594, allocations: 0 / 0.6564 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007779/0.5948, allocations: 200 kB / 0.6566 GB, free: 12.78 MB / 0.5137 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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000522/0.5953, allocations: 245.3 kB / 0.6568 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.5965, allocations: 0.6088 MB / 0.6574 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.5965, allocations: 8 kB / 0.6574 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.5977, allocations: 486.2 kB / 0.6579 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.5994, allocations: 364.3 kB / 0.6582 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.6016, allocations: 1.395 MB / 0.6596 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.6021, allocations: 0.9384 MB / 0.6605 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005996/0.6027, allocations: 218.2 kB / 0.6607 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.6029, allocations: 59.42 kB / 0.6608 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.6029, allocations: 0 / 0.6608 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of Templates: time 0.02609/0.629, allocations: 15.29 MB / 0.6757 GB, free: 9.312 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches