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.001943/0.001943, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002127/0.002127, allocations: 210.4 kB / 23.73 MB, free: 4.523 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 / 257.5 MB, free: 7.797 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.237/0.237, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.002076/0.002076, allocations: 71.91 kB / 0.4966 GB, free: 7.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3374, allocations: 66.04 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.05729/0.3947, allocations: 39.79 MB / 0.6 GB, free: 12.24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007581/0.4022, allocations: 4.075 MB / 0.6039 GB, free: 8.152 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009423/0.4032, allocations: 27.75 kB / 0.604 GB, free: 8.125 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.4044, allocations: 306 kB / 0.6042 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002746/0.4072, allocations: 0.8901 MB / 0.6051 GB, free: 6.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002689/0.4099, allocations: 0.9071 MB / 0.606 GB, free: 6.027 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003052/0.4129, allocations: 1.828 MB / 0.6078 GB, free: 4.191 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009141/0.4138, allocations: 392.6 kB / 0.6082 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1061/0.5199, allocations: 44.19 MB / 0.6513 GB, free: 7.191 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01861/0.5386, allocations: 7.935 MB / 0.6591 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002887/0.5388, allocations: 60 kB / 0.6591 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0243/0.5631, allocations: 10.57 MB / 0.6694 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005676/0.5637, allocations: 267.2 kB / 0.6697 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00073/0.5644, allocations: 322.6 kB / 0.67 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.5664, allocations: 1.09 MB / 0.6711 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.5664, allocations: 4 kB / 0.6711 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5664, allocations: 0 / 0.6711 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.855e-05/0.5664, allocations: 4 kB / 0.6711 GB, free: 2.75 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.002613/0.569, allocations: 0.9912 MB / 0.672 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.5691, allocations: 8.031 kB / 0.6721 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.5694, allocations: 92.45 kB / 0.6721 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.5705, allocations: 482.6 kB / 0.6726 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/0.5706, allocations: 152.4 kB / 0.6728 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.5707, allocations: 56.12 kB / 0.6728 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.5723, allocations: 1.068 MB / 0.6738 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.5723, allocations: 7.938 kB / 0.6739 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.678e-05/0.5724, allocations: 27.98 kB / 0.6739 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-05/0.5725, allocations: 36.98 kB / 0.6739 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.5736, allocations: 0.6439 MB / 0.6745 GB, free: 14.98 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.004907/0.5785, allocations: 3.325 MB / 0.6778 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009243/0.5795, allocations: 395.9 kB / 0.6782 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003444/0.5798, allocations: 193.4 kB / 0.6784 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003085/0.5801, allocations: 56.28 kB / 0.6784 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.5802, allocations: 38.89 kB / 0.6784 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.034e-06/0.5802, allocations: 0 / 0.6784 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003395/0.5836, allocations: 1.46 MB / 0.6799 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.5837, allocations: 136.5 kB / 0.68 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006904/0.5844, allocations: 0.5143 MB / 0.6805 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.5844, allocations: 33.7 kB / 0.6805 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000287/0.5847, allocations: 372.3 kB / 0.6809 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.5848, allocations: 174.5 kB / 0.6811 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.5851, allocations: 134.6 kB / 0.6812 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.5852, allocations: 378.7 kB / 0.6815 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003897/0.5856, allocations: 221.9 kB / 0.6818 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007044/0.5863, allocations: 0.5995 MB / 0.6823 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.5875, allocations: 0.7794 MB / 0.6831 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.5875, allocations: 7.984 kB / 0.6831 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00182/0.5893, allocations: 0.9256 MB / 0.684 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5893, allocations: 8 kB / 0.684 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/0.5893, allocations: 12 kB / 0.684 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.5904, allocations: 261.4 kB / 0.6843 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.5909, allocations: 127.8 kB / 0.6844 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/0.592, allocations: 0.8664 MB / 0.6853 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004563/0.5924, allocations: 31.98 kB / 0.6853 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.338e-05/0.5925, allocations: 32 kB / 0.6853 GB, free: 3.398 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.0003973/0.5929, allocations: 241.9 kB / 0.6855 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.593, allocations: 63.62 kB / 0.6856 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.5944, allocations: 0.7124 MB / 0.6863 GB, free: 2.375 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.5944, allocations: 7.938 kB / 0.6863 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5944, allocations: 4.047 kB / 0.6863 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.5944, allocations: 7.969 kB / 0.6863 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.5966, allocations: 1.232 MB / 0.6875 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5966, allocations: 0 / 0.6875 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009845/0.5976, allocations: 187.8 kB / 0.6877 GB, free: 0.8789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002504/0.5978, allocations: 68.89 kB / 0.6878 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.5979, allocations: 12 kB / 0.6878 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/0.6007, allocations: 2.73 MB / 0.6904 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.6007, allocations: 8.016 kB / 0.6905 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.6024, allocations: 0.998 MB / 0.6914 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/0.6027, allocations: 123.4 kB / 0.6915 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.6028, allocations: 12 kB / 0.6916 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003282/0.6031, allocations: 20.11 kB / 0.6916 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.6032, allocations: 43.88 kB / 0.6916 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/0.6032, allocations: 19.98 kB / 0.6916 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004593/0.6037, allocations: 346.8 kB / 0.692 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.6037, allocations: 3.938 kB / 0.692 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008262/0.6045, allocations: 207.8 kB / 0.6922 GB, free: 12.05 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.0004156/0.6049, allocations: 220.5 kB / 0.6924 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.6062, allocations: 0.5885 MB / 0.693 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.6062, allocations: 8.438 kB / 0.693 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.6074, allocations: 470.3 kB / 0.6934 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/0.609, allocations: 315.7 kB / 0.6937 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.6114, allocations: 1.411 MB / 0.6951 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.6118, allocations: 341.1 kB / 0.6954 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005863/0.6124, allocations: 199 kB / 0.6956 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.6125, allocations: 59.42 kB / 0.6957 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.6125, allocations: 0 / 0.6957 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of Templates: time 0.0275/0.64, allocations: 15.11 MB / 0.7104 GB, free: 9.59 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.100188717246056]