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.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.001344/0.001344, allocations: 69.64 kB / 21.24 MB, free: 0.5547 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.001432/0.001432, allocations: 160.9 kB / 24.5 MB, free: 3.715 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.434/1.434, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2105/0.2105, allocations: 32.82 MB / 294.1 MB, free: 12 kB / 270.1 MB " [Timeout remaining time 180] 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.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.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 67.91 kB / 440.6 MB, free: 9.422 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3043, allocations: 65.45 MB / 0.4942 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0364/0.3407, allocations: 39.8 MB / 0.533 GB, free: 5.16 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005829/0.3465, allocations: 4.069 MB / 0.537 GB, free: 2.426 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000724/0.3472, allocations: 31.38 kB / 0.537 GB, free: 2.406 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.3482, allocations: 309.1 kB / 0.5373 GB, free: 2.242 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002226/0.3505, allocations: 0.8813 MB / 0.5382 GB, free: 1.738 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003254/0.3537, allocations: 0.9138 MB / 0.5391 GB, free: 1.277 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003248/0.357, allocations: 1.812 MB / 0.5409 GB, free: 484 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007672/0.3577, allocations: 396 kB / 0.5412 GB, free: 316 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1238/0.4815, allocations: 44.31 MB / 0.5845 GB, free: 12 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02198/0.5035, allocations: 7.939 MB / 0.5923 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003168/0.5038, allocations: 60 kB / 0.5923 GB, free: 3.918 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03025/0.5341, allocations: 10.6 MB / 0.6027 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006457/0.5347, allocations: 267.2 kB / 0.6029 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009252/0.5356, allocations: 330.6 kB / 0.6032 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002329/0.538, allocations: 1.082 MB / 0.6043 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.538, allocations: 4 kB / 0.6043 GB, free: 7.531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.538, allocations: 3.938 kB / 0.6043 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.725e-05/0.538, allocations: 4 kB / 0.6043 GB, free: 7.523 MB / 0.4981 GB 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.002799/0.5408, allocations: 0.9834 MB / 0.6053 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.5409, allocations: 12.03 kB / 0.6053 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000448/0.5413, allocations: 100.4 kB / 0.6054 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.5423, allocations: 474.7 kB / 0.6058 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.5425, allocations: 156.4 kB / 0.606 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.5426, allocations: 52.12 kB / 0.606 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.5442, allocations: 1.072 MB / 0.6071 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.5442, allocations: 7.922 kB / 0.6071 GB, free: 4.465 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.201e-05/0.5443, allocations: 27.98 kB / 0.6071 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.5444, allocations: 36.98 kB / 0.6071 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.5456, allocations: 0.64 MB / 0.6078 GB, free: 3.762 MB / 0.4981 GB 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.005097/0.5507, allocations: 3.337 MB / 0.611 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.5517, allocations: 395.9 kB / 0.6114 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003518/0.5521, allocations: 193.4 kB / 0.6116 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002963/0.5524, allocations: 48.3 kB / 0.6116 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.5524, allocations: 42.88 kB / 0.6117 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.224e-06/0.5524, allocations: 0 / 0.6117 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003456/0.5559, allocations: 1.449 MB / 0.6131 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.583e-05/0.556, allocations: 144.5 kB / 0.6132 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006664/0.5566, allocations: 0.5104 MB / 0.6137 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.5567, allocations: 33.7 kB / 0.6138 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002922/0.557, allocations: 372.3 kB / 0.6141 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.5571, allocations: 174.5 kB / 0.6143 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.5574, allocations: 138.6 kB / 0.6144 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5576, allocations: 374.7 kB / 0.6148 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004198/0.558, allocations: 225.9 kB / 0.615 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007187/0.5587, allocations: 0.6032 MB / 0.6156 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.5598, allocations: 0.7767 MB / 0.6163 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.5598, allocations: 0 / 0.6163 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001908/0.5617, allocations: 0.9309 MB / 0.6172 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.5618, allocations: 8 kB / 0.6172 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.5618, allocations: 8 kB / 0.6173 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.5629, allocations: 277.1 kB / 0.6175 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004388/0.5634, allocations: 127.8 kB / 0.6176 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.5644, allocations: 0.8645 MB / 0.6185 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.5649, allocations: 23.94 kB / 0.6185 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.565, allocations: 39.98 kB / 0.6185 GB, free: 8.16 MB / 0.5137 GB 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.0003735/0.5653, allocations: 245.5 kB / 0.6188 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.5655, allocations: 59.62 kB / 0.6188 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.5669, allocations: 0.7206 MB / 0.6195 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.567, allocations: 4 kB / 0.6195 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.567, allocations: 0 / 0.6195 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.225e-06/0.567, allocations: 3.984 kB / 0.6195 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.5692, allocations: 1.235 MB / 0.6208 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5692, allocations: 4 kB / 0.6208 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.5702, allocations: 187.8 kB / 0.6209 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/0.5705, allocations: 68.88 kB / 0.621 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.5705, allocations: 12 kB / 0.621 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002504/0.573, allocations: 2.73 MB / 0.6237 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.573, allocations: 0 / 0.6237 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.5747, allocations: 0.9993 MB / 0.6247 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002836/0.5749, allocations: 131.5 kB / 0.6248 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.927e-05/0.575, allocations: 12 kB / 0.6248 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003825/0.5754, allocations: 20.11 kB / 0.6248 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.56e-05/0.5755, allocations: 39.88 kB / 0.6248 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.5756, allocations: 19.98 kB / 0.6249 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004377/0.576, allocations: 350.8 kB / 0.6252 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.576, allocations: 0 / 0.6252 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008136/0.5768, allocations: 207.8 kB / 0.6254 GB, free: 0.8125 MB / 0.5137 GB 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.0004337/0.5773, allocations: 229.1 kB / 0.6256 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001252/0.5785, allocations: 0.5857 MB / 0.6262 GB, free: 4 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5785, allocations: 0 / 0.6262 GB, free: 4 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.5798, allocations: 475.9 kB / 0.6266 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/0.5813, allocations: 317.5 kB / 0.6269 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002508/0.5838, allocations: 1.415 MB / 0.6283 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.5842, allocations: 341.1 kB / 0.6287 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006042/0.5848, allocations: 202.9 kB / 0.6288 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001603/0.585, allocations: 60.48 kB / 0.6289 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of SimCode: time 5.51e-07/0.585, allocations: 0 / 0.6289 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of Templates: time 0.02603/0.611, allocations: 13.91 MB / 0.6425 GB, free: 15.53 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.5857834269991145]