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.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.001936/0.001936, 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.002463/0.002463, allocations: 209.8 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2337/0.2337, allocations: 44.93 MB / 358.8 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] 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.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.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 67.89 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3463, allocations: 65.47 MB / 0.5575 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0244/0.3707, allocations: 18.67 MB / 0.5757 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007262/0.3779, allocations: 3.999 MB / 0.5796 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007767/0.3787, allocations: 27.75 kB / 0.5796 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.3798, allocations: 306 kB / 0.5799 GB, free: 416 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.3822, allocations: 0.8823 MB / 0.5808 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.3848, allocations: 0.93 MB / 0.5817 GB, free: 14.6 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002585/0.3874, allocations: 1.817 MB / 0.5835 GB, free: 12.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007018/0.3881, allocations: 397.5 kB / 0.5838 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.3903, allocations: 0.9574 MB / 0.5848 GB, free: 11.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001056/0.3913, allocations: 0.6577 MB / 0.5854 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.3915, allocations: 60 kB / 0.5855 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008526/0.3923, allocations: 283.6 kB / 0.5858 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003016/0.3926, allocations: 275.1 kB / 0.586 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003796/0.393, allocations: 318.7 kB / 0.5863 GB, free: 9.844 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.3945, allocations: 1.089 MB / 0.5874 GB, free: 8.754 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3945, allocations: 0 / 0.5874 GB, free: 8.754 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3945, allocations: 0 / 0.5874 GB, free: 8.754 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3945, allocations: 0 / 0.5874 GB, free: 8.754 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.002594/0.3971, allocations: 0.9912 MB / 0.5883 GB, free: 7.73 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.3971, allocations: 8.031 kB / 0.5884 GB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.3975, allocations: 100.4 kB / 0.5885 GB, free: 7.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.3985, allocations: 478.7 kB / 0.5889 GB, free: 7.129 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.3987, allocations: 152.4 kB / 0.5891 GB, free: 6.957 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.3988, allocations: 56.31 kB / 0.5891 GB, free: 6.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001497/0.4003, allocations: 1.068 MB / 0.5902 GB, free: 5.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.4003, allocations: 7.938 kB / 0.5902 GB, free: 5.691 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-05/0.4004, allocations: 27.98 kB / 0.5902 GB, free: 5.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-05/0.4005, allocations: 36.98 kB / 0.5902 GB, free: 5.629 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.4016, allocations: 0.6439 MB / 0.5909 GB, free: 4.984 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.004868/0.4065, allocations: 3.329 MB / 0.5941 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009298/0.4074, allocations: 398.7 kB / 0.5945 GB, free: 1.148 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003439/0.4078, allocations: 193.4 kB / 0.5947 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.408, allocations: 52.28 kB / 0.5947 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.4081, allocations: 38.89 kB / 0.5948 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=40): time 2.885e-06/0.4081, allocations: 0 / 0.5948 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of matching and sorting (n=45): time 0.003415/0.4115, allocations: 1.459 MB / 0.5962 GB, free: 15.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.379e-05/0.4116, allocations: 132.5 kB / 0.5963 GB, free: 15.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.4123, allocations: 0.5143 MB / 0.5968 GB, free: 14.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.4123, allocations: 33.7 kB / 0.5968 GB, free: 14.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.4126, allocations: 376.3 kB / 0.5972 GB, free: 14.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.4128, allocations: 170.6 kB / 0.5974 GB, free: 14.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.413, allocations: 134.6 kB / 0.5975 GB, free: 13.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.4132, allocations: 370.8 kB / 0.5978 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.4136, allocations: 225.9 kB / 0.5981 GB, free: 13.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000724/0.4143, allocations: 0.5954 MB / 0.5986 GB, free: 12.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.4155, allocations: 0.7835 MB / 0.5994 GB, free: 11.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.4155, allocations: 4 kB / 0.5994 GB, free: 11.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001884/0.4173, allocations: 0.934 MB / 0.6003 GB, free: 10.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4174, allocations: 11.94 kB / 0.6003 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.4174, allocations: 12 kB / 0.6003 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.4186, allocations: 260.7 kB / 0.6006 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.419, allocations: 135.7 kB / 0.6007 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.4201, allocations: 0.8606 MB / 0.6016 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004824/0.4206, allocations: 36.05 kB / 0.6016 GB, free: 9.418 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.4206, allocations: 32 kB / 0.6016 GB, free: 9.387 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.0003802/0.421, allocations: 248.3 kB / 0.6019 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.4212, allocations: 63.62 kB / 0.6019 GB, free: 9.074 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.4226, allocations: 0.7074 MB / 0.6026 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.4226, allocations: 4 kB / 0.6026 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4226, allocations: 4 kB / 0.6026 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/0.4226, allocations: 3.984 kB / 0.6026 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002245/0.4249, allocations: 1.235 MB / 0.6038 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4249, allocations: 224 / 0.6038 GB, free: 7.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/0.4259, allocations: 195.8 kB / 0.604 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002545/0.4262, allocations: 56.78 kB / 0.6041 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-05/0.4262, allocations: 15.94 kB / 0.6041 GB, free: 6.785 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/0.4289, allocations: 2.733 MB / 0.6068 GB, free: 3.852 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4289, allocations: 4.031 kB / 0.6068 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001701/0.4306, allocations: 1.001 MB / 0.6077 GB, free: 2.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003124/0.4309, allocations: 115.5 kB / 0.6078 GB, free: 2.695 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/0.431, allocations: 12 kB / 0.6079 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00036/0.4314, allocations: 15.98 kB / 0.6079 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.4315, allocations: 43.88 kB / 0.6079 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.4315, allocations: 19.98 kB / 0.6079 GB, free: 2.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004683/0.432, allocations: 346.8 kB / 0.6083 GB, free: 2.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.432, allocations: 0 / 0.6083 GB, free: 2.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008694/0.4329, allocations: 207.9 kB / 0.6085 GB, free: 2.066 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.0004325/0.4333, allocations: 220.6 kB / 0.6087 GB, free: 1.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001253/0.4346, allocations: 0.5849 MB / 0.6092 GB, free: 1.258 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.4346, allocations: 4 kB / 0.6093 GB, free: 1.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.4358, allocations: 476 kB / 0.6097 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.4373, allocations: 324.7 kB / 0.61 GB, free: 480 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.4398, allocations: 1.405 MB / 0.6114 GB, free: 15.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.4402, allocations: 337.1 kB / 0.6117 GB, free: 14.65 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006286/0.4408, allocations: 206.3 kB / 0.6119 GB, free: 14.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.4409, allocations: 55.44 kB / 0.612 GB, free: 14.41 MB / 462.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4409, allocations: 0 / 0.612 GB, free: 14.41 MB / 462.1 MB Notification: Performance of Templates: time 0.02699/0.4679, allocations: 14.87 MB / 0.6265 GB, free: 15.87 MB / 478.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.832963714376092]