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.001357/0.001357, allocations: 107.4 kB / 20.48 MB, free: 1.262 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.001408/0.001408, allocations: 211.7 kB / 23.78 MB, free: 4.434 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.425/1.425, allocations: 230.5 MB / 257.5 MB, free: 7.715 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.2237/0.2237, allocations: 46.95 MB / 360.9 MB, free: 3.895 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.002292/0.002292, allocations: 79.88 kB / 0.4963 GB, free: 7.488 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3406, allocations: 66.08 MB / 0.5608 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0229/0.3635, allocations: 18.69 MB / 0.579 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006846/0.3704, allocations: 3.987 MB / 0.5829 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006839/0.3711, allocations: 31.69 kB / 0.583 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.3721, allocations: 310 kB / 0.5833 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002291/0.3744, allocations: 0.8862 MB / 0.5841 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.377, allocations: 0.9135 MB / 0.585 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002793/0.3797, allocations: 1.813 MB / 0.5868 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007644/0.3805, allocations: 397.5 kB / 0.5872 GB, free: 8.898 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002267/0.3828, allocations: 0.9613 MB / 0.5881 GB, free: 7.934 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.3839, allocations: 0.6616 MB / 0.5888 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.384, allocations: 63.98 kB / 0.5888 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007848/0.3848, allocations: 279.6 kB / 0.5891 GB, free: 6.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003292/0.3851, allocations: 263.2 kB / 0.5893 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.3856, allocations: 334.6 kB / 0.5897 GB, free: 6.348 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001641/0.3872, allocations: 1.078 MB / 0.5907 GB, free: 5.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3872, allocations: 0 / 0.5907 GB, free: 5.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3872, allocations: 0 / 0.5907 GB, free: 5.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.3872, allocations: 4 kB / 0.5907 GB, free: 5.262 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.002477/0.3897, allocations: 0.9912 MB / 0.5917 GB, free: 4.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.3898, allocations: 12.03 kB / 0.5917 GB, free: 4.227 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.3899, allocations: 94.7 kB / 0.5918 GB, free: 4.125 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003802/0.3903, allocations: 96.41 kB / 0.5919 GB, free: 4.031 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.3913, allocations: 474.8 kB / 0.5923 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.3915, allocations: 152.4 kB / 0.5925 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001137/0.3916, allocations: 60.06 kB / 0.5925 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.3932, allocations: 1.084 MB / 0.5936 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.3932, allocations: 0 / 0.5936 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.499e-05/0.3933, allocations: 23.98 kB / 0.5936 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.377e-05/0.3934, allocations: 36.98 kB / 0.5936 GB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.3945, allocations: 0.6516 MB / 0.5943 GB, free: 1.375 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.004913/0.3994, allocations: 3.399 MB / 0.5976 GB, free: 13.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/0.4003, allocations: 396 kB / 0.598 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.4007, allocations: 197.4 kB / 0.5982 GB, free: 13.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.401, allocations: 56.22 kB / 0.5982 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.401, allocations: 34.89 kB / 0.5982 GB, free: 13.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.835e-06/0.401, allocations: 0 / 0.5982 GB, free: 13.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003384/0.4044, allocations: 1.456 MB / 0.5997 GB, free: 11.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.793e-05/0.4045, allocations: 140.5 kB / 0.5998 GB, free: 11.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007347/0.4052, allocations: 0.5887 MB / 0.6004 GB, free: 10.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.519e-05/0.4053, allocations: 37.7 kB / 0.6004 GB, free: 10.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.4056, allocations: 355.9 kB / 0.6008 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.4057, allocations: 170.5 kB / 0.6009 GB, free: 10.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002161/0.4059, allocations: 142.6 kB / 0.6011 GB, free: 10.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.4061, allocations: 378.7 kB / 0.6014 GB, free: 9.816 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.4065, allocations: 221.9 kB / 0.6016 GB, free: 9.598 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007037/0.4072, allocations: 0.5962 MB / 0.6022 GB, free: 8.848 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.4083, allocations: 0.7845 MB / 0.603 GB, free: 7.934 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.4083, allocations: 4 kB / 0.603 GB, free: 7.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001874/0.4102, allocations: 0.9388 MB / 0.6039 GB, free: 6.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.4102, allocations: 8 kB / 0.6039 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.4102, allocations: 8 kB / 0.6039 GB, free: 6.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.4114, allocations: 265.3 kB / 0.6042 GB, free: 6.703 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004352/0.4118, allocations: 131.8 kB / 0.6043 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.4129, allocations: 0.867 MB / 0.6051 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.4134, allocations: 24 kB / 0.6052 GB, free: 5.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.4134, allocations: 35.98 kB / 0.6052 GB, free: 5.625 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.0003536/0.4138, allocations: 250.1 kB / 0.6054 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.4139, allocations: 67.58 kB / 0.6055 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.4153, allocations: 0.7188 MB / 0.6062 GB, free: 4.586 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.4153, allocations: 8 kB / 0.6062 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.4153, allocations: 0 / 0.6062 GB, free: 4.578 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.4154, allocations: 3.984 kB / 0.6062 GB, free: 4.574 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.4176, allocations: 1.297 MB / 0.6075 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.4176, allocations: 3.938 kB / 0.6075 GB, free: 3.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/0.4187, allocations: 191.7 kB / 0.6077 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002799/0.419, allocations: 60.95 kB / 0.6077 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.419, allocations: 19.98 kB / 0.6077 GB, free: 2.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002874/0.4219, allocations: 2.773 MB / 0.6104 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.4219, allocations: 7.969 kB / 0.6105 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/0.4237, allocations: 1.007 MB / 0.6114 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003754/0.4241, allocations: 119.5 kB / 0.6116 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.086e-05/0.4242, allocations: 12 kB / 0.6116 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003816/0.4245, allocations: 19.98 kB / 0.6116 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4247, allocations: 40 kB / 0.6116 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.4247, allocations: 19.98 kB / 0.6116 GB, free: 14.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005597/0.4253, allocations: 427 kB / 0.612 GB, free: 14.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4253, allocations: 0 / 0.612 GB, free: 14.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008121/0.4261, allocations: 199.9 kB / 0.6122 GB, free: 14.04 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.002349/0.4284, allocations: 1.667 MB / 0.6139 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.4297, allocations: 0.5862 MB / 0.6144 GB, free: 11.74 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4297, allocations: 7.938 kB / 0.6144 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001231/0.4309, allocations: 474 kB / 0.6149 GB, free: 11.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.4326, allocations: 372.7 kB / 0.6153 GB, free: 10.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.4431, allocations: 6.537 MB / 0.6216 GB, free: 3.98 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000397/0.4435, allocations: 349.4 kB / 0.622 GB, free: 3.613 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007883/0.4443, allocations: 213.9 kB / 0.6222 GB, free: 3.418 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003834/0.4447, allocations: 232.4 kB / 0.6224 GB, free: 3.191 MB / 462.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4447, allocations: 3.938 kB / 0.6224 GB, free: 3.188 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06234/0.507, allocations: 23.66 MB / 0.6455 GB, free: 11.92 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.65/14.15, allocations: 2.969 kB / 0.6455 GB, free: 11.92 MB / 494.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.194169997004792]