Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001525/0.001525, allocations: 113 kB / 17.08 MB, free: 5.988 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.001764/0.001764, allocations: 191.1 kB / 18.01 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.369/1.369, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1991/0.1991, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 75.88 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09836/0.09992, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2703/0.3703, allocations: 43.93 MB / 0.5315 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005786/0.3761, allocations: 4.37 MB / 0.5357 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006289/0.3768, allocations: 21.59 kB / 0.5357 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008225/0.3776, allocations: 320.6 kB / 0.536 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002099/0.3797, allocations: 0.8461 MB / 0.5369 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.3823, allocations: 0.9057 MB / 0.5378 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002471/0.3847, allocations: 1.794 MB / 0.5395 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008663/0.3856, allocations: 454.8 kB / 0.5399 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1002/0.4858, allocations: 44.52 MB / 0.5834 GB, free: 14.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01748/0.5034, allocations: 7.947 MB / 0.5912 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002258/0.5036, allocations: 60 kB / 0.5912 GB, free: 6.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02375/0.5274, allocations: 10.68 MB / 0.6017 GB, free: 11.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00055/0.528, allocations: 258.5 kB / 0.6019 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007375/0.5287, allocations: 388.6 kB / 0.6023 GB, free: 11 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001705/0.5304, allocations: 1.085 MB / 0.6033 GB, free: 9.953 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5305, allocations: 4 kB / 0.6033 GB, free: 9.949 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5305, allocations: 0 / 0.6033 GB, free: 9.949 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.5305, allocations: 0 / 0.6033 GB, free: 9.949 MB / 462.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.002162/0.5327, allocations: 1.052 MB / 0.6044 GB, free: 8.863 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.5327, allocations: 15.89 kB / 0.6044 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003493/0.5331, allocations: 84.09 kB / 0.6045 GB, free: 8.766 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007838/0.5339, allocations: 0.5322 MB / 0.605 GB, free: 8.203 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001098/0.534, allocations: 104.4 kB / 0.6051 GB, free: 8.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.886e-05/0.5341, allocations: 49.94 kB / 0.6051 GB, free: 8.047 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.5353, allocations: 0.8224 MB / 0.6059 GB, free: 7.164 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.5354, allocations: 3.938 kB / 0.6059 GB, free: 7.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.5354, allocations: 25.97 kB / 0.606 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.975e-05/0.5355, allocations: 40.98 kB / 0.606 GB, free: 7.098 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001033/0.5365, allocations: 0.6439 MB / 0.6066 GB, free: 6.457 MB / 462.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.004811/0.5414, allocations: 4.218 MB / 0.6108 GB, free: 1.988 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008646/0.5422, allocations: 427.8 kB / 0.6112 GB, free: 1.566 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.5426, allocations: 209.4 kB / 0.6114 GB, free: 1.359 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004741/0.5431, allocations: 0.4944 MB / 0.6118 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.5431, allocations: 42.73 kB / 0.6119 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.494e-06/0.5431, allocations: 4 kB / 0.6119 GB, free: 0.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003171/0.5463, allocations: 1.521 MB / 0.6134 GB, free: 15.13 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.5464, allocations: 136.5 kB / 0.6135 GB, free: 14.96 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006786/0.5471, allocations: 0.5731 MB / 0.6141 GB, free: 14.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.5471, allocations: 33.7 kB / 0.6141 GB, free: 14.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.5474, allocations: 353.8 kB / 0.6144 GB, free: 13.99 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.5475, allocations: 157.6 kB / 0.6146 GB, free: 13.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.5477, allocations: 142.5 kB / 0.6147 GB, free: 13.69 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.5479, allocations: 384.8 kB / 0.6151 GB, free: 13.31 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.5483, allocations: 221.9 kB / 0.6153 GB, free: 13.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.5488, allocations: 0.52 MB / 0.6158 GB, free: 12.44 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009694/0.5498, allocations: 0.7792 MB / 0.6166 GB, free: 11.54 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.5498, allocations: 0 / 0.6166 GB, free: 11.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00182/0.5517, allocations: 0.9374 MB / 0.6175 GB, free: 10.59 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.5517, allocations: 16.17 kB / 0.6175 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.5517, allocations: 17.81 kB / 0.6175 GB, free: 10.56 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.5528, allocations: 261.6 kB / 0.6178 GB, free: 10.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004241/0.5533, allocations: 119.8 kB / 0.6179 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009688/0.5542, allocations: 0.8767 MB / 0.6187 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.5548, allocations: 28.06 kB / 0.6188 GB, free: 9.254 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.149e-05/0.5549, allocations: 39.98 kB / 0.6188 GB, free: 9.215 MB / 478.1 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 (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.0003616/0.5552, allocations: 237.5 kB / 0.619 GB, free: 8.973 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.5554, allocations: 63.25 kB / 0.6191 GB, free: 8.91 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.5567, allocations: 0.7219 MB / 0.6198 GB, free: 8.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.5567, allocations: 4 kB / 0.6198 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.5567, allocations: 0 / 0.6198 GB, free: 8.176 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.5567, allocations: 7.984 kB / 0.6198 GB, free: 8.168 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.5589, allocations: 1.396 MB / 0.6212 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.5589, allocations: 3.938 kB / 0.6212 GB, free: 6.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/0.5599, allocations: 199.9 kB / 0.6214 GB, free: 6.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000249/0.5602, allocations: 52.8 kB / 0.6214 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/0.5602, allocations: 15.98 kB / 0.6214 GB, free: 6.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002315/0.5625, allocations: 2.982 MB / 0.6243 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.5626, allocations: 0 / 0.6243 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.5641, allocations: 1.013 MB / 0.6253 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.5644, allocations: 204.2 kB / 0.6255 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.5646, allocations: 12 kB / 0.6255 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004093/0.565, allocations: 12 kB / 0.6255 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.829e-05/0.5651, allocations: 47.39 kB / 0.6256 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.367e-05/0.5651, allocations: 24.8 kB / 0.6256 GB, free: 1.824 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005056/0.5657, allocations: 423.1 kB / 0.626 GB, free: 1.41 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5657, allocations: 0 / 0.626 GB, free: 1.41 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007933/0.5665, allocations: 204 kB / 0.6262 GB, free: 1.211 MB / 478.1 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 (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.000566/0.567, allocations: 238.9 kB / 0.6264 GB, free: 0.9883 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.5683, allocations: 0.6008 MB / 0.627 GB, free: 400 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.5683, allocations: 0 / 0.627 GB, free: 400 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.5695, allocations: 474.5 kB / 0.6275 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.5713, allocations: 371.9 kB / 0.6278 GB, free: 15.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.5737, allocations: 1.435 MB / 0.6292 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.5742, allocations: 0.9383 MB / 0.6302 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002133/0.5744, allocations: 67.42 kB / 0.6302 GB, free: 13.04 MB / 494.1 MB Notification: Performance of SimCode: time 8.21e-07/0.5744, allocations: 4 kB / 0.6302 GB, free: 13.04 MB / 494.1 MB Notification: Performance of Templates: time 0.0207/0.5951, allocations: 15.61 MB / 0.6455 GB, free: 13.43 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches