Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.001397/0.001397, 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.001901/0.001901, 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.465/1.465, allocations: 230.4 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.2397/0.2397, 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.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002544/0.002544, allocations: 79.88 kB / 0.491 GB, free: 7.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1365, allocations: 66.05 MB / 0.5555 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.3497/0.4862, allocations: 44.3 MB / 0.5987 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005618/0.4918, allocations: 4.39 MB / 0.603 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006004/0.4924, allocations: 27.41 kB / 0.603 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008511/0.4933, allocations: 323.2 kB / 0.6034 GB, free: 3.699 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.4952, allocations: 0.866 MB / 0.6042 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.4977, allocations: 0.8942 MB / 0.6051 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002822/0.5005, allocations: 1.798 MB / 0.6068 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007802/0.5013, allocations: 413.7 kB / 0.6072 GB, free: 3.637 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09909/0.6004, allocations: 44.68 MB / 0.6509 GB, free: 9.742 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01785/0.6183, allocations: 8.03 MB / 0.6587 GB, free: 1.727 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.6185, allocations: 60 kB / 0.6588 GB, free: 1.668 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02567/0.6442, allocations: 10.7 MB / 0.6692 GB, free: 6.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006088/0.6448, allocations: 268 kB / 0.6695 GB, free: 6.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008618/0.6457, allocations: 389.3 kB / 0.6698 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.6477, allocations: 1.087 MB / 0.6709 GB, free: 5.246 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6477, allocations: 0 / 0.6709 GB, free: 5.246 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6477, allocations: 0 / 0.6709 GB, free: 5.246 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.6477, allocations: 0 / 0.6709 GB, free: 5.246 MB / 494.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.002305/0.65, allocations: 1.081 MB / 0.672 GB, free: 4.129 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.6501, allocations: 8.031 kB / 0.672 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001462/0.6502, allocations: 94.7 kB / 0.672 GB, free: 4.02 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000382/0.6506, allocations: 92.47 kB / 0.6721 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/0.6515, allocations: 0.5303 MB / 0.6727 GB, free: 3.367 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.6516, allocations: 111.5 kB / 0.6728 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.299e-05/0.6517, allocations: 47.94 kB / 0.6728 GB, free: 3.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.6531, allocations: 0.822 MB / 0.6736 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.6531, allocations: 0 / 0.6736 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.532e-05/0.6532, allocations: 26.81 kB / 0.6736 GB, free: 2.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.6533, allocations: 36.98 kB / 0.6737 GB, free: 2.258 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.6544, allocations: 0.6438 MB / 0.6743 GB, free: 1.613 MB / 494.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.005117/0.6596, allocations: 4.218 MB / 0.6784 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009078/0.6605, allocations: 398.1 kB / 0.6788 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.6608, allocations: 197.4 kB / 0.679 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005263/0.6613, allocations: 0.5048 MB / 0.6795 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.6614, allocations: 39.77 kB / 0.6795 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.6614, allocations: 3.938 kB / 0.6795 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.003297/0.6647, allocations: 1.536 MB / 0.681 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.831e-05/0.6648, allocations: 136.5 kB / 0.6812 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006819/0.6654, allocations: 0.5694 MB / 0.6817 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.047e-05/0.6655, allocations: 41.7 kB / 0.6817 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002782/0.6658, allocations: 357.2 kB / 0.6821 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.6659, allocations: 173.1 kB / 0.6823 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.6661, allocations: 138.6 kB / 0.6824 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.6663, allocations: 378.7 kB / 0.6827 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.6667, allocations: 225.9 kB / 0.683 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006607/0.6674, allocations: 0.5135 MB / 0.6835 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.6685, allocations: 0.7872 MB / 0.6842 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.6685, allocations: 4 kB / 0.6842 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001842/0.6703, allocations: 0.9317 MB / 0.6851 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.6703, allocations: 13.88 kB / 0.6852 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.6704, allocations: 8 kB / 0.6852 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.6715, allocations: 263.1 kB / 0.6854 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004183/0.6719, allocations: 135.8 kB / 0.6855 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.6729, allocations: 0.8606 MB / 0.6864 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004583/0.6734, allocations: 27.98 kB / 0.6864 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/0.6735, allocations: 42.59 kB / 0.6865 GB, free: 4.363 MB / 0.4981 GB 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.0003446/0.6738, allocations: 249.7 kB / 0.6867 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.6739, allocations: 67.58 kB / 0.6868 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/0.6754, allocations: 0.7097 MB / 0.6874 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.6754, allocations: 4 kB / 0.6875 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6754, allocations: 4 kB / 0.6875 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.6754, allocations: 7.984 kB / 0.6875 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.6776, allocations: 1.393 MB / 0.6888 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.6776, allocations: 0 / 0.6888 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000988/0.6786, allocations: 191.8 kB / 0.689 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000251/0.6788, allocations: 60.94 kB / 0.6891 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.404e-05/0.6789, allocations: 17.12 kB / 0.6891 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.6816, allocations: 2.995 MB / 0.692 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.6816, allocations: 3.938 kB / 0.692 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.6832, allocations: 0.9981 MB / 0.693 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.6835, allocations: 200.6 kB / 0.6932 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.42e-05/0.6836, allocations: 12 kB / 0.6932 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.684, allocations: 16.05 kB / 0.6932 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.6841, allocations: 43.89 kB / 0.6932 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.6841, allocations: 16 kB / 0.6933 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005386/0.6847, allocations: 419 kB / 0.6937 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.6847, allocations: 0 / 0.6937 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008163/0.6855, allocations: 211.9 kB / 0.6939 GB, free: 12.36 MB / 0.5137 GB 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.002318/0.6878, allocations: 1.668 MB / 0.6955 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.6892, allocations: 0.5806 MB / 0.6961 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.6892, allocations: 0 / 0.6961 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001826/0.691, allocations: 479.7 kB / 0.6965 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/0.6937, allocations: 380 kB / 0.6969 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.7057, allocations: 6.526 MB / 0.7033 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007523/0.7065, allocations: 0.9385 MB / 0.7042 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008602/0.7074, allocations: 208.4 kB / 0.7044 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.7077, allocations: 231.4 kB / 0.7046 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of SimCode: time 7.32e-07/0.7077, allocations: 0 / 0.7046 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07973/0.7875, allocations: 22.22 MB / 0.7263 GB, free: 11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.94, allocations: 15.69 kB / 0.7263 GB, free: 10.98 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_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_LinearWater_pT.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.12213943398092]