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.001422/0.001422, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00157/0.00157, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.53/1.53, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2357/0.2357, allocations: 46.97 MB / 360.9 MB, free: 4.047 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.002283/0.002283, allocations: 67.91 kB / 0.4966 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.355/0.3573, allocations: 66.04 MB / 0.5611 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02522/0.3825, allocations: 18.67 MB / 0.5793 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007838/0.3904, allocations: 3.991 MB / 0.5832 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009408/0.3913, allocations: 31.69 kB / 0.5833 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001315/0.3926, allocations: 306 kB / 0.5836 GB, free: 13.08 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003103/0.3957, allocations: 0.8784 MB / 0.5844 GB, free: 12.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002985/0.3987, allocations: 0.9263 MB / 0.5853 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002663/0.4014, allocations: 1.821 MB / 0.5871 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007913/0.4022, allocations: 393.5 kB / 0.5875 GB, free: 9.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002368/0.4045, allocations: 0.9613 MB / 0.5884 GB, free: 8.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001416/0.4059, allocations: 0.6578 MB / 0.589 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002969/0.4062, allocations: 60 kB / 0.5891 GB, free: 7.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.4073, allocations: 279.6 kB / 0.5894 GB, free: 7.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004835/0.4078, allocations: 275.1 kB / 0.5896 GB, free: 6.84 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007524/0.4086, allocations: 322.6 kB / 0.5899 GB, free: 6.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.4109, allocations: 1.089 MB / 0.591 GB, free: 5.434 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4109, allocations: 0 / 0.591 GB, free: 5.434 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4109, allocations: 0 / 0.591 GB, free: 5.434 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.918e-05/0.4109, allocations: 0 / 0.591 GB, free: 5.434 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.003307/0.4143, allocations: 0.9912 MB / 0.592 GB, free: 4.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.93e-05/0.4143, allocations: 12.03 kB / 0.592 GB, free: 4.398 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004998/0.4148, allocations: 96.41 kB / 0.5921 GB, free: 4.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.4162, allocations: 470.8 kB / 0.5925 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.4164, allocations: 160.3 kB / 0.5927 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.4166, allocations: 52.33 kB / 0.5927 GB, free: 3.586 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.4184, allocations: 1.068 MB / 0.5938 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/0.4184, allocations: 4 kB / 0.5938 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.367e-05/0.4185, allocations: 27.98 kB / 0.5938 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.41e-05/0.4185, allocations: 40.92 kB / 0.5938 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.4198, allocations: 0.6439 MB / 0.5945 GB, free: 1.668 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.005466/0.4252, allocations: 3.325 MB / 0.5977 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.4263, allocations: 401.4 kB / 0.5981 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.4266, allocations: 193.4 kB / 0.5983 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.427, allocations: 48.28 kB / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.175e-05/0.427, allocations: 42.89 kB / 0.5984 GB, free: 13.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.845e-06/0.427, allocations: 0 / 0.5984 GB, free: 13.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003788/0.4308, allocations: 1.466 MB / 0.5998 GB, free: 12.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001276/0.4309, allocations: 136.5 kB / 0.5999 GB, free: 11.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007825/0.4317, allocations: 0.5104 MB / 0.6004 GB, free: 11.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.4318, allocations: 29.7 kB / 0.6005 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.4321, allocations: 376.3 kB / 0.6008 GB, free: 10.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000182/0.4323, allocations: 166.6 kB / 0.601 GB, free: 10.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.4325, allocations: 146.5 kB / 0.6011 GB, free: 10.63 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.4328, allocations: 370.8 kB / 0.6015 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000425/0.4332, allocations: 225.9 kB / 0.6017 GB, free: 10.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007986/0.434, allocations: 0.5915 MB / 0.6023 GB, free: 9.289 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.4353, allocations: 0.7874 MB / 0.603 GB, free: 8.375 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-06/0.4353, allocations: 3.938 kB / 0.603 GB, free: 8.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001997/0.4373, allocations: 0.9335 MB / 0.6039 GB, free: 7.426 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4374, allocations: 8 kB / 0.604 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.4374, allocations: 12 kB / 0.604 GB, free: 7.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.4387, allocations: 265.1 kB / 0.6042 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000466/0.4391, allocations: 127.8 kB / 0.6043 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.4403, allocations: 0.874 MB / 0.6052 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.4409, allocations: 27.98 kB / 0.6052 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/0.4409, allocations: 32 kB / 0.6053 GB, free: 6.066 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.0004466/0.4414, allocations: 248.4 kB / 0.6055 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.4416, allocations: 59.62 kB / 0.6055 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.4431, allocations: 0.7123 MB / 0.6062 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.4431, allocations: 4 kB / 0.6062 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4432, allocations: 0 / 0.6062 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4432, allocations: 3.984 kB / 0.6063 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.4456, allocations: 1.228 MB / 0.6075 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.4457, allocations: 4 kB / 0.6075 GB, free: 3.738 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.4467, allocations: 191.7 kB / 0.6076 GB, free: 3.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002686/0.447, allocations: 65 kB / 0.6077 GB, free: 3.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.447, allocations: 11.94 kB / 0.6077 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002951/0.45, allocations: 2.738 MB / 0.6104 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.45, allocations: 0 / 0.6104 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.4517, allocations: 0.9942 MB / 0.6114 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.452, allocations: 119.5 kB / 0.6115 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.4521, allocations: 12 kB / 0.6115 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.4526, allocations: 15.98 kB / 0.6115 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4527, allocations: 39.88 kB / 0.6115 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/0.4527, allocations: 28.11 kB / 0.6116 GB, free: 15.29 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005315/0.4532, allocations: 346.8 kB / 0.6119 GB, free: 14.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4532, allocations: 0 / 0.6119 GB, free: 14.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001012/0.4543, allocations: 207.9 kB / 0.6121 GB, free: 14.75 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.0004936/0.4547, allocations: 225.5 kB / 0.6123 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.4561, allocations: 0.589 MB / 0.6129 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4561, allocations: 0 / 0.6129 GB, free: 13.94 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.4574, allocations: 482.7 kB / 0.6133 GB, free: 13.45 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.459, allocations: 306.1 kB / 0.6136 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.4618, allocations: 1.401 MB / 0.615 GB, free: 11.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.4622, allocations: 341.1 kB / 0.6153 GB, free: 11.34 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006657/0.4629, allocations: 197.8 kB / 0.6155 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.4631, allocations: 63.42 kB / 0.6156 GB, free: 11.1 MB / 462.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4631, allocations: 0 / 0.6156 GB, free: 11.1 MB / 462.1 MB Notification: Performance of Templates: time 0.0281/0.4912, allocations: 14.87 MB / 0.6301 GB, free: 12.55 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.850516173988581]