Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002132/0.002132, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.592/1.592, allocations: 230.6 MB / 258.2 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2449/0.2449, allocations: 46.96 MB / 361.6 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002052/0.002052, allocations: 67.91 kB / 0.4973 GB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3642, allocations: 66.03 MB / 0.5618 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02336/0.3876, allocations: 18.68 MB / 0.5801 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006935/0.3945, allocations: 3.991 MB / 0.584 GB, free: 13.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007953/0.3953, allocations: 31.69 kB / 0.584 GB, free: 13.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.3963, allocations: 306 kB / 0.5843 GB, free: 13.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.3986, allocations: 0.8862 MB / 0.5852 GB, free: 12.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.4013, allocations: 0.9299 MB / 0.5861 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002696/0.404, allocations: 1.813 MB / 0.5878 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007605/0.4047, allocations: 397.5 kB / 0.5882 GB, free: 9.016 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.4069, allocations: 0.9652 MB / 0.5892 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001244/0.4082, allocations: 0.6812 MB / 0.5898 GB, free: 7.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.4083, allocations: 63.94 kB / 0.5899 GB, free: 7.301 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008229/0.4091, allocations: 275.7 kB / 0.5901 GB, free: 7.031 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003052/0.4094, allocations: 271.2 kB / 0.5904 GB, free: 6.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004118/0.4098, allocations: 330.6 kB / 0.5907 GB, free: 6.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001512/0.4113, allocations: 1.077 MB / 0.5918 GB, free: 5.363 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4113, allocations: 0 / 0.5918 GB, free: 5.363 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4113, allocations: 4 kB / 0.5918 GB, free: 5.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.4114, allocations: 4 kB / 0.5918 GB, free: 5.355 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.002448/0.4138, allocations: 0.9912 MB / 0.5927 GB, free: 4.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.4139, allocations: 12.03 kB / 0.5928 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.4142, allocations: 92.42 kB / 0.5928 GB, free: 4.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009908/0.4152, allocations: 478.7 kB / 0.5933 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/0.4154, allocations: 160.3 kB / 0.5935 GB, free: 3.555 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.4155, allocations: 52.31 kB / 0.5935 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001552/0.417, allocations: 1.076 MB / 0.5946 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/0.417, allocations: 3.938 kB / 0.5946 GB, free: 2.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/0.4171, allocations: 24 kB / 0.5946 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.389e-05/0.4172, allocations: 40.97 kB / 0.5946 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.4183, allocations: 0.64 MB / 0.5952 GB, free: 1.582 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.005207/0.4235, allocations: 3.325 MB / 0.5985 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.4244, allocations: 403.8 kB / 0.5989 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.4248, allocations: 201.4 kB / 0.5991 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.4251, allocations: 48.3 kB / 0.5991 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.4251, allocations: 38.89 kB / 0.5992 GB, free: 13.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.4251, allocations: 0 / 0.5992 GB, free: 13.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.00338/0.4285, allocations: 1.459 MB / 0.6006 GB, free: 11.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.412e-05/0.4286, allocations: 132.5 kB / 0.6007 GB, free: 11.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.4292, allocations: 0.5182 MB / 0.6012 GB, free: 11.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.4293, allocations: 29.7 kB / 0.6012 GB, free: 11.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.4295, allocations: 372.3 kB / 0.6016 GB, free: 10.86 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.4297, allocations: 170.6 kB / 0.6018 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00023/0.4299, allocations: 138.6 kB / 0.6019 GB, free: 10.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.4301, allocations: 370.8 kB / 0.6022 GB, free: 10.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.4305, allocations: 225.9 kB / 0.6025 GB, free: 9.957 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000722/0.4313, allocations: 0.5993 MB / 0.603 GB, free: 9.203 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/0.4323, allocations: 0.7834 MB / 0.6038 GB, free: 8.293 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.4323, allocations: 0 / 0.6038 GB, free: 8.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001848/0.4342, allocations: 0.9332 MB / 0.6047 GB, free: 7.348 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.367e-05/0.4342, allocations: 12 kB / 0.6047 GB, free: 7.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.4342, allocations: 12.78 kB / 0.6047 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.4354, allocations: 268.6 kB / 0.605 GB, free: 7.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004473/0.4359, allocations: 119.8 kB / 0.6051 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.4369, allocations: 0.8751 MB / 0.606 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.4374, allocations: 24 kB / 0.606 GB, free: 6.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.738e-05/0.4375, allocations: 35.98 kB / 0.606 GB, free: 5.984 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.0003637/0.4378, allocations: 241.5 kB / 0.6063 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.438, allocations: 67.69 kB / 0.6063 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.4394, allocations: 0.7089 MB / 0.607 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.4394, allocations: 4 kB / 0.607 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4394, allocations: 0 / 0.607 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.4394, allocations: 0 / 0.607 GB, free: 4.957 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.4415, allocations: 1.239 MB / 0.6082 GB, free: 3.652 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.4415, allocations: 4 kB / 0.6082 GB, free: 3.648 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.4426, allocations: 187.8 kB / 0.6084 GB, free: 3.465 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.4428, allocations: 65.05 kB / 0.6085 GB, free: 3.398 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.4429, allocations: 15.92 kB / 0.6085 GB, free: 3.383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00253/0.4454, allocations: 2.73 MB / 0.6112 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4454, allocations: 4.031 kB / 0.6112 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/0.4471, allocations: 0.9904 MB / 0.6121 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.4474, allocations: 123.5 kB / 0.6122 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.497e-05/0.4475, allocations: 11.98 kB / 0.6123 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.4479, allocations: 16.12 kB / 0.6123 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.54e-05/0.448, allocations: 43.86 kB / 0.6123 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.448, allocations: 16 kB / 0.6123 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004367/0.4485, allocations: 354.8 kB / 0.6127 GB, free: 14.86 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4485, allocations: 0 / 0.6127 GB, free: 14.86 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000795/0.4493, allocations: 203.8 kB / 0.6129 GB, free: 14.66 MB / 462.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.0004061/0.4497, allocations: 222.2 kB / 0.6131 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001221/0.4509, allocations: 0.5924 MB / 0.6136 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4509, allocations: 0.5625 kB / 0.6136 GB, free: 13.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.452, allocations: 466.2 kB / 0.6141 GB, free: 13.39 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/0.4535, allocations: 314.7 kB / 0.6144 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.456, allocations: 1.457 MB / 0.6158 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.4564, allocations: 333.1 kB / 0.6161 GB, free: 11.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.4566, allocations: 63.42 kB / 0.6162 GB, free: 11.16 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4566, allocations: 0 / 0.6162 GB, free: 11.16 MB / 462.1 MB Notification: Performance of Templates: time 0.02251/0.4791, allocations: 15.19 MB / 0.631 GB, free: 12.06 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.18382036901312]