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.001129/0.001129, allocations: 112.8 kB / 17.05 MB, free: 5.77 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.001078/0.001077, allocations: 196.2 kB / 17.98 MB, free: 4.973 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.337/1.337, allocations: 205.1 MB / 223.9 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.1992/0.1992, allocations: 43.52 MB / 314.7 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.001652/0.001652, allocations: 69.14 kB / 442.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.115, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.2792/0.3942, allocations: 43.94 MB / 0.5314 GB, free: 3.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005998/0.4002, allocations: 4.364 MB / 0.5357 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000895/0.4012, allocations: 18.91 kB / 0.5357 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009079/0.4021, allocations: 322.8 kB / 0.536 GB, free: 3.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00209/0.4042, allocations: 0.8466 MB / 0.5368 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.4068, allocations: 0.9027 MB / 0.5377 GB, free: 3.469 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.4093, allocations: 1.79 MB / 0.5395 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007487/0.4101, allocations: 467.3 kB / 0.5399 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1069/0.517, allocations: 44.5 MB / 0.5834 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02011/0.5372, allocations: 7.95 MB / 0.5911 GB, free: 6.402 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.5375, allocations: 60 kB / 0.5912 GB, free: 6.344 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02799/0.5655, allocations: 10.68 MB / 0.6016 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005203/0.566, allocations: 261.2 kB / 0.6019 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006835/0.5667, allocations: 389.4 kB / 0.6022 GB, free: 11 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.5684, allocations: 1.091 MB / 0.6033 GB, free: 9.957 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.5685, allocations: 0 / 0.6033 GB, free: 9.957 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5685, allocations: 0 / 0.6033 GB, free: 9.957 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.5685, allocations: 0 / 0.6033 GB, free: 9.957 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.002112/0.5706, allocations: 1.057 MB / 0.6043 GB, free: 8.867 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5707, allocations: 11.89 kB / 0.6043 GB, free: 8.855 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003417/0.571, allocations: 88.08 kB / 0.6044 GB, free: 8.77 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007762/0.5718, allocations: 0.5291 MB / 0.6049 GB, free: 8.211 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.5719, allocations: 101.5 kB / 0.605 GB, free: 8.105 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.134e-05/0.572, allocations: 48.38 kB / 0.6051 GB, free: 8.059 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.5732, allocations: 0.8234 MB / 0.6059 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.5732, allocations: 0 / 0.6059 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.665e-05/0.5733, allocations: 26.81 kB / 0.6059 GB, free: 7.152 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.897e-05/0.5734, allocations: 44.97 kB / 0.606 GB, free: 7.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.5744, allocations: 0.6478 MB / 0.6066 GB, free: 6.465 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.004638/0.5791, allocations: 4.215 MB / 0.6107 GB, free: 1.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000882/0.58, allocations: 415.7 kB / 0.6111 GB, free: 1.586 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.5803, allocations: 209.4 kB / 0.6113 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.5808, allocations: 0.499 MB / 0.6118 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.5808, allocations: 42.58 kB / 0.6118 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.555e-06/0.5808, allocations: 4 kB / 0.6118 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.00322/0.5841, allocations: 1.515 MB / 0.6133 GB, free: 15.15 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.733e-05/0.5842, allocations: 144.5 kB / 0.6134 GB, free: 14.98 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006715/0.5848, allocations: 0.5692 MB / 0.614 GB, free: 14.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.5849, allocations: 33.7 kB / 0.614 GB, free: 14.36 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.5852, allocations: 352.5 kB / 0.6144 GB, free: 14.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.5853, allocations: 166.6 kB / 0.6145 GB, free: 13.85 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001868/0.5855, allocations: 136.7 kB / 0.6147 GB, free: 13.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5856, allocations: 382.7 kB / 0.615 GB, free: 13.33 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.586, allocations: 225.9 kB / 0.6152 GB, free: 13.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005885/0.5866, allocations: 0.5201 MB / 0.6157 GB, free: 12.45 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009623/0.5876, allocations: 0.7749 MB / 0.6165 GB, free: 11.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5876, allocations: 4 kB / 0.6165 GB, free: 11.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001737/0.5894, allocations: 0.9413 MB / 0.6174 GB, free: 10.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.5894, allocations: 12.12 kB / 0.6174 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/0.5894, allocations: 12 kB / 0.6175 GB, free: 10.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/0.5905, allocations: 260.6 kB / 0.6177 GB, free: 10.32 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.5909, allocations: 131.8 kB / 0.6178 GB, free: 10.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009061/0.5918, allocations: 0.8678 MB / 0.6187 GB, free: 9.297 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.5923, allocations: 32.05 kB / 0.6187 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.578e-05/0.5924, allocations: 38.66 kB / 0.6187 GB, free: 9.23 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.0003309/0.5927, allocations: 249.5 kB / 0.619 GB, free: 8.977 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.5928, allocations: 63.25 kB / 0.619 GB, free: 8.914 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.5941, allocations: 0.7199 MB / 0.6197 GB, free: 8.188 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.5942, allocations: 15.97 kB / 0.6198 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.5942, allocations: 0 / 0.6198 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5942, allocations: 0 / 0.6198 GB, free: 8.172 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/0.5962, allocations: 1.391 MB / 0.6211 GB, free: 6.707 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.5962, allocations: 7.938 kB / 0.6211 GB, free: 6.699 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.5972, allocations: 196 kB / 0.6213 GB, free: 6.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002409/0.5975, allocations: 56.73 kB / 0.6214 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.5975, allocations: 15.98 kB / 0.6214 GB, free: 6.434 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00224/0.5998, allocations: 2.973 MB / 0.6243 GB, free: 3.191 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.5998, allocations: 7.969 kB / 0.6243 GB, free: 3.184 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.6013, allocations: 1.014 MB / 0.6253 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.6016, allocations: 200.1 kB / 0.6255 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.365e-05/0.6017, allocations: 15.98 kB / 0.6255 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003712/0.6021, allocations: 16.62 kB / 0.6255 GB, free: 1.887 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.446e-05/0.6022, allocations: 35.89 kB / 0.6255 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.6022, allocations: 19.98 kB / 0.6256 GB, free: 1.832 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005014/0.6027, allocations: 427.1 kB / 0.626 GB, free: 1.414 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6027, allocations: 0 / 0.626 GB, free: 1.414 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007595/0.6035, allocations: 200 kB / 0.6262 GB, free: 1.219 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.0004608/0.604, allocations: 237.9 kB / 0.6264 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.6051, allocations: 0.6008 MB / 0.627 GB, free: 404 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6051, allocations: 0 / 0.627 GB, free: 404 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.6062, allocations: 482.4 kB / 0.6274 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.001655/0.6079, allocations: 367.1 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.002169/0.6101, allocations: 1.432 MB / 0.6292 GB, free: 14.07 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.6106, allocations: 0.9383 MB / 0.6301 GB, free: 13.11 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001883/0.6108, allocations: 67.42 kB / 0.6302 GB, free: 13.04 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.6108, allocations: 4 kB / 0.6302 GB, free: 13.04 MB / 494.1 MB Notification: Performance of Templates: time 0.0202/0.631, allocations: 15.53 MB / 0.6453 GB, free: 13.51 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