Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002121/0.002121, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.002149/0.002149, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.611/1.611, allocations: 230.6 MB / 257.5 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.24/0.24, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.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.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 72.14 kB / 0.4966 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 66.03 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05224/0.3886, allocations: 39.8 MB / 0.6 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007325/0.3959, allocations: 4.067 MB / 0.6039 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007871/0.3967, allocations: 27.75 kB / 0.604 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001203/0.3979, allocations: 306 kB / 0.6042 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002913/0.4008, allocations: 0.8784 MB / 0.6051 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.4035, allocations: 0.9186 MB / 0.606 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002882/0.4064, allocations: 1.809 MB / 0.6078 GB, free: 4.211 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007846/0.4072, allocations: 397.6 kB / 0.6082 GB, free: 3.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09882/0.506, allocations: 44.19 MB / 0.6513 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01729/0.5233, allocations: 7.915 MB / 0.659 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002521/0.5235, allocations: 60 kB / 0.6591 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02368/0.5472, allocations: 10.56 MB / 0.6694 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005392/0.5477, allocations: 271.2 kB / 0.6697 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005683/0.5483, allocations: 322.6 kB / 0.67 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.55, allocations: 1.09 MB / 0.671 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.55, allocations: 0 / 0.671 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.55, allocations: 0 / 0.671 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.079e-05/0.55, allocations: 0 / 0.671 GB, free: 2.797 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.002263/0.5523, allocations: 0.9951 MB / 0.672 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.5523, allocations: 8.031 kB / 0.672 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000365/0.5527, allocations: 92.45 kB / 0.6721 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009939/0.5537, allocations: 486.7 kB / 0.6726 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.5538, allocations: 156.4 kB / 0.6727 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/0.5539, allocations: 52.12 kB / 0.6728 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.5555, allocations: 1.072 MB / 0.6738 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.5555, allocations: 3.938 kB / 0.6738 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.91e-05/0.5556, allocations: 24 kB / 0.6738 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-05/0.5556, allocations: 36.98 kB / 0.6739 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.5568, allocations: 0.6361 MB / 0.6745 GB, free: 15.04 MB / 0.5137 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.004914/0.5617, allocations: 3.34 MB / 0.6778 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009058/0.5626, allocations: 391.9 kB / 0.6781 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.563, allocations: 197.4 kB / 0.6783 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002815/0.5632, allocations: 52.28 kB / 0.6784 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.5633, allocations: 38.89 kB / 0.6784 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.094e-06/0.5633, allocations: 0 / 0.6784 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003356/0.5666, allocations: 1.456 MB / 0.6798 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.5667, allocations: 132.5 kB / 0.68 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006383/0.5674, allocations: 0.5143 MB / 0.6805 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.911e-05/0.5674, allocations: 33.7 kB / 0.6805 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002997/0.5677, allocations: 376.3 kB / 0.6808 GB, free: 8.309 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.5679, allocations: 178.5 kB / 0.681 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.5681, allocations: 138.6 kB / 0.6812 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002051/0.5683, allocations: 370.7 kB / 0.6815 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004093/0.5687, allocations: 225.9 kB / 0.6817 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00071/0.5694, allocations: 0.5993 MB / 0.6823 GB, free: 6.641 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.5705, allocations: 0.7796 MB / 0.6831 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.5705, allocations: 4 kB / 0.6831 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001881/0.5724, allocations: 0.9261 MB / 0.684 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.5724, allocations: 14.84 kB / 0.684 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/0.5724, allocations: 12 kB / 0.684 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.5735, allocations: 260.7 kB / 0.6842 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.574, allocations: 131.8 kB / 0.6844 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.575, allocations: 0.8595 MB / 0.6852 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004504/0.5755, allocations: 31.98 kB / 0.6852 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.129e-05/0.5755, allocations: 32 kB / 0.6853 GB, free: 3.434 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.0003434/0.5759, allocations: 245.9 kB / 0.6855 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.576, allocations: 67.62 kB / 0.6856 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.5774, allocations: 0.7046 MB / 0.6863 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.317e-06/0.5774, allocations: 8 kB / 0.6863 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5774, allocations: 4 kB / 0.6863 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5774, allocations: 3.984 kB / 0.6863 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.5796, allocations: 1.228 MB / 0.6875 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5796, allocations: 0 / 0.6875 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.5806, allocations: 200 kB / 0.6877 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002441/0.5809, allocations: 60.73 kB / 0.6877 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.888e-05/0.5809, allocations: 12 kB / 0.6877 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00257/0.5835, allocations: 2.726 MB / 0.6904 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.5835, allocations: 4.031 kB / 0.6904 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.5852, allocations: 1.002 MB / 0.6914 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003161/0.5855, allocations: 123.5 kB / 0.6915 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.591e-05/0.5856, allocations: 19.92 kB / 0.6915 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003555/0.5859, allocations: 12 kB / 0.6915 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-05/0.586, allocations: 43.88 kB / 0.6916 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.5861, allocations: 19.98 kB / 0.6916 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004556/0.5865, allocations: 346.8 kB / 0.6919 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.5865, allocations: 0 / 0.6919 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008186/0.5873, allocations: 207.8 kB / 0.6921 GB, free: 12.1 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.0004171/0.5878, allocations: 237.8 kB / 0.6923 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001253/0.589, allocations: 0.5929 MB / 0.6929 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.589, allocations: 0 / 0.6929 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.5902, allocations: 466.3 kB / 0.6934 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.5917, allocations: 305.8 kB / 0.6937 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.5942, allocations: 1.422 MB / 0.695 GB, free: 9.039 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003894/0.5946, allocations: 345.1 kB / 0.6954 GB, free: 8.676 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006264/0.5953, allocations: 206.5 kB / 0.6956 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/0.5954, allocations: 51.44 kB / 0.6956 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of SimCode: time 4.81e-07/0.5954, allocations: 0 / 0.6956 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of Templates: time 0.02573/0.6211, allocations: 14.87 MB / 0.7101 GB, free: 9.875 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 6.012223964557052]