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.00142/0.00142, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001582/0.001582, allocations: 215.6 kB / 24.48 MB, free: 3.844 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.451/1.451, allocations: 230.6 MB / 258.2 MB, free: 7.812 MB / 206.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.2297/0.2297, allocations: 44.94 MB / 359.6 MB, free: 6.148 MB / 286.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.002255/0.002255, allocations: 67.89 kB / 0.4943 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3409, allocations: 65.48 MB / 0.5582 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05405/0.3949, allocations: 39.8 MB / 0.5971 GB, free: 15.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006768/0.4017, allocations: 4.067 MB / 0.601 GB, free: 11.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001071/0.4028, allocations: 27.75 kB / 0.6011 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.4039, allocations: 310 kB / 0.6014 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00226/0.4062, allocations: 0.8784 MB / 0.6022 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002486/0.4087, allocations: 0.9186 MB / 0.6031 GB, free: 9.355 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002468/0.4112, allocations: 1.813 MB / 0.6049 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007246/0.4119, allocations: 393.6 kB / 0.6053 GB, free: 7.148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1027/0.5146, allocations: 44.18 MB / 0.6484 GB, free: 10.54 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01764/0.5322, allocations: 7.923 MB / 0.6562 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003398/0.5325, allocations: 60 kB / 0.6562 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02468/0.5572, allocations: 10.57 MB / 0.6665 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006638/0.5579, allocations: 271.1 kB / 0.6668 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009407/0.5588, allocations: 322.6 kB / 0.6671 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.561, allocations: 1.086 MB / 0.6682 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.561, allocations: 0 / 0.6682 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.465e-06/0.561, allocations: 3.938 kB / 0.6682 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.309e-05/0.5611, allocations: 0 / 0.6682 GB, free: 6.117 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.002517/0.5636, allocations: 0.9933 MB / 0.6691 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.5637, allocations: 8.031 kB / 0.6691 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003847/0.564, allocations: 100.4 kB / 0.6692 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.5651, allocations: 474.7 kB / 0.6697 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.5652, allocations: 156.4 kB / 0.6698 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.941e-05/0.5653, allocations: 56.05 kB / 0.6699 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.5668, allocations: 1.068 MB / 0.6709 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.5668, allocations: 4 kB / 0.6709 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.5669, allocations: 24 kB / 0.671 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.012e-05/0.567, allocations: 44.92 kB / 0.671 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001091/0.5681, allocations: 0.6361 MB / 0.6716 GB, free: 2.355 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.005056/0.5731, allocations: 3.332 MB / 0.6749 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009853/0.5741, allocations: 397.5 kB / 0.6753 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.5744, allocations: 193.4 kB / 0.6754 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.5748, allocations: 56.22 kB / 0.6755 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.5748, allocations: 38.89 kB / 0.6755 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.614e-06/0.5748, allocations: 0 / 0.6755 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003476/0.5783, allocations: 1.452 MB / 0.6769 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/0.5784, allocations: 136.5 kB / 0.6771 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006627/0.579, allocations: 0.5143 MB / 0.6776 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.061e-05/0.5791, allocations: 37.7 kB / 0.6776 GB, free: 12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.5794, allocations: 372.3 kB / 0.678 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001622/0.5795, allocations: 178.5 kB / 0.6781 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.5797, allocations: 134.6 kB / 0.6783 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002018/0.5799, allocations: 370.7 kB / 0.6786 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.5803, allocations: 225.9 kB / 0.6788 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007323/0.5811, allocations: 0.5954 MB / 0.6794 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.5822, allocations: 0.7835 MB / 0.6802 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.5822, allocations: 4 kB / 0.6802 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001822/0.584, allocations: 0.9221 MB / 0.6811 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.584, allocations: 8 kB / 0.6811 GB, free: 8.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.584, allocations: 8.047 kB / 0.6811 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.5851, allocations: 269 kB / 0.6814 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.5856, allocations: 127.8 kB / 0.6815 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/0.5866, allocations: 0.8684 MB / 0.6823 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.587, allocations: 27.92 kB / 0.6824 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.5871, allocations: 40 kB / 0.6824 GB, free: 6.758 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.0003729/0.5875, allocations: 237.9 kB / 0.6826 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.5876, allocations: 59.62 kB / 0.6827 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.589, allocations: 0.7201 MB / 0.6834 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.589, allocations: 4 kB / 0.6834 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.589, allocations: 4 kB / 0.6834 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.589, allocations: 3.984 kB / 0.6834 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.5912, allocations: 1.232 MB / 0.6846 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.5912, allocations: 0 / 0.6846 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009786/0.5921, allocations: 195.7 kB / 0.6848 GB, free: 4.234 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/0.5924, allocations: 56.73 kB / 0.6848 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.876e-05/0.5924, allocations: 20.12 kB / 0.6849 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.595, allocations: 2.73 MB / 0.6875 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.595, allocations: 0 / 0.6875 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.5966, allocations: 1.001 MB / 0.6885 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003134/0.5969, allocations: 123.5 kB / 0.6886 GB, free: 56 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.448e-05/0.597, allocations: 15.98 kB / 0.6886 GB, free: 40 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.5974, allocations: 16 kB / 0.6887 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.5975, allocations: 35.94 kB / 0.6887 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.5975, allocations: 23.92 kB / 0.6887 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004516/0.598, allocations: 350.9 kB / 0.689 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.598, allocations: 4 kB / 0.689 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000829/0.5988, allocations: 211.8 kB / 0.6892 GB, free: 15.41 MB / 0.5294 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.0004145/0.5992, allocations: 232.5 kB / 0.6895 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.6006, allocations: 0.5763 MB / 0.69 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.6006, allocations: 3.938 kB / 0.69 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/0.6018, allocations: 464.9 kB / 0.6905 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.6034, allocations: 310.8 kB / 0.6908 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.6061, allocations: 1.461 MB / 0.6922 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/0.6065, allocations: 345.1 kB / 0.6925 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002127/0.6068, allocations: 63.42 kB / 0.6926 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of SimCode: time 1.012e-06/0.6068, allocations: 0 / 0.6926 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of Templates: time 0.02294/0.6297, allocations: 15.18 MB / 0.7074 GB, free: 12.8 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 -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: 10.314540700986981]