Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.001604/0.001604, allocations: 115.1 kB / 18.45 MB, free: 4.566 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.001953/0.001953, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.476/1.476, allocations: 230.6 MB / 254.8 MB, free: 15.07 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.2313/0.2313, allocations: 46.92 MB / 357.8 MB, free: 10.3 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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 71.89 kB / 0.4921 GB, free: 7.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.145, allocations: 66 MB / 0.5565 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02724/0.1723, allocations: 20.48 MB / 0.5765 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008257/0.1805, allocations: 4.302 MB / 0.5807 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.1816, allocations: 27.75 kB / 0.5808 GB, free: 12.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00118/0.1828, allocations: 326 kB / 0.5811 GB, free: 12.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.1853, allocations: 0.8667 MB / 0.5819 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.1881, allocations: 0.8952 MB / 0.5828 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002919/0.191, allocations: 1.805 MB / 0.5845 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007986/0.1918, allocations: 417.3 kB / 0.5849 GB, free: 8.117 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002482/0.1943, allocations: 0.9457 MB / 0.5859 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.1955, allocations: 0.6695 MB / 0.5865 GB, free: 6.496 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1956, allocations: 60 kB / 0.5866 GB, free: 6.438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009106/0.1965, allocations: 319.6 kB / 0.5869 GB, free: 6.125 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003286/0.1969, allocations: 263.2 kB / 0.5871 GB, free: 5.867 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004822/0.1973, allocations: 390.2 kB / 0.5875 GB, free: 5.484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001691/0.199, allocations: 1.086 MB / 0.5886 GB, free: 4.395 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.199, allocations: 4 kB / 0.5886 GB, free: 4.391 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.397e-06/0.199, allocations: 4 kB / 0.5886 GB, free: 4.387 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.199, allocations: 0 / 0.5886 GB, free: 4.387 MB / 446.1 MB 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.002478/0.2015, allocations: 1.059 MB / 0.5896 GB, free: 3.277 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.2016, allocations: 12.02 kB / 0.5896 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003587/0.2019, allocations: 92.42 kB / 0.5897 GB, free: 3.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009266/0.2029, allocations: 0.5409 MB / 0.5902 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.203, allocations: 105 kB / 0.5903 GB, free: 2.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.2031, allocations: 52.33 kB / 0.5904 GB, free: 2.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/0.2045, allocations: 0.8135 MB / 0.5912 GB, free: 1.539 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/0.2045, allocations: 7.922 kB / 0.5912 GB, free: 1.531 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.2046, allocations: 24 kB / 0.5912 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.341e-05/0.2046, allocations: 36.98 kB / 0.5912 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.2058, allocations: 0.6439 MB / 0.5919 GB, free: 0.8281 MB / 446.1 MB 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.2893/0.4951, allocations: 4.201 MB / 0.596 GB, free: 34.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009185/0.496, allocations: 399.5 kB / 0.5964 GB, free: 34.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003502/0.4963, allocations: 192.7 kB / 0.5965 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/0.4967, allocations: 0.4979 MB / 0.597 GB, free: 34.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.4967, allocations: 42.67 kB / 0.5971 GB, free: 34.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.374e-06/0.4967, allocations: 0 / 0.5971 GB, free: 34.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.00317/0.4999, allocations: 1.544 MB / 0.5986 GB, free: 33.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.5, allocations: 133.2 kB / 0.5987 GB, free: 33.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006617/0.5006, allocations: 0.5751 MB / 0.5993 GB, free: 33.47 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.914e-05/0.5007, allocations: 36.05 kB / 0.5993 GB, free: 33.44 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.5009, allocations: 361 kB / 0.5996 GB, free: 33.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.501, allocations: 170.3 kB / 0.5998 GB, free: 33.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002022/0.5012, allocations: 137.8 kB / 0.5999 GB, free: 33.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.5013, allocations: 382.2 kB / 0.6003 GB, free: 32.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003993/0.5017, allocations: 222.4 kB / 0.6005 GB, free: 32.61 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005298/0.5022, allocations: 0.5242 MB / 0.601 GB, free: 32.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009392/0.5032, allocations: 0.7711 MB / 0.6018 GB, free: 31.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.5032, allocations: 3.094 kB / 0.6018 GB, free: 31.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001844/0.505, allocations: 0.94 MB / 0.6027 GB, free: 31.21 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.505, allocations: 10.12 kB / 0.6027 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.505, allocations: 10.23 kB / 0.6027 GB, free: 31.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/0.5061, allocations: 271.5 kB / 0.603 GB, free: 31.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.5065, allocations: 122.5 kB / 0.6031 GB, free: 31.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008363/0.5074, allocations: 0.8689 MB / 0.6039 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004479/0.5078, allocations: 26.84 kB / 0.604 GB, free: 30.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.5079, allocations: 38.72 kB / 0.604 GB, free: 30.47 MB / 446.1 MB 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.0002962/0.5082, allocations: 247 kB / 0.6042 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.5083, allocations: 78.66 kB / 0.6043 GB, free: 30.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.5097, allocations: 0.7072 MB / 0.605 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.5097, allocations: 8.344 kB / 0.605 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.5097, allocations: 1.594 kB / 0.605 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.5097, allocations: 2.297 kB / 0.605 GB, free: 29.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002127/0.5119, allocations: 1.407 MB / 0.6064 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5119, allocations: 1.812 kB / 0.6064 GB, free: 29.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/0.5129, allocations: 194 kB / 0.6066 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.5131, allocations: 53.66 kB / 0.6066 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.5131, allocations: 15.47 kB / 0.6066 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001769/0.5149, allocations: 2.985 MB / 0.6096 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5149, allocations: 3.516 kB / 0.6096 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001448/0.5164, allocations: 1.005 MB / 0.6105 GB, free: 25.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.5166, allocations: 203.2 kB / 0.6107 GB, free: 25.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/0.5167, allocations: 14.41 kB / 0.6108 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.5171, allocations: 16.34 kB / 0.6108 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.5172, allocations: 41.92 kB / 0.6108 GB, free: 25.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.5172, allocations: 19.44 kB / 0.6108 GB, free: 25.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005151/0.5177, allocations: 418.9 kB / 0.6112 GB, free: 25.25 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5177, allocations: 0.5 kB / 0.6112 GB, free: 25.25 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000886/0.5186, allocations: 215.8 kB / 0.6114 GB, free: 25.22 MB / 446.1 MB 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.0004391/0.519, allocations: 219.8 kB / 0.6116 GB, free: 25.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001244/0.5203, allocations: 0.5841 MB / 0.6122 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5203, allocations: 1.188 kB / 0.6122 GB, free: 24.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.5214, allocations: 462.5 kB / 0.6127 GB, free: 24.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.5231, allocations: 383 kB / 0.613 GB, free: 24.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002198/0.5253, allocations: 1.46 MB / 0.6144 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004656/0.5258, allocations: 0.933 MB / 0.6154 GB, free: 23.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.526, allocations: 66.28 kB / 0.6154 GB, free: 23.05 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.526, allocations: 1.062 kB / 0.6154 GB, free: 23.05 MB / 446.1 MB Notification: Performance of Templates: time 0.02006/0.5461, allocations: 15.66 MB / 0.6307 GB, free: 15.48 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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.390516286017373]