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.00144/0.00144, allocations: 104.1 kB / 17.63 MB, free: 5.477 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.001549/0.001549, allocations: 188 kB / 18.55 MB, free: 4.562 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.306/1.306, allocations: 222.9 MB / 242.2 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.2081/0.2081, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 64.19 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1159, allocations: 60.82 MB / 469.3 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04581/0.1617, allocations: 43.93 MB / 0.5012 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2342/0.396, allocations: 4.362 MB / 0.5054 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005586/0.3966, allocations: 21.97 kB / 0.5054 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008345/0.3974, allocations: 312.9 kB / 0.5057 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.3995, allocations: 0.8486 MB / 0.5066 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.4021, allocations: 0.8945 MB / 0.5074 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.4041, allocations: 1.794 MB / 0.5092 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007075/0.4048, allocations: 461.4 kB / 0.5096 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1029/0.5077, allocations: 44.53 MB / 0.5531 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02142/0.5292, allocations: 7.955 MB / 0.5609 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003844/0.5296, allocations: 60 kB / 0.5609 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02771/0.5573, allocations: 10.67 MB / 0.5714 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006571/0.558, allocations: 271.7 kB / 0.5716 GB, free: 15.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.5593, allocations: 392.4 kB / 0.572 GB, free: 15.12 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00387/0.5632, allocations: 1.071 MB / 0.573 GB, free: 14.09 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.5632, allocations: 0 / 0.573 GB, free: 14.09 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.5632, allocations: 0 / 0.573 GB, free: 14.09 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.37e-05/0.5633, allocations: 0 / 0.573 GB, free: 14.09 MB / 430.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.003284/0.5666, allocations: 1.058 MB / 0.5741 GB, free: 13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.5666, allocations: 12.03 kB / 0.5741 GB, free: 12.99 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004747/0.5671, allocations: 84.09 kB / 0.5742 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.5683, allocations: 0.5024 MB / 0.5747 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.5684, allocations: 103.3 kB / 0.5748 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.5686, allocations: 48.38 kB / 0.5748 GB, free: 12.23 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.57, allocations: 0.8213 MB / 0.5756 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.57, allocations: 8 kB / 0.5756 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.314e-05/0.5701, allocations: 26.34 kB / 0.5756 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.731e-05/0.5702, allocations: 40.16 kB / 0.5757 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.5713, allocations: 0.6439 MB / 0.5763 GB, free: 10.67 MB / 430.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.005116/0.5765, allocations: 4.23 MB / 0.5804 GB, free: 6.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008964/0.5774, allocations: 415.3 kB / 0.5808 GB, free: 5.797 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003464/0.5777, allocations: 210.6 kB / 0.581 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004917/0.5782, allocations: 0.5019 MB / 0.5815 GB, free: 4.984 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.5783, allocations: 43.2 kB / 0.5816 GB, free: 4.934 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.5783, allocations: 0 / 0.5816 GB, free: 4.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003331/0.5816, allocations: 1.519 MB / 0.5831 GB, free: 3.359 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.5817, allocations: 132.5 kB / 0.5832 GB, free: 3.199 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007332/0.5825, allocations: 0.5805 MB / 0.5837 GB, free: 2.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.739e-05/0.5825, allocations: 37.69 kB / 0.5838 GB, free: 2.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/0.5828, allocations: 354 kB / 0.5841 GB, free: 2.223 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.583, allocations: 164.5 kB / 0.5843 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.5832, allocations: 138.5 kB / 0.5844 GB, free: 1.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.5834, allocations: 380 kB / 0.5848 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.5838, allocations: 221.9 kB / 0.585 GB, free: 1.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.5845, allocations: 0.5187 MB / 0.5855 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.5855, allocations: 0.7791 MB / 0.5863 GB, free: 15.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.668e-06/0.5856, allocations: 4 kB / 0.5863 GB, free: 15.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001877/0.5875, allocations: 0.9426 MB / 0.5872 GB, free: 14.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.5875, allocations: 8 kB / 0.5872 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.5875, allocations: 8 kB / 0.5872 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001061/0.5886, allocations: 269.1 kB / 0.5874 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/0.589, allocations: 127.8 kB / 0.5876 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.5901, allocations: 0.8691 MB / 0.5884 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.5906, allocations: 24 kB / 0.5884 GB, free: 13.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.873e-05/0.5906, allocations: 35.94 kB / 0.5885 GB, free: 13.54 MB / 446.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.0003496/0.591, allocations: 257.5 kB / 0.5887 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.5912, allocations: 63.25 kB / 0.5888 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.5925, allocations: 0.7103 MB / 0.5895 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.5925, allocations: 4 kB / 0.5895 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5925, allocations: 4 kB / 0.5895 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5925, allocations: 0 / 0.5895 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.5948, allocations: 1.406 MB / 0.5909 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/0.5949, allocations: 7.938 kB / 0.5909 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009881/0.5959, allocations: 192 kB / 0.591 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000253/0.5961, allocations: 52.8 kB / 0.5911 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.5962, allocations: 11.98 kB / 0.5911 GB, free: 10.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002664/0.5989, allocations: 2.99 MB / 0.594 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5989, allocations: 4.031 kB / 0.594 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001515/0.6004, allocations: 0.9994 MB / 0.595 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.6007, allocations: 196.2 kB / 0.5952 GB, free: 6.227 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.6009, allocations: 19.94 kB / 0.5952 GB, free: 6.207 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004073/0.6013, allocations: 12.94 kB / 0.5952 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.752e-05/0.6014, allocations: 47.83 kB / 0.5953 GB, free: 6.148 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/0.6015, allocations: 19.98 kB / 0.5953 GB, free: 6.129 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005862/0.602, allocations: 423 kB / 0.5957 GB, free: 5.719 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6021, allocations: 0 / 0.5957 GB, free: 5.719 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008658/0.6029, allocations: 208 kB / 0.5959 GB, free: 5.516 MB / 446.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.0005558/0.6035, allocations: 247 kB / 0.5961 GB, free: 5.293 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.6049, allocations: 0.6722 MB / 0.5968 GB, free: 4.625 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/0.6049, allocations: 0 / 0.5968 GB, free: 4.625 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.6061, allocations: 495.3 kB / 0.5973 GB, free: 4.129 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001716/0.6078, allocations: 365.2 kB / 0.5976 GB, free: 3.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002414/0.6103, allocations: 1.407 MB / 0.599 GB, free: 2.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/0.6109, allocations: 0.9384 MB / 0.5999 GB, free: 1.371 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007551/0.6116, allocations: 207.6 kB / 0.6001 GB, free: 1.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.6118, allocations: 67.42 kB / 0.6002 GB, free: 1.113 MB / 446.1 MB Notification: Performance of SimCode: time 9.61e-07/0.6118, allocations: 0 / 0.6002 GB, free: 1.113 MB / 446.1 MB Notification: Performance of Templates: time 0.02742/0.6392, allocations: 15.12 MB / 0.6149 GB, free: 2.234 MB / 462.1 MB 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