Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009362/0.0009362, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002302, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008396/0.0008396, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001555/0.002394, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9818/0.9818, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1616/1.143, allocations: 52.48 MB / 238.5 MB, free: 7.645 MB / 234.7 MB " [Timeout remaining time 179] 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.1655/0.1655, allocations: 32.8 MB / 272 MB, free: 6.309 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02177/0.1873, allocations: 12.53 MB / 284.5 MB, free: 9.734 MB / 282.7 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.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 285.9 MB, free: 8.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.141e-05, allocations: 5.266 kB / 285.9 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.006141/0.006162, allocations: 7.337 MB / 293.2 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.009689, allocations: 2.506 MB / 295.7 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003681/0.01006, allocations: 27.75 kB / 295.7 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005165/0.01057, allocations: 214.5 kB / 295.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.01169, allocations: 0.765 MB / 296.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001382/0.01307, allocations: 0.8181 MB / 297.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.01463, allocations: 1.882 MB / 299.4 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000729/0.01536, allocations: 433.7 kB / 299.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.01672, allocations: 1.044 MB / 300.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000646/0.01736, allocations: 0.5648 MB / 301.4 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.999e-05/0.01744, allocations: 60 kB / 301.5 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004074/0.01785, allocations: 199.7 kB / 301.7 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.01803, allocations: 235.4 kB / 301.9 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.01823, allocations: 223.6 kB / 302.1 MB, free: 8.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000709/0.01894, allocations: 0.6814 MB / 302.8 MB, free: 7.391 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.056e-05/0.01895, allocations: 0 / 302.8 MB, free: 7.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.01895, allocations: 0 / 302.8 MB, free: 7.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.425e-05/0.01896, allocations: 0 / 302.8 MB, free: 7.391 MB / 298.7 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.001413/0.02038, allocations: 1.178 MB / 304 MB, free: 6.168 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.02041, allocations: 12.03 kB / 304 MB, free: 6.156 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/0.02068, allocations: 124.6 kB / 304.1 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005398/0.02122, allocations: 423.4 kB / 304.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.02132, allocations: 156.3 kB / 304.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.02139, allocations: 56.36 kB / 304.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006374/0.02203, allocations: 0.8321 MB / 305.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.02205, allocations: 0 / 305.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.02209, allocations: 24 kB / 305.6 MB, free: 4.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/0.02214, allocations: 44.92 kB / 305.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.02245, allocations: 244.2 kB / 305.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/0.02468, allocations: 2.699 MB / 308.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003634/0.02504, allocations: 225.3 kB / 308.8 MB, free: 1.047 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.823e-05/0.02513, allocations: 73.48 kB / 308.9 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001446/0.02528, allocations: 40.3 kB / 308.9 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.02531, allocations: 38.89 kB / 309 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.703e-06/0.02531, allocations: 0 / 309 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.001643/0.02695, allocations: 0.9126 MB / 309.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.02699, allocations: 59.34 kB / 309.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.02726, allocations: 474.8 kB / 310.4 MB, free: 15.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.027e-05/0.02729, allocations: 33.7 kB / 310.4 MB, free: 15.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/0.02743, allocations: 333.2 kB / 310.7 MB, free: 15.02 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.026e-05/0.02752, allocations: 174.5 kB / 310.9 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.02765, allocations: 138.5 kB / 311.1 MB, free: 14.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.02775, allocations: 370.7 kB / 311.4 MB, free: 14.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-05/0.02784, allocations: 69.95 kB / 311.5 MB, free: 14.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.02811, allocations: 481.5 kB / 312 MB, free: 13.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003935/0.0285, allocations: 0.555 MB / 312.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.0285, allocations: 4 kB / 312.5 MB, free: 12.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.0006321/0.02914, allocations: 0.5209 MB / 313 MB, free: 12.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.02915, allocations: 11.94 kB / 313 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.02916, allocations: 12.84 kB / 313.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004738/0.02964, allocations: 206.3 kB / 313.3 MB, free: 12.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.02989, allocations: 143.8 kB / 313.4 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005171/0.03041, allocations: 0.6397 MB / 314 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.03062, allocations: 31.98 kB / 314.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.03065, allocations: 39.88 kB / 314.1 MB, free: 11.29 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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.0001389/0.03079, allocations: 164.5 kB / 314.3 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-05/0.03085, allocations: 51.94 kB / 314.3 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004642/0.03132, allocations: 405.3 kB / 314.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.03133, allocations: 8 kB / 314.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.03133, allocations: 0 / 314.7 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.03133, allocations: 7.969 kB / 314.7 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000748/0.03208, allocations: 0.7241 MB / 315.5 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.03209, allocations: 4 kB / 315.5 MB, free: 9.867 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.03254, allocations: 180 kB / 315.6 MB, free: 9.691 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.03265, allocations: 71.59 kB / 315.7 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001363/0.03278, allocations: 44.75 kB / 315.7 MB, free: 9.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.03281, allocations: 19.98 kB / 315.8 MB, free: 9.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001095/0.0339, allocations: 2.461 MB / 318.2 MB, free: 6.91 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.0339, allocations: 4 kB / 318.2 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.03437, allocations: 0.525 MB / 318.8 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.539e-05/0.03442, allocations: 11.98 kB / 318.8 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001527/0.03457, allocations: 16 kB / 318.8 MB, free: 6.312 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/0.03463, allocations: 39.81 kB / 318.8 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.03465, allocations: 15.98 kB / 318.8 MB, free: 6.258 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000139/0.03479, allocations: 200.4 kB / 319 MB, free: 6.062 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.03479, allocations: 0 / 319 MB, free: 6.062 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004216/0.03521, allocations: 195.9 kB / 319.2 MB, free: 5.871 MB / 314.7 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 (45): * Single equations (assignments): 41 * 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.0003455/0.03556, allocations: 163.1 kB / 319.4 MB, free: 5.719 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.036, allocations: 351.1 kB / 319.7 MB, free: 5.375 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.208e-05/0.03602, allocations: 16.44 kB / 319.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004984/0.03652, allocations: 367.4 kB / 320.1 MB, free: 4.984 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.03788, allocations: 1.797 MB / 321.9 MB, free: 2.863 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007627/0.0455, allocations: 1.186 MB / 323.1 MB, free: 1.625 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.04562, allocations: 171.1 kB / 323.3 MB, free: 1.438 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003579/0.04597, allocations: 117 kB / 323.4 MB, free: 1.328 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004491/0.04642, allocations: 287 kB / 323.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of SimCode: time 1.452e-06/0.04642, allocations: 0 / 323.6 MB, free: 1.047 MB / 314.7 MB Notification: Performance of Templates: time 0.1466/0.1931, allocations: 14.15 MB / 337.8 MB, free: 21.98 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.28310991730541]