Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.001612/0.001612, allocations: 132.4 kB / 17.79 MB, free: 5.242 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.001956/0.001956, allocations: 210.5 kB / 20.75 MB, free: 2.293 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.485/1.485, allocations: 230.4 MB / 254 MB, free: 15.04 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.2283/0.2283, allocations: 46.92 MB / 357 MB, free: 10.19 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.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 79.88 kB / 0.491 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1315, allocations: 66.05 MB / 0.5555 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02269/0.1541, allocations: 17.86 MB / 0.5729 GB, free: 3.605 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.1643, allocations: 7.035 MB / 0.5798 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000947/0.1653, allocations: 35.75 kB / 0.5798 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001317/0.1666, allocations: 389.5 kB / 0.5802 GB, free: 12.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001798/0.1684, allocations: 0.6839 MB / 0.5808 GB, free: 11.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.1722, allocations: 1.321 MB / 0.5821 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003503/0.1757, allocations: 2.513 MB / 0.5846 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001094/0.1768, allocations: 0.596 MB / 0.5852 GB, free: 7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.179, allocations: 1.059 MB / 0.5862 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.1803, allocations: 0.794 MB / 0.587 GB, free: 5.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.1804, allocations: 84 kB / 0.5871 GB, free: 5.059 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001446/0.1819, allocations: 0.6045 MB / 0.5877 GB, free: 4.453 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004547/0.1823, allocations: 378.9 kB / 0.588 GB, free: 4.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006775/0.183, allocations: 0.5095 MB / 0.5885 GB, free: 3.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002433/0.1854, allocations: 1.616 MB / 0.5901 GB, free: 1.949 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1855, allocations: 0 / 0.5901 GB, free: 1.949 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1855, allocations: 4 kB / 0.5901 GB, free: 1.945 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.162e-05/0.1855, allocations: 0 / 0.5901 GB, free: 1.945 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.00267/0.1881, allocations: 1.312 MB / 0.5914 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1882, allocations: 8.031 kB / 0.5914 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002138/0.1884, allocations: 139.2 kB / 0.5915 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004857/0.1889, allocations: 132.2 kB / 0.5916 GB, free: 304 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2925/0.4814, allocations: 0.6124 MB / 0.5922 GB, free: 36.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.4816, allocations: 250.2 kB / 0.5925 GB, free: 36.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.4818, allocations: 76.91 kB / 0.5926 GB, free: 36.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.4841, allocations: 1.299 MB / 0.5938 GB, free: 35.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.05e-05/0.4842, allocations: 10.03 kB / 0.5938 GB, free: 35.72 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.4843, allocations: 40.64 kB / 0.5939 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.345e-05/0.4844, allocations: 43.08 kB / 0.5939 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.4861, allocations: 0.9677 MB / 0.5949 GB, free: 35.67 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.005875/0.492, allocations: 7.067 MB / 0.6018 GB, free: 30.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005623/0.4925, allocations: 296.4 kB / 0.602 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.4928, allocations: 157.6 kB / 0.6022 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00202/0.4948, allocations: 2.817 MB / 0.6049 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.4948, allocations: 42.33 kB / 0.605 GB, free: 27.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.633e-06/0.4948, allocations: 0 / 0.605 GB, free: 27.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002244/0.4971, allocations: 1.131 MB / 0.6061 GB, free: 26.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.688e-05/0.4971, allocations: 55.75 kB / 0.6061 GB, free: 26.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.4983, allocations: 0.8706 MB / 0.607 GB, free: 26.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.951e-05/0.4983, allocations: 33.2 kB / 0.607 GB, free: 26.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/0.4986, allocations: 0.5927 MB / 0.6076 GB, free: 25.81 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.4987, allocations: 139.3 kB / 0.6077 GB, free: 25.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.4989, allocations: 248 kB / 0.608 GB, free: 25.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4991, allocations: 395.4 kB / 0.6083 GB, free: 25.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.4995, allocations: 240.7 kB / 0.6086 GB, free: 25.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000674/0.5001, allocations: 0.9626 MB / 0.6095 GB, free: 24.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.5014, allocations: 1.316 MB / 0.6108 GB, free: 22.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-05/0.5014, allocations: 11.31 kB / 0.6108 GB, free: 22.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002042/0.5034, allocations: 1.219 MB / 0.612 GB, free: 22.36 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.5035, allocations: 19.11 kB / 0.612 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.949e-05/0.5035, allocations: 27.25 kB / 0.612 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.419e-05/0.5036, allocations: 37.69 kB / 0.6121 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008241/0.5044, allocations: 278.7 kB / 0.6123 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.714e-05/0.5044, allocations: 51.31 kB / 0.6124 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007399/0.5052, allocations: 50.64 kB / 0.6124 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.5053, allocations: 72.72 kB / 0.6125 GB, free: 22.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004768/0.5058, allocations: 330.5 kB / 0.6128 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.5059, allocations: 95.41 kB / 0.6129 GB, free: 22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008755/0.5068, allocations: 494.3 kB / 0.6134 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5068, allocations: 4.594 kB / 0.6134 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.5068, allocations: 0 / 0.6134 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5068, allocations: 1.406 kB / 0.6134 GB, free: 21.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.5083, allocations: 1.248 MB / 0.6146 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.5084, allocations: 1.125 kB / 0.6146 GB, free: 20.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/0.5086, allocations: 72.97 kB / 0.6147 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.5086, allocations: 2.156 kB / 0.6147 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/0.5087, allocations: 11.94 kB / 0.6147 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.5087, allocations: 7.531 kB / 0.6147 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.5087, allocations: 6.656 kB / 0.6147 GB, free: 20.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008944/0.5096, allocations: 0.6494 MB / 0.6153 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.5098, allocations: 201.6 kB / 0.6155 GB, free: 20.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-05/0.5099, allocations: 8.312 kB / 0.6155 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.5103, allocations: 12.7 kB / 0.6156 GB, free: 20.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.5103, allocations: 27.77 kB / 0.6156 GB, free: 20.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.894e-05/0.5104, allocations: 28.52 kB / 0.6156 GB, free: 20.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006842/0.511, allocations: 0.5941 MB / 0.6162 GB, free: 20.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.511, allocations: 4.062 kB / 0.6162 GB, free: 20.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001085/0.5121, allocations: 307.3 kB / 0.6165 GB, free: 20.07 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001348/0.5135, allocations: 1.403 MB / 0.6179 GB, free: 19.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009819/0.5145, allocations: 0.6171 MB / 0.6185 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.5145, allocations: 2.25 kB / 0.6185 GB, free: 18.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.5147, allocations: 139.1 kB / 0.6186 GB, free: 18.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.5165, allocations: 419.3 kB / 0.619 GB, free: 18.73 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008646/0.5252, allocations: 8.032 MB / 0.6268 GB, free: 13.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.5256, allocations: 0.9966 MB / 0.6278 GB, free: 12.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008272/0.5264, allocations: 314.7 kB / 0.6281 GB, free: 12.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002784/0.5267, allocations: 296.2 kB / 0.6284 GB, free: 12.3 MB / 446.1 MB Notification: Performance of SimCode: time 6.32e-07/0.5267, allocations: 0 / 0.6284 GB, free: 12.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04857/0.5752, allocations: 24.74 MB / 0.6526 GB, free: 6.129 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.593/10.17, allocations: 7.875 kB / 0.6526 GB, free: 6.121 MB / 462.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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: 13.260797725059092]