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.00132/0.00132, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001522/0.001522, allocations: 211.7 kB / 23.74 MB, free: 4.672 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.2299/0.2299, allocations: 46.93 MB / 360.9 MB, free: 4.258 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: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 59.91 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3146, allocations: 66.04 MB / 0.5607 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02376/0.3383, allocations: 20.7 MB / 0.5809 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006964/0.3453, allocations: 4.337 MB / 0.5851 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006857/0.346, allocations: 27.75 kB / 0.5851 GB, free: 11.31 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.347, allocations: 318 kB / 0.5854 GB, free: 11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.3492, allocations: 0.8823 MB / 0.5863 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.3519, allocations: 0.9339 MB / 0.5872 GB, free: 9.184 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002699/0.3546, allocations: 1.817 MB / 0.589 GB, free: 7.359 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000757/0.3554, allocations: 393.6 kB / 0.5894 GB, free: 6.973 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.3574, allocations: 0.9613 MB / 0.5903 GB, free: 6.008 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001119/0.3586, allocations: 0.6812 MB / 0.591 GB, free: 5.324 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.3587, allocations: 60 kB / 0.591 GB, free: 5.266 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008506/0.3595, allocations: 323.6 kB / 0.5913 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.3598, allocations: 267.2 kB / 0.5916 GB, free: 4.688 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.3602, allocations: 386.2 kB / 0.592 GB, free: 4.309 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.3618, allocations: 1.094 MB / 0.593 GB, free: 3.211 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3618, allocations: 0 / 0.593 GB, free: 3.211 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3618, allocations: 0 / 0.593 GB, free: 3.211 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3618, allocations: 0 / 0.593 GB, free: 3.211 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.002358/0.3642, allocations: 0.9912 MB / 0.594 GB, free: 2.188 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3642, allocations: 8.031 kB / 0.594 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.3643, allocations: 102.6 kB / 0.5941 GB, free: 2.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003336/0.3647, allocations: 96.41 kB / 0.5942 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00089/0.3656, allocations: 474.8 kB / 0.5946 GB, free: 1.484 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.3657, allocations: 160.3 kB / 0.5948 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.535e-05/0.3658, allocations: 56.08 kB / 0.5949 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.3671, allocations: 0.8175 MB / 0.5957 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.3671, allocations: 3.938 kB / 0.5957 GB, free: 360 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.3672, allocations: 20 kB / 0.5957 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.886e-05/0.3672, allocations: 40.98 kB / 0.5957 GB, free: 300 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.3684, allocations: 0.6478 MB / 0.5963 GB, free: 15.64 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.005092/0.3735, allocations: 4.158 MB / 0.6004 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008784/0.3744, allocations: 403.8 kB / 0.6008 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.3747, allocations: 193.4 kB / 0.601 GB, free: 10.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.375, allocations: 56.28 kB / 0.601 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.375, allocations: 46.81 kB / 0.6011 GB, free: 10.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 1.964e-06/0.375, allocations: 4 kB / 0.6011 GB, free: 10.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003277/0.3783, allocations: 1.444 MB / 0.6025 GB, free: 9.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.555e-05/0.3784, allocations: 136.5 kB / 0.6026 GB, free: 8.855 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006972/0.3791, allocations: 0.5732 MB / 0.6032 GB, free: 8.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/0.3791, allocations: 37.7 kB / 0.6032 GB, free: 8.227 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.3794, allocations: 363.8 kB / 0.6036 GB, free: 7.867 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001509/0.3796, allocations: 182.4 kB / 0.6037 GB, free: 7.688 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.3798, allocations: 134.6 kB / 0.6039 GB, free: 7.551 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.38, allocations: 382.7 kB / 0.6042 GB, free: 7.168 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/0.3804, allocations: 221.9 kB / 0.6044 GB, free: 6.949 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/0.381, allocations: 0.5162 MB / 0.6049 GB, free: 6.297 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.3821, allocations: 0.7796 MB / 0.6057 GB, free: 5.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.3821, allocations: 4 kB / 0.6057 GB, free: 5.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001923/0.384, allocations: 0.9339 MB / 0.6066 GB, free: 4.441 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.384, allocations: 12.22 kB / 0.6066 GB, free: 4.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.384, allocations: 8 kB / 0.6066 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.3852, allocations: 267.7 kB / 0.6069 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.3856, allocations: 127.8 kB / 0.607 GB, free: 4.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/0.3867, allocations: 0.8749 MB / 0.6079 GB, free: 3.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/0.3871, allocations: 24 kB / 0.6079 GB, free: 3.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/0.3872, allocations: 36 kB / 0.6079 GB, free: 3.078 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.0003484/0.3876, allocations: 246.7 kB / 0.6082 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3877, allocations: 67.58 kB / 0.6082 GB, free: 2.762 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.3891, allocations: 0.7177 MB / 0.6089 GB, free: 2.047 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.3891, allocations: 4 kB / 0.6089 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3891, allocations: 0 / 0.6089 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.3891, allocations: 0 / 0.6089 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.3913, allocations: 1.371 MB / 0.6103 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.3913, allocations: 4 kB / 0.6103 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009979/0.3923, allocations: 192 kB / 0.6105 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002633/0.3925, allocations: 68.72 kB / 0.6105 GB, free: 340 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.3926, allocations: 8 kB / 0.6105 GB, free: 332 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002563/0.3951, allocations: 2.776 MB / 0.6132 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3952, allocations: 4.031 kB / 0.6132 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.3968, allocations: 1.018 MB / 0.6142 GB, free: 12.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003936/0.3972, allocations: 127.4 kB / 0.6144 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3973, allocations: 16 kB / 0.6144 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.3977, allocations: 19.98 kB / 0.6144 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.3978, allocations: 35.88 kB / 0.6144 GB, free: 12.06 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.3978, allocations: 23.92 kB / 0.6145 GB, free: 12.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005258/0.3984, allocations: 431.1 kB / 0.6149 GB, free: 11.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3984, allocations: 0 / 0.6149 GB, free: 11.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007584/0.3991, allocations: 199.9 kB / 0.6151 GB, free: 11.42 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.002182/0.4013, allocations: 1.674 MB / 0.6167 GB, free: 9.691 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.4026, allocations: 0.5815 MB / 0.6173 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.4026, allocations: 0 / 0.6173 GB, free: 9.113 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.4038, allocations: 482 kB / 0.6177 GB, free: 8.629 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.4055, allocations: 364.7 kB / 0.6181 GB, free: 8.285 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01036/0.4159, allocations: 6.55 MB / 0.6245 GB, free: 1.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006126/0.4165, allocations: 0.9345 MB / 0.6254 GB, free: 388 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006999/0.4172, allocations: 207.3 kB / 0.6256 GB, free: 196 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003762/0.4175, allocations: 231.4 kB / 0.6258 GB, free: 15.96 MB / 478.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4175, allocations: 4 kB / 0.6258 GB, free: 15.96 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06306/0.4806, allocations: 22.79 MB / 0.6481 GB, free: 9.457 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.43, allocations: 0 / 0.6481 GB, free: 9.457 MB / 494.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] 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: 17.449882803019136]