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.001919/0.001919, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002262/0.002262, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2449/0.2449, allocations: 46.94 MB / 360.8 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 179] 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.002144/0.002144, allocations: 67.91 kB / 0.4967 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4163, allocations: 66.03 MB / 0.5611 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05834/0.4746, allocations: 44.63 MB / 0.6047 GB, free: 7.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007553/0.4822, allocations: 4.421 MB / 0.609 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006264/0.4828, allocations: 27.69 kB / 0.6091 GB, free: 3.199 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.4838, allocations: 322 kB / 0.6094 GB, free: 2.883 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.4863, allocations: 0.8823 MB / 0.6102 GB, free: 1.996 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00293/0.4892, allocations: 0.9191 MB / 0.6111 GB, free: 1.082 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002666/0.4919, allocations: 1.821 MB / 0.6129 GB, free: 15.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006505/0.4925, allocations: 389.6 kB / 0.6133 GB, free: 14.87 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.101/0.5936, allocations: 44.27 MB / 0.6565 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01757/0.6111, allocations: 7.935 MB / 0.6643 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.6114, allocations: 64 kB / 0.6643 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02468/0.6361, allocations: 10.6 MB / 0.6747 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006165/0.6367, allocations: 267.2 kB / 0.6749 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006983/0.6374, allocations: 390.2 kB / 0.6753 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00217/0.6396, allocations: 1.098 MB / 0.6764 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.6396, allocations: 4 kB / 0.6764 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6396, allocations: 0 / 0.6764 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.471e-05/0.6396, allocations: 0 / 0.6764 GB, free: 13.62 MB / 0.5137 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.002413/0.642, allocations: 0.9912 MB / 0.6773 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.642, allocations: 11.97 kB / 0.6773 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003463/0.6424, allocations: 92.45 kB / 0.6774 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009433/0.6433, allocations: 482.7 kB / 0.6779 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.6435, allocations: 152.4 kB / 0.678 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.6436, allocations: 56.11 kB / 0.6781 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.6449, allocations: 0.8113 MB / 0.6789 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.493e-05/0.6449, allocations: 7.938 kB / 0.6789 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.87e-05/0.645, allocations: 23.98 kB / 0.6789 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.071e-05/0.6451, allocations: 40.97 kB / 0.679 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.6462, allocations: 0.6439 MB / 0.6796 GB, free: 10.17 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.005272/0.6515, allocations: 4.17 MB / 0.6837 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/0.6524, allocations: 396 kB / 0.684 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.6527, allocations: 193.4 kB / 0.6842 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000306/0.653, allocations: 60.27 kB / 0.6843 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.6531, allocations: 34.89 kB / 0.6843 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.444e-06/0.6531, allocations: 0 / 0.6843 GB, free: 5.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.003325/0.6564, allocations: 1.456 MB / 0.6857 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/0.6565, allocations: 132.5 kB / 0.6859 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007307/0.6572, allocations: 0.5732 MB / 0.6864 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.6573, allocations: 37.7 kB / 0.6865 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003154/0.6576, allocations: 359.9 kB / 0.6868 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/0.6578, allocations: 178.5 kB / 0.687 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001998/0.658, allocations: 138.6 kB / 0.6871 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000205/0.6582, allocations: 378.7 kB / 0.6875 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004059/0.6586, allocations: 229.8 kB / 0.6877 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006645/0.6592, allocations: 0.5162 MB / 0.6882 GB, free: 0.8164 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.6604, allocations: 0.7797 MB / 0.6889 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.6604, allocations: 8 kB / 0.689 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001908/0.6623, allocations: 0.9338 MB / 0.6899 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.6623, allocations: 14.66 kB / 0.6899 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.6623, allocations: 8 kB / 0.6899 GB, free: 14.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.6635, allocations: 264 kB / 0.6901 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.6639, allocations: 123.8 kB / 0.6903 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/0.665, allocations: 0.8645 MB / 0.6911 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004731/0.6654, allocations: 39.92 kB / 0.6911 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.046e-05/0.6655, allocations: 32 kB / 0.6912 GB, free: 13.59 MB / 0.5294 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.0003642/0.6659, allocations: 245.9 kB / 0.6914 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.666, allocations: 71.58 kB / 0.6915 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.6674, allocations: 0.7129 MB / 0.6922 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.6674, allocations: 7.938 kB / 0.6922 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.6675, allocations: 0 / 0.6922 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.6675, allocations: 3.984 kB / 0.6922 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002314/0.6698, allocations: 1.375 MB / 0.6935 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.6698, allocations: 224 / 0.6935 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/0.6708, allocations: 195.8 kB / 0.6937 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002587/0.671, allocations: 52.78 kB / 0.6938 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.6711, allocations: 16 kB / 0.6938 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.6738, allocations: 2.776 MB / 0.6965 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.319e-06/0.6738, allocations: 4.031 kB / 0.6965 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.6755, allocations: 1.006 MB / 0.6975 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003945/0.6759, allocations: 131.4 kB / 0.6976 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.933e-05/0.676, allocations: 12 kB / 0.6976 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.6764, allocations: 20 kB / 0.6976 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.6765, allocations: 47.86 kB / 0.6977 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-05/0.6765, allocations: 16 kB / 0.6977 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006972/0.6772, allocations: 423 kB / 0.6981 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6772, allocations: 0 / 0.6981 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001023/0.6783, allocations: 211.8 kB / 0.6983 GB, free: 5.934 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.0005259/0.6788, allocations: 211.5 kB / 0.6985 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.6803, allocations: 0.5851 MB / 0.6991 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/0.6803, allocations: 4 kB / 0.6991 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.6816, allocations: 470.3 kB / 0.6995 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001705/0.6833, allocations: 380.4 kB / 0.6999 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00248/0.6858, allocations: 1.434 MB / 0.7013 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000664/0.6864, allocations: 0.9384 MB / 0.7022 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0006752/0.6871, allocations: 218.4 kB / 0.7024 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.6873, allocations: 59.42 kB / 0.7025 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of SimCode: time 4.21e-07/0.6873, allocations: 0 / 0.7025 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of Templates: time 0.0303/0.7176, allocations: 15.88 MB / 0.718 GB, free: 1.895 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.266040910035372]