Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001447/0.001447, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2233/0.2233, allocations: 46.93 MB / 360.8 MB, free: 4.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 79.88 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.3488, allocations: 66.08 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02399/0.3728, allocations: 20.7 MB / 0.581 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006989/0.3798, allocations: 4.337 MB / 0.5852 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007049/0.3805, allocations: 27.75 kB / 0.5852 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001026/0.3815, allocations: 322 kB / 0.5855 GB, free: 10.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.3838, allocations: 0.8784 MB / 0.5864 GB, free: 9.938 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.3864, allocations: 0.9295 MB / 0.5873 GB, free: 9.012 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002796/0.3892, allocations: 1.813 MB / 0.5891 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008319/0.3901, allocations: 393.6 kB / 0.5894 GB, free: 6.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002351/0.3924, allocations: 0.9651 MB / 0.5904 GB, free: 5.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.3938, allocations: 0.6851 MB / 0.5911 GB, free: 5.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001532/0.394, allocations: 63.94 kB / 0.5911 GB, free: 5.086 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009945/0.395, allocations: 319.6 kB / 0.5914 GB, free: 4.773 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.3953, allocations: 267.2 kB / 0.5917 GB, free: 4.512 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00052/0.3958, allocations: 390.2 kB / 0.592 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.3976, allocations: 1.09 MB / 0.5931 GB, free: 3.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3976, allocations: 0 / 0.5931 GB, free: 3.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3976, allocations: 0 / 0.5931 GB, free: 3.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.3977, allocations: 0 / 0.5931 GB, free: 3.035 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.002438/0.4001, allocations: 0.9873 MB / 0.5941 GB, free: 2.016 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.4001, allocations: 16.02 kB / 0.5941 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.4003, allocations: 98.69 kB / 0.5942 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/0.4006, allocations: 92.42 kB / 0.5943 GB, free: 1.805 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.4016, allocations: 474.7 kB / 0.5947 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.4018, allocations: 160.3 kB / 0.5949 GB, free: 1.133 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.4019, allocations: 56.08 kB / 0.5949 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/0.4033, allocations: 0.8136 MB / 0.5957 GB, free: 192 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.4033, allocations: 7.938 kB / 0.5957 GB, free: 184 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.824e-05/0.4034, allocations: 24 kB / 0.5958 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.287e-05/0.4035, allocations: 36.98 kB / 0.5958 GB, free: 124 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.4046, allocations: 0.6479 MB / 0.5964 GB, free: 15.47 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.0058/0.4104, allocations: 4.162 MB / 0.6005 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009849/0.4114, allocations: 399.9 kB / 0.6009 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.4118, allocations: 193.4 kB / 0.6011 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003107/0.4121, allocations: 60.27 kB / 0.6011 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.4121, allocations: 38.89 kB / 0.6011 GB, free: 10.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.624e-06/0.4121, allocations: 0 / 0.6011 GB, free: 10.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003626/0.4158, allocations: 1.459 MB / 0.6026 GB, free: 8.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.4159, allocations: 132.5 kB / 0.6027 GB, free: 8.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007954/0.4167, allocations: 0.5732 MB / 0.6033 GB, free: 8.094 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.621e-05/0.4167, allocations: 41.64 kB / 0.6033 GB, free: 8.047 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.4171, allocations: 359.9 kB / 0.6036 GB, free: 7.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/0.4172, allocations: 174.5 kB / 0.6038 GB, free: 7.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.4175, allocations: 138.6 kB / 0.6039 GB, free: 7.379 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.4177, allocations: 378.7 kB / 0.6043 GB, free: 7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.4181, allocations: 221.9 kB / 0.6045 GB, free: 6.781 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006949/0.4188, allocations: 0.5209 MB / 0.605 GB, free: 6.121 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.4199, allocations: 0.7796 MB / 0.6058 GB, free: 5.215 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.4199, allocations: 8 kB / 0.6058 GB, free: 5.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001907/0.4218, allocations: 0.9418 MB / 0.6067 GB, free: 4.258 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.4218, allocations: 12 kB / 0.6067 GB, free: 4.246 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.4219, allocations: 8 kB / 0.6067 GB, free: 4.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/0.423, allocations: 268.7 kB / 0.607 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.4235, allocations: 119.8 kB / 0.6071 GB, free: 3.855 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00104/0.4245, allocations: 0.8709 MB / 0.608 GB, free: 2.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000527/0.425, allocations: 28 kB / 0.608 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.4251, allocations: 39.98 kB / 0.608 GB, free: 2.895 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.0003604/0.4255, allocations: 242.1 kB / 0.6082 GB, free: 2.648 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.4256, allocations: 67.58 kB / 0.6083 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.427, allocations: 0.7223 MB / 0.609 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.427, allocations: 4 kB / 0.609 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.427, allocations: 0 / 0.609 GB, free: 1.855 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.427, allocations: 3.984 kB / 0.609 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.4294, allocations: 1.375 MB / 0.6104 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.4294, allocations: 0 / 0.6104 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009934/0.4304, allocations: 192 kB / 0.6106 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/0.4306, allocations: 56.75 kB / 0.6106 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.664e-05/0.4307, allocations: 15.98 kB / 0.6106 GB, free: 140 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/0.4332, allocations: 2.781 MB / 0.6133 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4332, allocations: 8.094 kB / 0.6133 GB, free: 13.12 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.4349, allocations: 1.005 MB / 0.6143 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.4353, allocations: 127.4 kB / 0.6144 GB, free: 11.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/0.4353, allocations: 12 kB / 0.6145 GB, free: 11.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.4357, allocations: 23.92 kB / 0.6145 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.4358, allocations: 39.81 kB / 0.6145 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.42e-05/0.4359, allocations: 24.05 kB / 0.6145 GB, free: 11.85 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005569/0.4364, allocations: 427 kB / 0.6149 GB, free: 11.43 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4364, allocations: 0 / 0.6149 GB, free: 11.43 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000786/0.4372, allocations: 199.9 kB / 0.6151 GB, free: 11.23 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.002246/0.4394, allocations: 1.657 MB / 0.6168 GB, free: 9.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.4407, allocations: 0.5893 MB / 0.6173 GB, free: 8.938 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.4407, allocations: 4 kB / 0.6173 GB, free: 8.934 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.4419, allocations: 470 kB / 0.6178 GB, free: 8.461 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001661/0.4436, allocations: 383 kB / 0.6182 GB, free: 8.102 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.4537, allocations: 6.547 MB / 0.6245 GB, free: 1.164 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00061/0.4543, allocations: 0.9384 MB / 0.6255 GB, free: 204 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007058/0.455, allocations: 203.4 kB / 0.6257 GB, free: 12 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003744/0.4554, allocations: 239.4 kB / 0.6259 GB, free: 15.77 MB / 478.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4554, allocations: 0 / 0.6259 GB, free: 15.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06964/0.525, allocations: 22.79 MB / 0.6481 GB, free: 9.199 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.47, allocations: 8.062 kB / 0.6481 GB, free: 9.191 MB / 494.1 MB " [Timeout remaining time 645] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv","/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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.52419675800047]