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.001319/0.001319, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00142/0.00142, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.455/1.455, allocations: 230.5 MB / 254 MB, free: 15.03 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.2338/0.2338, allocations: 46.92 MB / 357 MB, free: 10.2 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.002526/0.002526, allocations: 75.88 kB / 0.491 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1262, allocations: 66.05 MB / 0.5555 GB, free: 5.535 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02415/0.1503, allocations: 20.48 MB / 0.5755 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006801/0.1571, allocations: 4.31 MB / 0.5797 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006726/0.1578, allocations: 27.75 kB / 0.5797 GB, free: 12.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009851/0.1588, allocations: 318 kB / 0.58 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.1611, allocations: 0.8667 MB / 0.5809 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.1637, allocations: 0.8994 MB / 0.5817 GB, free: 10.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002533/0.1662, allocations: 1.805 MB / 0.5835 GB, free: 8.723 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000672/0.1669, allocations: 409.4 kB / 0.5839 GB, free: 8.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.1689, allocations: 0.9496 MB / 0.5848 GB, free: 7.367 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00103/0.1699, allocations: 0.6734 MB / 0.5855 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.17, allocations: 60 kB / 0.5855 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008209/0.1709, allocations: 315.6 kB / 0.5858 GB, free: 6.324 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003026/0.1712, allocations: 271.1 kB / 0.5861 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000437/0.1716, allocations: 386.2 kB / 0.5865 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.1731, allocations: 1.09 MB / 0.5875 GB, free: 4.586 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.1732, allocations: 4 kB / 0.5875 GB, free: 4.582 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1732, allocations: 0 / 0.5875 GB, free: 4.582 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.1732, allocations: 0 / 0.5875 GB, free: 4.582 MB / 446.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.00238/0.1755, allocations: 1.059 MB / 0.5886 GB, free: 3.473 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/0.1756, allocations: 12.03 kB / 0.5886 GB, free: 3.461 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.1757, allocations: 102.7 kB / 0.5887 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00036/0.1761, allocations: 96.42 kB / 0.5888 GB, free: 3.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008662/0.177, allocations: 0.5292 MB / 0.5893 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.1771, allocations: 101 kB / 0.5894 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.1772, allocations: 64 kB / 0.5894 GB, free: 2.516 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.1785, allocations: 0.8136 MB / 0.5902 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.1785, allocations: 4 kB / 0.5902 GB, free: 1.629 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.1786, allocations: 16 kB / 0.5903 GB, free: 1.613 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.427e-05/0.1787, allocations: 40.92 kB / 0.5903 GB, free: 1.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.1798, allocations: 0.6517 MB / 0.5909 GB, free: 0.9219 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.2428/0.4226, allocations: 4.202 MB / 0.595 GB, free: 34.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009844/0.4236, allocations: 392.3 kB / 0.5954 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003574/0.424, allocations: 193.4 kB / 0.5956 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.4244, allocations: 0.4985 MB / 0.5961 GB, free: 33.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.4244, allocations: 47.2 kB / 0.5961 GB, free: 33.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.545e-06/0.4244, allocations: 0 / 0.5961 GB, free: 33.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003274/0.4277, allocations: 1.535 MB / 0.5976 GB, free: 33.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.4277, allocations: 134.5 kB / 0.5978 GB, free: 33.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007411/0.4285, allocations: 0.5737 MB / 0.5983 GB, free: 33.17 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.656e-05/0.4285, allocations: 44.47 kB / 0.5984 GB, free: 33.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.4288, allocations: 360.5 kB / 0.5987 GB, free: 32.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.4289, allocations: 174.1 kB / 0.5989 GB, free: 32.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.4291, allocations: 137.8 kB / 0.599 GB, free: 32.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4292, allocations: 371.2 kB / 0.5994 GB, free: 32.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004305/0.4297, allocations: 226.7 kB / 0.5996 GB, free: 32.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.4302, allocations: 0.5246 MB / 0.6001 GB, free: 31.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009272/0.4311, allocations: 0.776 MB / 0.6008 GB, free: 31.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.4311, allocations: 3.25 kB / 0.6008 GB, free: 31.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001902/0.433, allocations: 0.9325 MB / 0.6018 GB, free: 31.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.4331, allocations: 8.531 kB / 0.6018 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4331, allocations: 10.8 kB / 0.6018 GB, free: 31.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.4342, allocations: 270.3 kB / 0.602 GB, free: 30.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004133/0.4346, allocations: 125.8 kB / 0.6021 GB, free: 30.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000881/0.4355, allocations: 0.8691 MB / 0.603 GB, free: 30.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005323/0.4361, allocations: 25.89 kB / 0.603 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.4361, allocations: 38.2 kB / 0.6031 GB, free: 30.28 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.000354/0.4365, allocations: 244.5 kB / 0.6033 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.4366, allocations: 72.7 kB / 0.6034 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00144/0.438, allocations: 0.7074 MB / 0.6041 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.4381, allocations: 5.703 kB / 0.6041 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.4381, allocations: 1.688 kB / 0.6041 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4381, allocations: 3.078 kB / 0.6041 GB, free: 29.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.4403, allocations: 1.4 MB / 0.6054 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.4403, allocations: 2.141 kB / 0.6054 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.4414, allocations: 190.6 kB / 0.6056 GB, free: 28.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002905/0.4417, allocations: 61.36 kB / 0.6057 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.711e-05/0.4417, allocations: 17.39 kB / 0.6057 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.4436, allocations: 2.985 MB / 0.6086 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.4436, allocations: 2.438 kB / 0.6086 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.4451, allocations: 1 MB / 0.6096 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003196/0.4454, allocations: 207 kB / 0.6098 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-05/0.4455, allocations: 12.84 kB / 0.6098 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.4459, allocations: 18.17 kB / 0.6098 GB, free: 25.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.446, allocations: 40.41 kB / 0.6098 GB, free: 25.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.446, allocations: 23.55 kB / 0.6099 GB, free: 25.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005695/0.4466, allocations: 424 kB / 0.6103 GB, free: 25.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4466, allocations: 0 / 0.6103 GB, free: 25.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009185/0.4475, allocations: 203.7 kB / 0.6105 GB, free: 25.05 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.001981/0.4495, allocations: 1.657 MB / 0.6121 GB, free: 23.94 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.4507, allocations: 0.5844 MB / 0.6127 GB, free: 23.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4507, allocations: 6.031 kB / 0.6127 GB, free: 23.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001205/0.4519, allocations: 467.6 kB / 0.6131 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.4536, allocations: 387.7 kB / 0.6135 GB, free: 23.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009316/0.463, allocations: 6.549 MB / 0.6199 GB, free: 19.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.4634, allocations: 0.9435 MB / 0.6208 GB, free: 18.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007774/0.4642, allocations: 203.6 kB / 0.621 GB, free: 18.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003146/0.4645, allocations: 234.3 kB / 0.6212 GB, free: 18.62 MB / 446.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4645, allocations: 0 / 0.6212 GB, free: 18.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05313/0.5176, allocations: 22.23 MB / 0.6429 GB, free: 1.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.36/13.88, allocations: 12 kB / 0.6429 GB, free: 1.758 MB / 446.1 MB " [Timeout remaining time 646] (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.029027309035882]