Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001444/0.001444, allocations: 74.97 kB / 19.93 MB, free: 1.77 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.001673/0.001673, allocations: 173.3 kB / 23.22 MB, free: 4.887 MB / 14.72 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.473/1.473, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 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.213/0.213, allocations: 32.37 MB / 269.6 MB, free: 4.652 MB / 254.1 MB " [Timeout remaining time 179] 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.LinearColdWater,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.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_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 407.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.768e-05/3.98e-05, allocations: 2.281 kB / 407.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02506/0.0251, allocations: 18.48 MB / 425.9 MB, free: 448 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007463/0.03256, allocations: 3.994 MB / 429.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007635/0.03333, allocations: 27.75 kB / 429.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.0344, allocations: 313.9 kB / 430.2 MB, free: 12.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002566/0.03697, allocations: 0.9008 MB / 431.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.04001, allocations: 0.9508 MB / 432 MB, free: 10.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003136/0.04315, allocations: 1.828 MB / 433.9 MB, free: 8.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.04416, allocations: 397.6 kB / 434.3 MB, free: 8.008 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002912/0.04707, allocations: 1.176 MB / 435.4 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.04826, allocations: 0.6116 MB / 436 MB, free: 6.215 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001395/0.0484, allocations: 63.98 kB / 436.1 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009673/0.04937, allocations: 283.4 kB / 436.4 MB, free: 5.875 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003585/0.04973, allocations: 283.1 kB / 436.7 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004885/0.05022, allocations: 275.4 kB / 436.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002278/0.0525, allocations: 1.13 MB / 438.1 MB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.0525, allocations: 0 / 438.1 MB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.05251, allocations: 0 / 438.1 MB, free: 4.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.424e-05/0.05252, allocations: 0 / 438.1 MB, free: 4.195 MB / 366.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.002598/0.05512, allocations: 0.9795 MB / 439 MB, free: 3.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.05517, allocations: 12.03 kB / 439.1 MB, free: 3.168 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003798/0.05555, allocations: 96.41 kB / 439.1 MB, free: 3.074 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009684/0.05652, allocations: 482 kB / 439.6 MB, free: 2.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.05669, allocations: 152.4 kB / 439.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.05679, allocations: 52.36 kB / 439.8 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001633/0.05843, allocations: 1.094 MB / 440.9 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/0.05846, allocations: 15.83 kB / 440.9 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.05854, allocations: 23.98 kB / 441 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.507e-05/0.0586, allocations: 36.98 kB / 441 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.05976, allocations: 0.6439 MB / 441.6 MB, free: 408 kB / 366.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.004987/0.06474, allocations: 3.321 MB / 445 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009582/0.0657, allocations: 403.8 kB / 445.3 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003486/0.06605, allocations: 197.4 kB / 445.5 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002903/0.06634, allocations: 52.28 kB / 445.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.455e-05/0.06639, allocations: 38.89 kB / 445.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 1.993e-06/0.0664, allocations: 0 / 445.6 MB, free: 12.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003625/0.07002, allocations: 1.462 MB / 447.1 MB, free: 10.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.07014, allocations: 132.5 kB / 447.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007056/0.07085, allocations: 0.5143 MB / 447.7 MB, free: 10.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.07091, allocations: 37.7 kB / 447.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003286/0.07123, allocations: 372.3 kB / 448.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.07141, allocations: 174.5 kB / 448.3 MB, free: 9.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/0.07163, allocations: 138.6 kB / 448.4 MB, free: 9.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002324/0.07186, allocations: 374.8 kB / 448.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.07228, allocations: 221.9 kB / 449 MB, free: 8.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007712/0.07305, allocations: 0.5955 MB / 449.6 MB, free: 8.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.07426, allocations: 0.7728 MB / 450.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.07427, allocations: 0 / 450.4 MB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002027/0.07629, allocations: 0.9433 MB / 451.3 MB, free: 6.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.07631, allocations: 12.03 kB / 451.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.07633, allocations: 8 kB / 451.4 MB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.07749, allocations: 268.6 kB / 451.6 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.07793, allocations: 123.8 kB / 451.7 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001071/0.079, allocations: 0.8684 MB / 452.6 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.07946, allocations: 24 kB / 452.6 MB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.07952, allocations: 40.06 kB / 452.7 MB, free: 4.801 MB / 382.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.0003983/0.07992, allocations: 251.8 kB / 452.9 MB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.08006, allocations: 59.62 kB / 453 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001544/0.0816, allocations: 0.7097 MB / 453.7 MB, free: 3.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.08162, allocations: 11.92 kB / 453.7 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.08163, allocations: 8 kB / 453.7 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.08163, allocations: 0 / 453.7 MB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002316/0.08395, allocations: 1.232 MB / 454.9 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.08395, allocations: 0 / 454.9 MB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.08503, allocations: 199.9 kB / 455.1 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002581/0.08528, allocations: 48.8 kB / 455.2 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.08533, allocations: 19.98 kB / 455.2 MB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002934/0.08826, allocations: 2.73 MB / 457.9 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.08827, allocations: 4.031 kB / 457.9 MB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.09011, allocations: 0.9917 MB / 458.9 MB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.09042, allocations: 127.5 kB / 459 MB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.014e-05/0.09051, allocations: 15.94 kB / 459.1 MB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000365/0.09088, allocations: 12 kB / 459.1 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.09099, allocations: 43.86 kB / 459.1 MB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.09103, allocations: 16 kB / 459.1 MB, free: 14.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004868/0.09152, allocations: 354.8 kB / 459.5 MB, free: 13.67 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09152, allocations: 0 / 459.5 MB, free: 13.67 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008518/0.09237, allocations: 199.9 kB / 459.7 MB, free: 13.48 MB / 398.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.0006108/0.09298, allocations: 248.4 kB / 459.9 MB, free: 13.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.09427, allocations: 0.5858 MB / 460.5 MB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.09427, allocations: 0 / 460.5 MB, free: 12.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001258/0.09553, allocations: 474.8 kB / 461 MB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.09705, allocations: 309.5 kB / 461.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.09945, allocations: 1.31 MB / 462.6 MB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.09986, allocations: 345 kB / 462.9 MB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005881/0.1005, allocations: 201.8 kB / 463.1 MB, free: 9.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.1006, allocations: 60.48 kB / 463.2 MB, free: 9.91 MB / 398.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1006, allocations: 0 / 463.2 MB, free: 9.91 MB / 398.1 MB Notification: Performance of Templates: time 0.239/0.3396, allocations: 13.79 MB / 477 MB, free: 70.22 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 5.877352897077799]