Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 107.4 kB / 17.21 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 222.9 MB / 241.8 MB, free: 15.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2064/0.2064, allocations: 44.17 MB / 336.1 MB, free: 2.996 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 60.86 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1076, allocations: 60.83 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0194/0.1271, allocations: 18.12 MB / 486.6 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00835/0.1355, allocations: 7.113 MB / 493.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006457/0.1361, allocations: 27.75 kB / 493.8 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008702/0.137, allocations: 330.2 kB / 494.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.1383, allocations: 0.6493 MB / 494.8 MB, free: 4.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.1411, allocations: 1.206 MB / 496 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.1441, allocations: 3.582 MB / 499.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007656/0.1449, allocations: 0.5874 MB / 0.4884 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.1464, allocations: 0.9069 MB / 0.4893 GB, free: 14.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009522/0.1473, allocations: 0.7901 MB / 0.4901 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.1475, allocations: 51.98 kB / 0.4901 GB, free: 13.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.1487, allocations: 0.542 MB / 0.4907 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.149, allocations: 351 kB / 0.491 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004724/0.1495, allocations: 489.8 kB / 0.4915 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.151, allocations: 1.5 MB / 0.4929 GB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1511, allocations: 0 / 0.4929 GB, free: 10.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1511, allocations: 0 / 0.4929 GB, free: 10.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.1511, allocations: 0 / 0.4929 GB, free: 10.49 MB / 382.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.002379/0.1535, allocations: 1.287 MB / 0.4942 GB, free: 9.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1535, allocations: 15.97 kB / 0.4942 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004809/0.154, allocations: 127.8 kB / 0.4943 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000894/0.1549, allocations: 0.5871 MB / 0.4949 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.1551, allocations: 248.8 kB / 0.4951 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.1552, allocations: 80.28 kB / 0.4952 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001885/0.1571, allocations: 1.313 MB / 0.4965 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.1572, allocations: 7.938 kB / 0.4965 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.1573, allocations: 36 kB / 0.4965 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.1573, allocations: 41.3 kB / 0.4966 GB, free: 6.496 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.1589, allocations: 0.9688 MB / 0.4975 GB, free: 5.527 MB / 382.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.2091/0.3681, allocations: 7.078 MB / 0.5044 GB, free: 47.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006257/0.3688, allocations: 311.1 kB / 0.5047 GB, free: 47.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002923/0.3691, allocations: 173.4 kB / 0.5049 GB, free: 47.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002295/0.3714, allocations: 2.82 MB / 0.5076 GB, free: 44.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.3714, allocations: 38.92 kB / 0.5077 GB, free: 44.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 4.128e-06/0.3714, allocations: 3.938 kB / 0.5077 GB, free: 44.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002438/0.3739, allocations: 1.116 MB / 0.5088 GB, free: 44.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.3739, allocations: 55.91 kB / 0.5088 GB, free: 44.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.3751, allocations: 0.868 MB / 0.5097 GB, free: 44.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.712e-05/0.3752, allocations: 36.8 kB / 0.5097 GB, free: 44.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003199/0.3755, allocations: 0.5693 MB / 0.5103 GB, free: 43.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.3756, allocations: 134.7 kB / 0.5104 GB, free: 43.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002824/0.3759, allocations: 242.3 kB / 0.5106 GB, free: 43.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.376, allocations: 394.6 kB / 0.511 GB, free: 43.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.3764, allocations: 246.1 kB / 0.5112 GB, free: 42.94 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007207/0.3772, allocations: 0.9606 MB / 0.5122 GB, free: 41.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.3785, allocations: 1.328 MB / 0.5135 GB, free: 40.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/0.3785, allocations: 6.562 kB / 0.5135 GB, free: 40.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002654/0.3812, allocations: 1.208 MB / 0.5146 GB, free: 40.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.026e-05/0.3813, allocations: 15.62 kB / 0.5147 GB, free: 40.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.203e-05/0.3813, allocations: 26.83 kB / 0.5147 GB, free: 40.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.649e-05/0.3814, allocations: 37.75 kB / 0.5147 GB, free: 40.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000917/0.3823, allocations: 282.7 kB / 0.515 GB, free: 40.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.812e-05/0.3824, allocations: 48.58 kB / 0.515 GB, free: 40.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.3835, allocations: 64.78 kB / 0.5151 GB, free: 40.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.3837, allocations: 76.97 kB / 0.5152 GB, free: 40.14 MB / 382.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.0005924/0.3843, allocations: 341.3 kB / 0.5155 GB, free: 39.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.3845, allocations: 86.59 kB / 0.5156 GB, free: 39.86 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001001/0.3855, allocations: 485 kB / 0.516 GB, free: 39.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.3855, allocations: 4.422 kB / 0.5161 GB, free: 39.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3855, allocations: 0.7031 kB / 0.5161 GB, free: 39.65 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.3855, allocations: 1.312 kB / 0.5161 GB, free: 39.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.3874, allocations: 1.245 MB / 0.5173 GB, free: 38.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3874, allocations: 2.969 kB / 0.5173 GB, free: 38.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.3877, allocations: 64.95 kB / 0.5173 GB, free: 38.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.457e-06/0.3877, allocations: 3.344 kB / 0.5173 GB, free: 38.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.3878, allocations: 16.28 kB / 0.5174 GB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.3878, allocations: 7.281 kB / 0.5174 GB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3878, allocations: 5.938 kB / 0.5174 GB, free: 38.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009012/0.3887, allocations: 0.6446 MB / 0.518 GB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/0.389, allocations: 201.2 kB / 0.5182 GB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.3891, allocations: 10.52 kB / 0.5182 GB, free: 38.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.3895, allocations: 23.83 kB / 0.5182 GB, free: 38.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.3896, allocations: 22.81 kB / 0.5182 GB, free: 38.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.737e-05/0.3897, allocations: 30.39 kB / 0.5183 GB, free: 38.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009599/0.3906, allocations: 0.5942 MB / 0.5189 GB, free: 38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3906, allocations: 0 / 0.5189 GB, free: 38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001336/0.392, allocations: 303.9 kB / 0.5191 GB, free: 37.95 MB / 382.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.0006681/0.3927, allocations: 337.5 kB / 0.5195 GB, free: 37.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001296/0.394, allocations: 0.6489 MB / 0.5201 GB, free: 37.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.394, allocations: 2.375 kB / 0.5201 GB, free: 37.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.3942, allocations: 143.4 kB / 0.5202 GB, free: 37.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.3961, allocations: 406.7 kB / 0.5206 GB, free: 37.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002175/0.3983, allocations: 1.745 MB / 0.5223 GB, free: 36.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005059/0.3988, allocations: 1.003 MB / 0.5233 GB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001001/0.3998, allocations: 323.8 kB / 0.5236 GB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.4, allocations: 72.59 kB / 0.5237 GB, free: 35.6 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4, allocations: 1.375 kB / 0.5237 GB, free: 35.6 MB / 382.1 MB Notification: Performance of Templates: time 0.02109/0.4211, allocations: 15.35 MB / 0.5387 GB, free: 24.58 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches