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.001086/0.001086, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.0009927/0.0009927, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.396/1.396, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.1993/0.1993, allocations: 43.53 MB / 314.1 MB, free: 452 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.001305/0.001305, allocations: 67.89 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1071, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2906/0.3977, allocations: 43.93 MB / 0.5308 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006166/0.4039, allocations: 4.367 MB / 0.5351 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007934/0.4047, allocations: 21.41 kB / 0.5351 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001106/0.4059, allocations: 319.1 kB / 0.5354 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002162/0.4081, allocations: 0.8454 MB / 0.5362 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002568/0.4107, allocations: 0.9056 MB / 0.5371 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002237/0.4129, allocations: 1.788 MB / 0.5388 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006731/0.4136, allocations: 463.5 kB / 0.5393 GB, free: 3.441 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09891/0.5125, allocations: 44.52 MB / 0.5828 GB, free: 14.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01701/0.5296, allocations: 7.945 MB / 0.5905 GB, free: 6.379 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002603/0.5299, allocations: 60 kB / 0.5906 GB, free: 6.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02236/0.5523, allocations: 10.67 MB / 0.601 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005819/0.5529, allocations: 270.2 kB / 0.6013 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007956/0.5537, allocations: 390.5 kB / 0.6016 GB, free: 10.98 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.5554, allocations: 1.083 MB / 0.6027 GB, free: 9.934 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5555, allocations: 0 / 0.6027 GB, free: 9.934 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5555, allocations: 4 kB / 0.6027 GB, free: 9.93 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.5555, allocations: 0 / 0.6027 GB, free: 9.93 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.002061/0.5575, allocations: 1.048 MB / 0.6037 GB, free: 8.848 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5576, allocations: 19.89 kB / 0.6037 GB, free: 8.828 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003365/0.5579, allocations: 88.08 kB / 0.6038 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.5587, allocations: 0.5333 MB / 0.6043 GB, free: 8.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.5588, allocations: 100.6 kB / 0.6044 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.443e-05/0.5589, allocations: 49.94 kB / 0.6045 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.5601, allocations: 0.8152 MB / 0.6053 GB, free: 7.152 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.5601, allocations: 4 kB / 0.6053 GB, free: 7.148 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/0.5602, allocations: 26.66 kB / 0.6053 GB, free: 7.125 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.425e-05/0.5603, allocations: 48.84 kB / 0.6054 GB, free: 7.078 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009925/0.5613, allocations: 0.6478 MB / 0.606 GB, free: 6.434 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.004342/0.5656, allocations: 4.211 MB / 0.6101 GB, free: 1.969 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008288/0.5664, allocations: 419.9 kB / 0.6105 GB, free: 1.555 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003129/0.5668, allocations: 213.4 kB / 0.6107 GB, free: 1.344 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004549/0.5672, allocations: 0.5047 MB / 0.6112 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.5673, allocations: 38.89 kB / 0.6112 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.903e-06/0.5673, allocations: 0 / 0.6112 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.002994/0.5703, allocations: 1.522 MB / 0.6127 GB, free: 15.11 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.455e-05/0.5704, allocations: 136.5 kB / 0.6129 GB, free: 14.94 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006353/0.571, allocations: 0.5731 MB / 0.6134 GB, free: 14.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.5711, allocations: 29.7 kB / 0.6134 GB, free: 14.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.5713, allocations: 356.6 kB / 0.6138 GB, free: 13.97 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.5715, allocations: 161 kB / 0.6139 GB, free: 13.81 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/0.5717, allocations: 144.7 kB / 0.6141 GB, free: 13.67 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.5718, allocations: 374.7 kB / 0.6144 GB, free: 13.29 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.5722, allocations: 229.9 kB / 0.6146 GB, free: 13.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005783/0.5728, allocations: 0.5239 MB / 0.6152 GB, free: 12.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009711/0.5738, allocations: 0.7788 MB / 0.6159 GB, free: 11.51 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5738, allocations: 0 / 0.6159 GB, free: 11.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001677/0.5755, allocations: 0.9368 MB / 0.6168 GB, free: 10.56 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5755, allocations: 8 kB / 0.6168 GB, free: 10.55 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.5755, allocations: 12.84 kB / 0.6169 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/0.5765, allocations: 269.3 kB / 0.6171 GB, free: 10.28 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003947/0.577, allocations: 123.8 kB / 0.6172 GB, free: 10.16 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000891/0.5779, allocations: 0.8773 MB / 0.6181 GB, free: 9.262 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.5783, allocations: 31.98 kB / 0.6181 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.5783, allocations: 36 kB / 0.6182 GB, free: 9.195 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.0002812/0.5786, allocations: 245.6 kB / 0.6184 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.5787, allocations: 63.25 kB / 0.6184 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.58, allocations: 0.7155 MB / 0.6191 GB, free: 8.156 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.58, allocations: 4 kB / 0.6191 GB, free: 8.152 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.58, allocations: 0 / 0.6191 GB, free: 8.152 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.264e-06/0.58, allocations: 3.984 kB / 0.6192 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/0.5819, allocations: 1.394 MB / 0.6205 GB, free: 6.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5819, allocations: 3.938 kB / 0.6205 GB, free: 6.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000937/0.5829, allocations: 199.7 kB / 0.6207 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002165/0.5831, allocations: 57.66 kB / 0.6208 GB, free: 6.422 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.5831, allocations: 16 kB / 0.6208 GB, free: 6.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.5853, allocations: 2.986 MB / 0.6237 GB, free: 3.152 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.5853, allocations: 0.625 kB / 0.6237 GB, free: 3.152 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.5867, allocations: 1.006 MB / 0.6247 GB, free: 2.109 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.587, allocations: 204.2 kB / 0.6249 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-05/0.5871, allocations: 12 kB / 0.6249 GB, free: 1.879 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003772/0.5875, allocations: 19.98 kB / 0.6249 GB, free: 1.859 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.639e-05/0.5876, allocations: 43.83 kB / 0.6249 GB, free: 1.816 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.5876, allocations: 24.8 kB / 0.625 GB, free: 1.793 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004868/0.5881, allocations: 419 kB / 0.6254 GB, free: 1.383 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5881, allocations: 0 / 0.6254 GB, free: 1.383 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007474/0.5889, allocations: 200 kB / 0.6256 GB, free: 1.188 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.0004534/0.5893, allocations: 234.4 kB / 0.6258 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001096/0.5905, allocations: 0.6037 MB / 0.6264 GB, free: 368 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5905, allocations: 0 / 0.6264 GB, free: 368 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0011/0.5916, allocations: 483.8 kB / 0.6268 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.5932, allocations: 375.2 kB / 0.6272 GB, free: 15.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.5953, allocations: 1.392 MB / 0.6286 GB, free: 14.08 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.5958, allocations: 0.9461 MB / 0.6295 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005713/0.5963, allocations: 201.5 kB / 0.6297 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.5965, allocations: 63.42 kB / 0.6297 GB, free: 12.86 MB / 494.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5965, allocations: 0 / 0.6297 GB, free: 12.86 MB / 494.1 MB Notification: Performance of Templates: time 0.02498/0.6215, allocations: 15.29 MB / 0.6447 GB, free: 13.6 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/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","/var/lib/jenkins/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