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.001077/0.001077, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001205/0.001205, allocations: 192 kB / 18.56 MB, free: 4.434 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.279/1.279, allocations: 222.9 MB / 242.2 MB, free: 15.14 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.205/0.205, allocations: 44.18 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 73.33 kB / 408.4 MB, free: 27.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1104, allocations: 60.82 MB / 469.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01927/0.1297, allocations: 17.61 MB / 486.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009761/0.1396, allocations: 6.995 MB / 493.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.1406, allocations: 19.88 kB / 493.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.1418, allocations: 377.6 kB / 494.2 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.1435, allocations: 0.6722 MB / 494.9 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.147, allocations: 1.329 MB / 496.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.1498, allocations: 2.503 MB / 498.7 MB, free: 0.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009398/0.1507, allocations: 0.678 MB / 499.4 MB, free: 60 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.1526, allocations: 1.028 MB / 0.4887 GB, free: 15.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.1537, allocations: 0.7512 MB / 0.4895 GB, free: 14.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.1539, allocations: 88 kB / 0.4895 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00137/0.1553, allocations: 0.5343 MB / 0.4901 GB, free: 13.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.1557, allocations: 379 kB / 0.4904 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.1562, allocations: 0.5173 MB / 0.4909 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001924/0.1582, allocations: 1.519 MB / 0.4924 GB, free: 11.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1582, allocations: 0 / 0.4924 GB, free: 11.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1582, allocations: 0 / 0.4924 GB, free: 11.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.1582, allocations: 0 / 0.4924 GB, free: 11.24 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.002345/0.1606, allocations: 1.283 MB / 0.4937 GB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1606, allocations: 12.03 kB / 0.4937 GB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000458/0.1611, allocations: 119.8 kB / 0.4938 GB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008565/0.1619, allocations: 0.5872 MB / 0.4944 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.1621, allocations: 248.7 kB / 0.4946 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.1623, allocations: 80.38 kB / 0.4947 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.1641, allocations: 1.31 MB / 0.496 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.555e-05/0.1641, allocations: 11.94 kB / 0.496 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.1643, allocations: 43.98 kB / 0.496 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/0.1643, allocations: 37.3 kB / 0.496 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.1658, allocations: 0.9688 MB / 0.497 GB, free: 6.285 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.2198/0.3857, allocations: 7.095 MB / 0.5039 GB, free: 47.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/0.3863, allocations: 308.2 kB / 0.5042 GB, free: 47.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.3866, allocations: 173.2 kB / 0.5044 GB, free: 47.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002074/0.3887, allocations: 2.82 MB / 0.5071 GB, free: 44.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.3887, allocations: 39.16 kB / 0.5072 GB, free: 44.78 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.3887, allocations: 0 / 0.5072 GB, free: 44.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002334/0.391, allocations: 1.121 MB / 0.5083 GB, free: 44.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.3911, allocations: 55.28 kB / 0.5083 GB, free: 44.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/0.3922, allocations: 0.8698 MB / 0.5092 GB, free: 44.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.3922, allocations: 34.36 kB / 0.5092 GB, free: 43.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.3925, allocations: 0.5729 MB / 0.5098 GB, free: 43.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.742e-05/0.3926, allocations: 135.1 kB / 0.5099 GB, free: 43.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002505/0.3929, allocations: 239 kB / 0.5101 GB, free: 43.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.393, allocations: 394.8 kB / 0.5105 GB, free: 42.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003965/0.3934, allocations: 250.9 kB / 0.5107 GB, free: 42.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006576/0.3941, allocations: 0.9632 MB / 0.5117 GB, free: 41.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.3953, allocations: 1.325 MB / 0.513 GB, free: 40.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-05/0.3953, allocations: 11.61 kB / 0.513 GB, free: 40.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0018/0.3971, allocations: 1.201 MB / 0.5142 GB, free: 40.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/0.3971, allocations: 16.62 kB / 0.5142 GB, free: 40.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.064e-05/0.3972, allocations: 30.5 kB / 0.5142 GB, free: 40.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.05e-05/0.3972, allocations: 41.34 kB / 0.5142 GB, free: 40.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007771/0.398, allocations: 282.4 kB / 0.5145 GB, free: 40.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.712e-05/0.3981, allocations: 46.91 kB / 0.5146 GB, free: 40.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006818/0.3988, allocations: 46.83 kB / 0.5146 GB, free: 40.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-05/0.3989, allocations: 77.59 kB / 0.5147 GB, free: 40.11 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.0004016/0.3993, allocations: 329.6 kB / 0.515 GB, free: 39.88 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.3994, allocations: 91.25 kB / 0.5151 GB, free: 39.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008058/0.4002, allocations: 474.6 kB / 0.5155 GB, free: 39.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.4002, allocations: 12.95 kB / 0.5155 GB, free: 39.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.4003, allocations: 0.5156 kB / 0.5155 GB, free: 39.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.4003, allocations: 1.688 kB / 0.5155 GB, free: 39.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.4018, allocations: 1.245 MB / 0.5168 GB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.4019, allocations: 0 / 0.5168 GB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/0.4021, allocations: 66.41 kB / 0.5168 GB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.4022, allocations: 3.625 kB / 0.5168 GB, free: 38.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.4022, allocations: 9.25 kB / 0.5168 GB, free: 38.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.4022, allocations: 4.562 kB / 0.5168 GB, free: 38.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.4022, allocations: 2.844 kB / 0.5168 GB, free: 38.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008258/0.403, allocations: 0.6532 MB / 0.5175 GB, free: 38.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002741/0.4033, allocations: 200.8 kB / 0.5177 GB, free: 38.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.4034, allocations: 8.188 kB / 0.5177 GB, free: 38.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/0.4038, allocations: 20.12 kB / 0.5177 GB, free: 38.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/0.4039, allocations: 27.11 kB / 0.5177 GB, free: 38.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.404, allocations: 25.12 kB / 0.5177 GB, free: 38.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009229/0.4049, allocations: 0.5942 MB / 0.5183 GB, free: 37.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4049, allocations: 1.5 kB / 0.5183 GB, free: 37.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001166/0.4061, allocations: 300.1 kB / 0.5186 GB, free: 37.93 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.0006276/0.4067, allocations: 337.1 kB / 0.5189 GB, free: 37.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001241/0.408, allocations: 0.6812 MB / 0.5196 GB, free: 37.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.408, allocations: 5.281 kB / 0.5196 GB, free: 37.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002565/0.4083, allocations: 144.9 kB / 0.5197 GB, free: 37.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.4102, allocations: 425.4 kB / 0.5201 GB, free: 37.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.4123, allocations: 1.482 MB / 0.5216 GB, free: 36.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/0.4128, allocations: 1.005 MB / 0.5226 GB, free: 35.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009771/0.4138, allocations: 313.3 kB / 0.5229 GB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.4139, allocations: 71.98 kB / 0.5229 GB, free: 35.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4139, allocations: 0 / 0.5229 GB, free: 35.82 MB / 382.1 MB Notification: Performance of Templates: time 0.02114/0.4351, allocations: 15.92 MB / 0.5385 GB, free: 24.38 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