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.001324/0.001324, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001449/0.001449, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2471/0.2471, allocations: 44.92 MB / 359.6 MB, free: 6.293 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.002124/0.002124, allocations: 72.17 kB / 0.4943 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3645, allocations: 65.47 MB / 0.5583 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05914/0.4236, allocations: 44.63 MB / 0.6018 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007816/0.4314, allocations: 4.413 MB / 0.6062 GB, free: 6.527 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009357/0.4324, allocations: 23.75 kB / 0.6062 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.4336, allocations: 325.9 kB / 0.6065 GB, free: 6.184 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.4362, allocations: 0.8862 MB / 0.6074 GB, free: 5.293 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002738/0.4389, allocations: 0.9227 MB / 0.6083 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002741/0.4417, allocations: 1.821 MB / 0.61 GB, free: 2.547 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008896/0.4426, allocations: 389.6 kB / 0.6104 GB, free: 2.164 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1096/0.5521, allocations: 44.26 MB / 0.6536 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01898/0.5711, allocations: 7.935 MB / 0.6614 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003175/0.5714, allocations: 60 kB / 0.6614 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02534/0.5968, allocations: 10.6 MB / 0.6718 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.5974, allocations: 271.2 kB / 0.672 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007739/0.5981, allocations: 390.2 kB / 0.6724 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.6003, allocations: 1.094 MB / 0.6735 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6003, allocations: 0 / 0.6735 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6003, allocations: 0 / 0.6735 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.57e-05/0.6003, allocations: 0 / 0.6735 GB, free: 0.9414 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.002769/0.6031, allocations: 0.9973 MB / 0.6745 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.6031, allocations: 8.031 kB / 0.6745 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000395/0.6035, allocations: 88.47 kB / 0.6746 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.6046, allocations: 486.7 kB / 0.675 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001706/0.6047, allocations: 152.4 kB / 0.6752 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.6049, allocations: 52.12 kB / 0.6752 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.6063, allocations: 0.8175 MB / 0.676 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.6063, allocations: 7.938 kB / 0.676 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/0.6064, allocations: 20 kB / 0.676 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.458e-05/0.6064, allocations: 36.98 kB / 0.6761 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.6076, allocations: 0.6478 MB / 0.6767 GB, free: 13.49 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.005636/0.6133, allocations: 4.17 MB / 0.6808 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009693/0.6142, allocations: 400 kB / 0.6812 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003789/0.6146, allocations: 197.4 kB / 0.6813 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003248/0.6149, allocations: 56.28 kB / 0.6814 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/0.615, allocations: 34.89 kB / 0.6814 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.214e-06/0.615, allocations: 0 / 0.6814 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003557/0.6185, allocations: 1.46 MB / 0.6829 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.6186, allocations: 132.5 kB / 0.683 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008178/0.6195, allocations: 0.5732 MB / 0.6835 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.6195, allocations: 37.7 kB / 0.6836 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.6198, allocations: 367.8 kB / 0.6839 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.62, allocations: 174.5 kB / 0.6841 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/0.6202, allocations: 138.6 kB / 0.6842 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.6204, allocations: 378.7 kB / 0.6846 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.6209, allocations: 225.8 kB / 0.6848 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006873/0.6216, allocations: 0.5201 MB / 0.6853 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.6227, allocations: 0.7796 MB / 0.6861 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.6227, allocations: 4 kB / 0.6861 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002007/0.6247, allocations: 0.9337 MB / 0.687 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.6248, allocations: 15.94 kB / 0.687 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.6248, allocations: 8.047 kB / 0.687 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.626, allocations: 269 kB / 0.6873 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004393/0.6264, allocations: 115.8 kB / 0.6874 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001065/0.6275, allocations: 0.8715 MB / 0.6882 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.628, allocations: 28 kB / 0.6883 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/0.628, allocations: 43.97 kB / 0.6883 GB, free: 0.8984 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.0003765/0.6284, allocations: 237.9 kB / 0.6885 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.6286, allocations: 71.64 kB / 0.6886 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/0.63, allocations: 0.7169 MB / 0.6893 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.63, allocations: 4 kB / 0.6893 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.63, allocations: 0 / 0.6893 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.106e-06/0.6301, allocations: 3.984 kB / 0.6893 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/0.6325, allocations: 1.379 MB / 0.6907 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.6325, allocations: 4.031 kB / 0.6907 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009849/0.6335, allocations: 191.8 kB / 0.6908 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002457/0.6337, allocations: 52.8 kB / 0.6909 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/0.6338, allocations: 15.98 kB / 0.6909 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002901/0.6367, allocations: 2.779 MB / 0.6936 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.94e-05/0.6367, allocations: 4.031 kB / 0.6936 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.6385, allocations: 1.009 MB / 0.6946 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004262/0.639, allocations: 127.4 kB / 0.6947 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.6391, allocations: 12 kB / 0.6947 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.6395, allocations: 19.98 kB / 0.6948 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.767e-05/0.6396, allocations: 43.88 kB / 0.6948 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.55e-05/0.6397, allocations: 19.98 kB / 0.6948 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006345/0.6403, allocations: 423 kB / 0.6952 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6403, allocations: 4 kB / 0.6952 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008753/0.6412, allocations: 203.8 kB / 0.6954 GB, free: 9.242 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.0004284/0.6416, allocations: 219.6 kB / 0.6956 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001307/0.6429, allocations: 0.5813 MB / 0.6962 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.6429, allocations: 11.94 kB / 0.6962 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.6441, allocations: 455.3 kB / 0.6966 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.6459, allocations: 377.1 kB / 0.697 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.6487, allocations: 1.479 MB / 0.6984 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006796/0.6493, allocations: 0.9306 MB / 0.6994 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.6495, allocations: 67.42 kB / 0.6994 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of SimCode: time 5.71e-07/0.6495, allocations: 0 / 0.6994 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of Templates: time 0.0257/0.6752, allocations: 15.66 MB / 0.7147 GB, free: 5.484 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.251429314026609]