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.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.002035/0.002035, allocations: 88.23 kB / 20.2 MB, free: 4.23 MB / 18.57 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.002914/0.002914, allocations: 157.7 kB / 23.51 MB, free: 0.9258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2358/0.2358, allocations: 32.36 MB / 270 MB, free: 14.88 MB / 266.7 MB " [Timeout remaining time 180] 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.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_3.2.3_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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 346.9 MB, free: 9.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.17e-05/3.364e-05, allocations: 2.312 kB / 347 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05366/0.0537, allocations: 39.53 MB / 386.5 MB, free: 2.113 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007945/0.06164, allocations: 4.078 MB / 390.6 MB, free: 14.03 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009574/0.0626, allocations: 27.75 kB / 390.6 MB, free: 14 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.0638, allocations: 309.9 kB / 390.9 MB, free: 13.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002769/0.06657, allocations: 0.9048 MB / 391.8 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.07033, allocations: 0.9542 MB / 392.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003128/0.07346, allocations: 1.832 MB / 394.6 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008879/0.07435, allocations: 417.8 kB / 395 MB, free: 9.578 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3478/0.4222, allocations: 44.49 MB / 439.5 MB, free: 53.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01652/0.4387, allocations: 7.906 MB / 447.4 MB, free: 51.18 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002431/0.439, allocations: 56.72 kB / 447.4 MB, free: 51.18 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02071/0.4597, allocations: 10.57 MB / 458 MB, free: 47.93 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006199/0.4603, allocations: 280.2 kB / 458.3 MB, free: 47.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007233/0.461, allocations: 278 kB / 458.6 MB, free: 47.93 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002275/0.4633, allocations: 1.13 MB / 459.7 MB, free: 47.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.4633, allocations: 3.047 kB / 459.7 MB, free: 47.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.135e-06/0.4633, allocations: 0 / 459.7 MB, free: 47.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.4633, allocations: 0 / 459.7 MB, free: 47.92 MB / 362.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.002294/0.4656, allocations: 0.9907 MB / 460.7 MB, free: 47.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4656, allocations: 10.25 kB / 460.7 MB, free: 47.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004081/0.4661, allocations: 155.8 kB / 460.8 MB, free: 47.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007222/0.4668, allocations: 0.5018 MB / 461.3 MB, free: 47.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.4669, allocations: 154.4 kB / 461.5 MB, free: 47.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.467, allocations: 52.19 kB / 461.5 MB, free: 47.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/0.4683, allocations: 1.099 MB / 462.6 MB, free: 46.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.4683, allocations: 3.812 kB / 462.6 MB, free: 46.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/0.4684, allocations: 25.25 kB / 462.7 MB, free: 46.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-05/0.4684, allocations: 37.52 kB / 462.7 MB, free: 46.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009209/0.4694, allocations: 0.642 MB / 463.3 MB, free: 46.48 MB / 362.7 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.003698/0.4731, allocations: 3.34 MB / 466.7 MB, free: 44.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007832/0.4738, allocations: 401.6 kB / 467.1 MB, free: 44.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.4741, allocations: 199.3 kB / 467.3 MB, free: 44.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.4744, allocations: 47.89 kB / 467.3 MB, free: 44.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.4744, allocations: 36.86 kB / 467.4 MB, free: 44.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.4744, allocations: 0 / 467.4 MB, free: 44.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.002979/0.4774, allocations: 1.479 MB / 468.8 MB, free: 43.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4774, allocations: 135.2 kB / 469 MB, free: 43.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000463/0.4779, allocations: 0.5104 MB / 469.5 MB, free: 43.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/0.4779, allocations: 39.56 kB / 469.5 MB, free: 43.11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.4781, allocations: 376.8 kB / 469.9 MB, free: 42.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.4783, allocations: 164.8 kB / 470 MB, free: 42.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.4784, allocations: 138 kB / 470.2 MB, free: 42.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.4785, allocations: 372.8 kB / 470.5 MB, free: 42.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.4789, allocations: 220 kB / 470.8 MB, free: 42.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005166/0.4794, allocations: 0.5927 MB / 471.4 MB, free: 41.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000757/0.4801, allocations: 0.7859 MB / 472.1 MB, free: 40.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4801, allocations: 5.75 kB / 472.1 MB, free: 40.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001597/0.4817, allocations: 0.9655 MB / 473.1 MB, free: 40.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.4818, allocations: 15.98 kB / 473.1 MB, free: 40.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.4818, allocations: 8 kB / 473.1 MB, free: 40.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.4828, allocations: 266.4 kB / 473.4 MB, free: 39.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003791/0.4832, allocations: 127.5 kB / 473.5 MB, free: 39.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008/0.484, allocations: 0.8699 MB / 474.4 MB, free: 39.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005041/0.4845, allocations: 25.3 kB / 474.4 MB, free: 39.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.095e-05/0.4846, allocations: 40.55 kB / 474.5 MB, free: 38.98 MB / 362.7 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.0003643/0.4849, allocations: 246.8 kB / 474.7 MB, free: 38.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.4851, allocations: 75.44 kB / 474.8 MB, free: 38.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001196/0.4863, allocations: 0.7129 MB / 475.5 MB, free: 38.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.4863, allocations: 11.94 kB / 475.5 MB, free: 38.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.4863, allocations: 4 kB / 475.5 MB, free: 38.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.4863, allocations: 0 / 475.5 MB, free: 38.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/0.488, allocations: 1.235 MB / 476.7 MB, free: 36.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.488, allocations: 0 / 476.7 MB, free: 36.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008999/0.4889, allocations: 195.3 kB / 476.9 MB, free: 36.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002676/0.4891, allocations: 60.16 kB / 477 MB, free: 36.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.459e-05/0.4892, allocations: 12 kB / 477 MB, free: 36.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001622/0.4908, allocations: 2.729 MB / 479.7 MB, free: 33.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4908, allocations: 7.219 kB / 479.7 MB, free: 33.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.4921, allocations: 1.01 MB / 480.7 MB, free: 32.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/0.4923, allocations: 123.5 kB / 480.9 MB, free: 32.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.4924, allocations: 11.94 kB / 480.9 MB, free: 32.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.4927, allocations: 22.75 kB / 480.9 MB, free: 32.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.847e-05/0.4928, allocations: 39.12 kB / 480.9 MB, free: 32.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.25e-05/0.4929, allocations: 19.98 kB / 481 MB, free: 32.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003663/0.4932, allocations: 350.8 kB / 481.3 MB, free: 31.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4932, allocations: 0 / 481.3 MB, free: 31.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008736/0.4941, allocations: 209.9 kB / 481.5 MB, free: 31.79 MB / 362.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 (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.0005651/0.4947, allocations: 235.3 kB / 481.7 MB, free: 31.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009894/0.4957, allocations: 0.5836 MB / 482.3 MB, free: 31.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4957, allocations: 4 kB / 482.3 MB, free: 31.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001037/0.4967, allocations: 481 kB / 482.8 MB, free: 30.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.4981, allocations: 329.9 kB / 483.1 MB, free: 30.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.5, allocations: 1.322 MB / 484.4 MB, free: 28.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.5003, allocations: 345 kB / 484.8 MB, free: 28.55 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005165/0.5008, allocations: 192.8 kB / 485 MB, free: 28.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.5009, allocations: 60.48 kB / 485 MB, free: 28.31 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5009, allocations: 0 / 485 MB, free: 28.31 MB / 362.7 MB Notification: Performance of Templates: time 0.02061/0.5215, allocations: 13.87 MB / 498.9 MB, free: 14.61 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/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/jenkins/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.844311674009077]