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.001207/0.001207, allocations: 107.2 kB / 17.09 MB, free: 5.977 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.001288/0.001288, allocations: 195.3 kB / 18.02 MB, free: 5.062 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.416/1.416, 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.2139/0.2139, allocations: 43.53 MB / 314.8 MB, free: 464 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.001788/0.001788, allocations: 71.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1383, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3515/0.4898, allocations: 43.94 MB / 0.5315 GB, free: 3.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006339/0.4962, allocations: 4.362 MB / 0.5357 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007158/0.497, allocations: 22.34 kB / 0.5358 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009293/0.4979, allocations: 324 kB / 0.5361 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.5, allocations: 0.8415 MB / 0.5369 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.5024, allocations: 0.904 MB / 0.5378 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00224/0.5046, allocations: 1.797 MB / 0.5395 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007158/0.5054, allocations: 455.6 kB / 0.54 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.101/0.6064, allocations: 44.52 MB / 0.5834 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01729/0.6237, allocations: 7.945 MB / 0.5912 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003315/0.6241, allocations: 60 kB / 0.5912 GB, free: 6.309 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02455/0.6486, allocations: 10.68 MB / 0.6017 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005906/0.6492, allocations: 261.6 kB / 0.6019 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.6503, allocations: 388.8 kB / 0.6023 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.6528, allocations: 1.08 MB / 0.6034 GB, free: 9.926 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.6528, allocations: 4 kB / 0.6034 GB, free: 9.922 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.6528, allocations: 7.828 kB / 0.6034 GB, free: 9.918 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.68e-05/0.6529, allocations: 4 kB / 0.6034 GB, free: 9.914 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.002866/0.6557, allocations: 1.045 MB / 0.6044 GB, free: 8.832 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.6558, allocations: 11.89 kB / 0.6044 GB, free: 8.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004583/0.6563, allocations: 88.08 kB / 0.6045 GB, free: 8.734 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.6573, allocations: 0.5295 MB / 0.605 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.6575, allocations: 103.9 kB / 0.6051 GB, free: 8.066 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.6576, allocations: 58.69 kB / 0.6052 GB, free: 8.012 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.6589, allocations: 0.8147 MB / 0.606 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.659, allocations: 4 kB / 0.606 GB, free: 7.133 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.6591, allocations: 18.34 kB / 0.606 GB, free: 7.117 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.775e-05/0.6591, allocations: 48.92 kB / 0.606 GB, free: 7.07 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.6602, allocations: 0.6439 MB / 0.6066 GB, free: 6.43 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.004895/0.6651, allocations: 4.215 MB / 0.6108 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000886/0.666, allocations: 421.5 kB / 0.6112 GB, free: 1.543 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.6664, allocations: 212.3 kB / 0.6114 GB, free: 1.336 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/0.6668, allocations: 0.4973 MB / 0.6119 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.6669, allocations: 42.89 kB / 0.6119 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 1.994e-06/0.6669, allocations: 3.938 kB / 0.6119 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003272/0.6702, allocations: 1.52 MB / 0.6134 GB, free: 15.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.6703, allocations: 140.5 kB / 0.6135 GB, free: 14.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/0.6709, allocations: 0.5692 MB / 0.6141 GB, free: 14.35 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.671, allocations: 33.7 kB / 0.6141 GB, free: 14.31 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.6713, allocations: 354.8 kB / 0.6144 GB, free: 13.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.6714, allocations: 160.8 kB / 0.6146 GB, free: 13.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001919/0.6716, allocations: 140.1 kB / 0.6147 GB, free: 13.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6718, allocations: 382.7 kB / 0.6151 GB, free: 13.28 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.6722, allocations: 221.9 kB / 0.6153 GB, free: 13.07 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005721/0.6727, allocations: 0.524 MB / 0.6158 GB, free: 12.41 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.6738, allocations: 0.7716 MB / 0.6166 GB, free: 11.51 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.6738, allocations: 4 kB / 0.6166 GB, free: 11.51 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001771/0.6756, allocations: 0.9415 MB / 0.6175 GB, free: 10.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.6756, allocations: 12.06 kB / 0.6175 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.6756, allocations: 12 kB / 0.6175 GB, free: 10.53 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.6767, allocations: 260.6 kB / 0.6178 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000436/0.6772, allocations: 131.6 kB / 0.6179 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009261/0.6781, allocations: 0.8722 MB / 0.6187 GB, free: 9.25 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.6786, allocations: 27.98 kB / 0.6188 GB, free: 9.223 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.6786, allocations: 40 kB / 0.6188 GB, free: 9.184 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.0003127/0.679, allocations: 236 kB / 0.619 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.6791, allocations: 67.23 kB / 0.6191 GB, free: 8.879 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.6804, allocations: 0.7215 MB / 0.6198 GB, free: 8.148 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6805, allocations: 3.984 kB / 0.6198 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.6805, allocations: 0 / 0.6198 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002694/0.6807, allocations: 188.3 kB / 0.62 GB, free: 7.941 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.6809, allocations: 12 kB / 0.62 GB, free: 7.93 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/0.6812, allocations: 12.66 kB / 0.62 GB, free: 7.918 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.314e-05/0.6813, allocations: 36.39 kB / 0.62 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001731/0.6831, allocations: 0.7217 MB / 0.6208 GB, free: 7.152 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00128/0.6843, allocations: 0.974 MB / 0.6217 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003531/0.6847, allocations: 235.4 kB / 0.6219 GB, free: 5.934 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004689/0.6852, allocations: 398.8 kB / 0.6223 GB, free: 5.547 MB / 478.1 MB Notification: Performance of Backend: time 1.813e-06/0.6852, allocations: 0 / 0.6223 GB, free: 5.547 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.6869, allocations: 0.6418 MB / 0.6229 GB, free: 4.926 MB / 478.1 MB Notification: Performance of SimCode: time 0.00277/0.6897, allocations: 1.87 MB / 0.6248 GB, free: 3.02 MB / 478.1 MB Notification: Performance of Templates: time 0.02497/0.7146, allocations: 14.47 MB / 0.6389 GB, free: 4.605 MB / 494.1 MB 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