Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002158/0.002158, allocations: 186.4 kB / 24.51 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2375/0.2375, allocations: 44.92 MB / 353.5 MB, free: 11.81 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.89 kB / 497.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3553, allocations: 64.29 MB / 0.5488 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02541/0.3807, allocations: 20.58 MB / 0.5689 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008172/0.3889, allocations: 4.34 MB / 0.5732 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.3902, allocations: 27.69 kB / 0.5732 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001848/0.392, allocations: 322 kB / 0.5735 GB, free: 6.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003261/0.3953, allocations: 0.8823 MB / 0.5744 GB, free: 5.172 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002763/0.3981, allocations: 0.9228 MB / 0.5753 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002629/0.4007, allocations: 1.821 MB / 0.5771 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006464/0.4013, allocations: 401.5 kB / 0.5774 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001959/0.4033, allocations: 0.9496 MB / 0.5784 GB, free: 1.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.4044, allocations: 0.685 MB / 0.579 GB, free: 400 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.4045, allocations: 60 kB / 0.5791 GB, free: 340 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009458/0.4055, allocations: 319.6 kB / 0.5794 GB, free: 20 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.4058, allocations: 267.3 kB / 0.5796 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005182/0.4063, allocations: 398.2 kB / 0.58 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001671/0.408, allocations: 1.085 MB / 0.5811 GB, free: 14.28 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.408, allocations: 0 / 0.5811 GB, free: 14.28 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.408, allocations: 0 / 0.5811 GB, free: 14.28 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.321e-05/0.408, allocations: 7.922 kB / 0.5811 GB, free: 14.27 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.002336/0.4104, allocations: 0.9912 MB / 0.5821 GB, free: 13.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.4104, allocations: 8.922 kB / 0.5821 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003546/0.4107, allocations: 100.4 kB / 0.5822 GB, free: 13.14 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009153/0.4117, allocations: 474.7 kB / 0.5826 GB, free: 12.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.4118, allocations: 108.9 kB / 0.5827 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.681e-05/0.4119, allocations: 44.38 kB / 0.5828 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.4133, allocations: 0.8213 MB / 0.5836 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/0.4133, allocations: 7.938 kB / 0.5836 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.185e-05/0.4134, allocations: 23.98 kB / 0.5836 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.524e-05/0.4134, allocations: 48.95 kB / 0.5836 GB, free: 11.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.4146, allocations: 0.64 MB / 0.5843 GB, free: 10.88 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.005425/0.42, allocations: 4.174 MB / 0.5883 GB, free: 6.426 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.421, allocations: 403.9 kB / 0.5887 GB, free: 6.023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.4214, allocations: 193.4 kB / 0.5889 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003245/0.4217, allocations: 52.27 kB / 0.589 GB, free: 5.781 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.4218, allocations: 38.89 kB / 0.589 GB, free: 5.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.906e-06/0.4218, allocations: 0 / 0.589 GB, free: 5.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003597/0.4254, allocations: 1.459 MB / 0.5904 GB, free: 4.238 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.754e-05/0.4255, allocations: 136.5 kB / 0.5906 GB, free: 4.074 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007467/0.4262, allocations: 0.5771 MB / 0.5911 GB, free: 3.484 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.4263, allocations: 33.7 kB / 0.5912 GB, free: 3.445 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000273/0.4265, allocations: 359.9 kB / 0.5915 GB, free: 3.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.4267, allocations: 162.6 kB / 0.5917 GB, free: 2.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.4269, allocations: 146.6 kB / 0.5918 GB, free: 2.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.4271, allocations: 378.7 kB / 0.5922 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.4275, allocations: 221.9 kB / 0.5924 GB, free: 2.184 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006706/0.4282, allocations: 0.5201 MB / 0.5929 GB, free: 1.523 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.4293, allocations: 0.7796 MB / 0.5936 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4293, allocations: 3.938 kB / 0.5936 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001955/0.4313, allocations: 0.9334 MB / 0.5945 GB, free: 15.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.4313, allocations: 13.41 kB / 0.5946 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.4313, allocations: 15.97 kB / 0.5946 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.4325, allocations: 265.2 kB / 0.5948 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.4329, allocations: 131.7 kB / 0.595 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.434, allocations: 0.8671 MB / 0.5958 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004897/0.4345, allocations: 28 kB / 0.5958 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.743e-05/0.4346, allocations: 35.98 kB / 0.5959 GB, free: 14.3 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.0005462/0.4351, allocations: 251.7 kB / 0.5961 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.4353, allocations: 71.53 kB / 0.5962 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.4368, allocations: 0.7197 MB / 0.5969 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.4368, allocations: 4 kB / 0.5969 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.4368, allocations: 4 kB / 0.5969 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4368, allocations: 0 / 0.5969 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002919/0.4397, allocations: 1.379 MB / 0.5982 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.4397, allocations: 7.875 kB / 0.5982 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.4408, allocations: 195.8 kB / 0.5984 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/0.441, allocations: 57.02 kB / 0.5985 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/0.4411, allocations: 15.98 kB / 0.5985 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002915/0.444, allocations: 2.779 MB / 0.6012 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.444, allocations: 4.031 kB / 0.6012 GB, free: 8.504 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001758/0.4458, allocations: 1.005 MB / 0.6022 GB, free: 7.461 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.4461, allocations: 123.5 kB / 0.6023 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.249e-05/0.4462, allocations: 12 kB / 0.6023 GB, free: 7.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.4466, allocations: 24.05 kB / 0.6023 GB, free: 7.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4467, allocations: 39.81 kB / 0.6024 GB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.4468, allocations: 23.98 kB / 0.6024 GB, free: 7.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005764/0.4473, allocations: 423 kB / 0.6028 GB, free: 6.828 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4473, allocations: 0 / 0.6028 GB, free: 6.828 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008071/0.4482, allocations: 203.8 kB / 0.603 GB, free: 6.629 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.0005354/0.4487, allocations: 247.6 kB / 0.6032 GB, free: 6.391 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.4499, allocations: 0.5805 MB / 0.6038 GB, free: 5.812 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.4499, allocations: 4 kB / 0.6038 GB, free: 5.809 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.4511, allocations: 484.4 kB / 0.6043 GB, free: 5.324 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001676/0.4528, allocations: 363.8 kB / 0.6046 GB, free: 4.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002509/0.4553, allocations: 1.42 MB / 0.606 GB, free: 3.508 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/0.4559, allocations: 0.9384 MB / 0.6069 GB, free: 2.543 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007847/0.4567, allocations: 212 kB / 0.6071 GB, free: 2.348 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.4569, allocations: 63.42 kB / 0.6072 GB, free: 2.285 MB / 446.1 MB Notification: Performance of SimCode: time 1.051e-06/0.4569, allocations: 0 / 0.6072 GB, free: 2.285 MB / 446.1 MB Notification: Performance of Templates: time 0.02946/0.4864, allocations: 15.88 MB / 0.6227 GB, free: 2.605 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.938740988261998]