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.001398/0.001398, 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.00172/0.00172, allocations: 211.1 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.497/1.497, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2533/0.2533, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.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.002826/0.002826, allocations: 55.91 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3818, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02413/0.406, allocations: 18.68 MB / 0.5793 GB, free: 1.414 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007786/0.4138, allocations: 3.987 MB / 0.5832 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009021/0.4147, allocations: 27.75 kB / 0.5832 GB, free: 13.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.4159, allocations: 314 kB / 0.5835 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003114/0.419, allocations: 0.8862 MB / 0.5844 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.4221, allocations: 0.933 MB / 0.5853 GB, free: 11.26 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003083/0.4252, allocations: 1.821 MB / 0.5871 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.4262, allocations: 397.5 kB / 0.5875 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.4291, allocations: 0.9574 MB / 0.5884 GB, free: 8.082 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.4309, allocations: 0.6772 MB / 0.5891 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002833/0.4311, allocations: 60 kB / 0.5891 GB, free: 7.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.4324, allocations: 287.6 kB / 0.5894 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000508/0.4329, allocations: 279.1 kB / 0.5897 GB, free: 6.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000876/0.4338, allocations: 322.6 kB / 0.59 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.436, allocations: 1.082 MB / 0.591 GB, free: 5.391 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.436, allocations: 0 / 0.591 GB, free: 5.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.436, allocations: 0 / 0.591 GB, free: 5.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.674e-05/0.436, allocations: 0 / 0.591 GB, free: 5.391 MB / 430.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.003135/0.4392, allocations: 0.999 MB / 0.592 GB, free: 4.359 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.4392, allocations: 8.031 kB / 0.592 GB, free: 4.352 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004471/0.4397, allocations: 100.4 kB / 0.5921 GB, free: 4.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.4408, allocations: 466.8 kB / 0.5926 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.4409, allocations: 156.3 kB / 0.5927 GB, free: 3.594 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.441, allocations: 52.33 kB / 0.5928 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.4426, allocations: 1.072 MB / 0.5938 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.688e-05/0.4426, allocations: 11.88 kB / 0.5938 GB, free: 2.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.4427, allocations: 20 kB / 0.5938 GB, free: 2.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.47e-05/0.4428, allocations: 44.97 kB / 0.5939 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.4439, allocations: 0.6478 MB / 0.5945 GB, free: 1.609 MB / 430.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.005015/0.449, allocations: 3.317 MB / 0.5978 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.45, allocations: 401.5 kB / 0.5981 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003679/0.4503, allocations: 197.4 kB / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003022/0.4506, allocations: 44.3 kB / 0.5984 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.4507, allocations: 42.88 kB / 0.5984 GB, free: 13.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.885e-06/0.4507, allocations: 0 / 0.5984 GB, free: 13.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003549/0.4542, allocations: 1.459 MB / 0.5998 GB, free: 12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001118/0.4543, allocations: 136.5 kB / 0.6 GB, free: 11.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006876/0.455, allocations: 0.5143 MB / 0.6005 GB, free: 11.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.4551, allocations: 33.7 kB / 0.6005 GB, free: 11.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000305/0.4554, allocations: 372.3 kB / 0.6009 GB, free: 10.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.4556, allocations: 174.6 kB / 0.601 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/0.4558, allocations: 134.6 kB / 0.6011 GB, free: 10.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002531/0.456, allocations: 374.8 kB / 0.6015 GB, free: 10.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/0.4565, allocations: 225.8 kB / 0.6017 GB, free: 9.992 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/0.4572, allocations: 0.5954 MB / 0.6023 GB, free: 9.242 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.4583, allocations: 0.7796 MB / 0.6031 GB, free: 8.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4583, allocations: 0 / 0.6031 GB, free: 8.336 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001898/0.4602, allocations: 0.9418 MB / 0.604 GB, free: 7.383 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4602, allocations: 8 kB / 0.604 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/0.4602, allocations: 8 kB / 0.604 GB, free: 7.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.4615, allocations: 260.7 kB / 0.6042 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004517/0.4619, allocations: 127.8 kB / 0.6044 GB, free: 6.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.463, allocations: 0.8683 MB / 0.6052 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.4634, allocations: 27.98 kB / 0.6052 GB, free: 6.062 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.825e-05/0.4635, allocations: 40.05 kB / 0.6053 GB, free: 6.023 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.0003719/0.4639, allocations: 245.5 kB / 0.6055 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000125/0.464, allocations: 59.62 kB / 0.6056 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.4655, allocations: 0.7112 MB / 0.6063 GB, free: 5.004 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.4655, allocations: 8 kB / 0.6063 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.4655, allocations: 4 kB / 0.6063 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.4655, allocations: 0 / 0.6063 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.4677, allocations: 1.232 MB / 0.6075 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.4677, allocations: 4 kB / 0.6075 GB, free: 3.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.4688, allocations: 195.9 kB / 0.6077 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/0.4691, allocations: 60.78 kB / 0.6077 GB, free: 3.438 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.4691, allocations: 11.94 kB / 0.6077 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002599/0.4717, allocations: 2.734 MB / 0.6104 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4717, allocations: 0 / 0.6104 GB, free: 0.4922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.4735, allocations: 0.9982 MB / 0.6114 GB, free: 15.45 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.4738, allocations: 123.5 kB / 0.6115 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.584e-05/0.4739, allocations: 8 kB / 0.6115 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/0.4743, allocations: 16 kB / 0.6115 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.596e-05/0.4743, allocations: 39.92 kB / 0.6116 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.9e-05/0.4744, allocations: 23.98 kB / 0.6116 GB, free: 15.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004402/0.4748, allocations: 346.8 kB / 0.6119 GB, free: 14.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4748, allocations: 0 / 0.6119 GB, free: 14.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008173/0.4757, allocations: 199.9 kB / 0.6121 GB, free: 14.71 MB / 462.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.0004278/0.4761, allocations: 234.3 kB / 0.6123 GB, free: 14.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.4773, allocations: 0.5851 MB / 0.6129 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.4773, allocations: 0 / 0.6129 GB, free: 13.89 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.4786, allocations: 478.8 kB / 0.6134 GB, free: 13.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/0.48, allocations: 312.5 kB / 0.6137 GB, free: 13.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/0.4825, allocations: 1.421 MB / 0.615 GB, free: 11.64 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.4829, allocations: 337.1 kB / 0.6154 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006024/0.4835, allocations: 198.9 kB / 0.6156 GB, free: 11.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.4837, allocations: 59.42 kB / 0.6156 GB, free: 11.05 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4837, allocations: 0 / 0.6156 GB, free: 11.05 MB / 462.1 MB Notification: Performance of Templates: time 0.02641/0.5101, allocations: 15.12 MB / 0.6304 GB, free: 12.25 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/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: 5.826174051035196]