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.001458/0.001458, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001611/0.001611, allocations: 194 kB / 18.77 MB, free: 4.742 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.48 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.1976/0.1976, allocations: 44.17 MB / 336.8 MB, free: 3.02 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 65.45 kB / 408.4 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1125, allocations: 60.82 MB / 469.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04948/0.1621, allocations: 46.33 MB / 0.5034 GB, free: 372 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.223/0.3851, allocations: 4.529 MB / 0.5079 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008779/0.386, allocations: 27.41 kB / 0.5079 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009381/0.387, allocations: 275.3 kB / 0.5081 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002012/0.3891, allocations: 0.8054 MB / 0.5089 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3914, allocations: 0.8026 MB / 0.5097 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003363/0.3948, allocations: 2.667 MB / 0.5123 GB, free: 11.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008065/0.3956, allocations: 393.2 kB / 0.5127 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1073/0.5029, allocations: 43.35 MB / 0.555 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02069/0.5237, allocations: 7.973 MB / 0.5628 GB, free: 10.94 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002969/0.524, allocations: 32 kB / 0.5628 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02784/0.5519, allocations: 10.64 MB / 0.5732 GB, free: 244 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005934/0.5525, allocations: 233.3 kB / 0.5735 GB, free: 16 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001053/0.5536, allocations: 376.4 kB / 0.5738 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.5549, allocations: 0.7939 MB / 0.5746 GB, free: 14.89 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.555, allocations: 0 / 0.5746 GB, free: 14.89 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.555, allocations: 0 / 0.5746 GB, free: 14.89 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.528e-05/0.555, allocations: 1.969 kB / 0.5746 GB, free: 14.89 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.002899/0.5579, allocations: 1.052 MB / 0.5756 GB, free: 13.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.558, allocations: 15.97 kB / 0.5756 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004396/0.5584, allocations: 93.39 kB / 0.5757 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009258/0.5594, allocations: 0.503 MB / 0.5762 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.5595, allocations: 104 kB / 0.5763 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.949e-05/0.5596, allocations: 52.38 kB / 0.5764 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.5611, allocations: 0.8277 MB / 0.5772 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.5611, allocations: 3.938 kB / 0.5772 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.411e-05/0.5612, allocations: 22.89 kB / 0.5772 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.557e-05/0.5612, allocations: 36.98 kB / 0.5772 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.5624, allocations: 0.6478 MB / 0.5779 GB, free: 11.41 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.005154/0.5675, allocations: 4.221 MB / 0.582 GB, free: 6.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009371/0.5685, allocations: 431.1 kB / 0.5824 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.5688, allocations: 205.4 kB / 0.5826 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005096/0.5694, allocations: 0.4911 MB / 0.5831 GB, free: 5.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.5694, allocations: 42.89 kB / 0.5831 GB, free: 5.66 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.164e-06/0.5694, allocations: 0 / 0.5831 GB, free: 5.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.00341/0.5728, allocations: 1.528 MB / 0.5846 GB, free: 4.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.5729, allocations: 132.5 kB / 0.5847 GB, free: 3.918 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007193/0.5737, allocations: 0.5693 MB / 0.5853 GB, free: 3.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.5737, allocations: 37.55 kB / 0.5853 GB, free: 3.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.574, allocations: 353.9 kB / 0.5857 GB, free: 2.953 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.5742, allocations: 157.6 kB / 0.5858 GB, free: 2.801 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.5744, allocations: 142.5 kB / 0.586 GB, free: 2.656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.5746, allocations: 382.7 kB / 0.5863 GB, free: 2.273 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.575, allocations: 221.9 kB / 0.5865 GB, free: 2.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/0.5756, allocations: 0.524 MB / 0.587 GB, free: 1.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.5767, allocations: 0.7751 MB / 0.5878 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5767, allocations: 0 / 0.5878 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001845/0.5785, allocations: 0.9492 MB / 0.5887 GB, free: 15.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5786, allocations: 12.06 kB / 0.5887 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.5786, allocations: 12 kB / 0.5887 GB, free: 15.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.5798, allocations: 266.6 kB / 0.589 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004547/0.5802, allocations: 123.8 kB / 0.5891 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009697/0.5812, allocations: 0.8645 MB / 0.59 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005436/0.5818, allocations: 43.92 kB / 0.59 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/0.5819, allocations: 35.98 kB / 0.59 GB, free: 14.17 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.0003319/0.5822, allocations: 246.1 kB / 0.5903 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.5823, allocations: 67.16 kB / 0.5903 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.5837, allocations: 0.7117 MB / 0.591 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.5837, allocations: 8 kB / 0.591 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5838, allocations: 0 / 0.591 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.5838, allocations: 3.984 kB / 0.591 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.586, allocations: 1.399 MB / 0.5924 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.586, allocations: 7.938 kB / 0.5924 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009944/0.587, allocations: 192 kB / 0.5926 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002688/0.5873, allocations: 56.78 kB / 0.5927 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.5873, allocations: 12 kB / 0.5927 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.5896, allocations: 2.788 MB / 0.5954 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/0.5896, allocations: 7.969 kB / 0.5954 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.5912, allocations: 0.9956 MB / 0.5964 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003215/0.5915, allocations: 196.1 kB / 0.5966 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.5916, allocations: 16 kB / 0.5966 GB, free: 7.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000491/0.5921, allocations: 31.98 kB / 0.5966 GB, free: 7.039 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.5922, allocations: 39.88 kB / 0.5966 GB, free: 7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.063e-05/0.5923, allocations: 20 kB / 0.5967 GB, free: 6.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005112/0.5928, allocations: 423 kB / 0.5971 GB, free: 6.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5928, allocations: 4 kB / 0.5971 GB, free: 6.566 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008323/0.5937, allocations: 204 kB / 0.5973 GB, free: 6.367 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.0005268/0.5942, allocations: 237 kB / 0.5975 GB, free: 6.152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.5954, allocations: 0.6084 MB / 0.5981 GB, free: 5.547 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5954, allocations: 0 / 0.5981 GB, free: 5.547 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001169/0.5966, allocations: 479.4 kB / 0.5985 GB, free: 5.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.5983, allocations: 350.9 kB / 0.5989 GB, free: 4.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/0.6008, allocations: 1.676 MB / 0.6005 GB, free: 3.016 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005189/0.6013, allocations: 0.9346 MB / 0.6014 GB, free: 2.055 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002017/0.6015, allocations: 67.42 kB / 0.6015 GB, free: 1.988 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.6015, allocations: 0 / 0.6015 GB, free: 1.988 MB / 446.1 MB Notification: Performance of Templates: time 0.02111/0.6226, allocations: 15.53 MB / 0.6167 GB, free: 2.582 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/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