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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007369/0.000737, allocations: 101.9 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008511/0.0008513, allocations: 206.9 kB / 18.94 MB, free: 4.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.302/1.302, allocations: 227.7 MB / 247.5 MB, free: 9.656 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1866/0.1866, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002869, allocations: 8 kB / 420.2 MB, free: 19.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.116, allocations: 63.55 MB / 483.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01953/0.1356, allocations: 17.69 MB / 0.4897 GB, free: 2.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009406/0.145, allocations: 7.047 MB / 0.4965 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001015/0.1461, allocations: 23.81 kB / 0.4966 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001152/0.1472, allocations: 326.2 kB / 0.4969 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.149, allocations: 0.6532 MB / 0.4975 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003307/0.1524, allocations: 1.205 MB / 0.4987 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003918/0.1563, allocations: 3.594 MB / 0.5022 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.1575, allocations: 0.5836 MB / 0.5028 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.1595, allocations: 0.9108 MB / 0.5037 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.161, allocations: 0.794 MB / 0.5044 GB, free: 3.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000225/0.1612, allocations: 44 kB / 0.5045 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.1626, allocations: 0.5381 MB / 0.505 GB, free: 2.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.1631, allocations: 347 kB / 0.5053 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000791/0.1639, allocations: 0.5072 MB / 0.5058 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001474/0.1654, allocations: 1.119 MB / 0.5069 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1654, allocations: 0 / 0.5069 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1654, allocations: 0 / 0.5069 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.112e-05/0.1654, allocations: 4 kB / 0.5069 GB, free: 0.6367 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.2157/0.3811, allocations: 1.088 MB / 0.508 GB, free: 42.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.3812, allocations: 8.844 kB / 0.508 GB, free: 42.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008138/0.382, allocations: 124.9 kB / 0.5081 GB, free: 42.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00129/0.3833, allocations: 0.585 MB / 0.5087 GB, free: 42.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/0.3835, allocations: 250 kB / 0.5089 GB, free: 41.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002165/0.3838, allocations: 81.23 kB / 0.509 GB, free: 41.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00249/0.3863, allocations: 1.302 MB / 0.5103 GB, free: 41.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-05/0.3863, allocations: 11.8 kB / 0.5103 GB, free: 41.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.3865, allocations: 39.73 kB / 0.5103 GB, free: 41.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-05/0.3866, allocations: 39.48 kB / 0.5104 GB, free: 41.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.3885, allocations: 0.9684 MB / 0.5113 GB, free: 41.38 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.006445/0.395, allocations: 7.089 MB / 0.5182 GB, free: 35.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005473/0.3955, allocations: 314.1 kB / 0.5185 GB, free: 35.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.3958, allocations: 175.7 kB / 0.5187 GB, free: 35.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002169/0.398, allocations: 2.814 MB / 0.5214 GB, free: 32.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.3981, allocations: 43.33 kB / 0.5215 GB, free: 32.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.245e-06/0.3981, allocations: 2.625 kB / 0.5215 GB, free: 32.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002428/0.4005, allocations: 1.118 MB / 0.5226 GB, free: 31.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.4005, allocations: 55.09 kB / 0.5226 GB, free: 31.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.4018, allocations: 0.8712 MB / 0.5235 GB, free: 31.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.4018, allocations: 34.23 kB / 0.5235 GB, free: 31.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.4022, allocations: 0.5685 MB / 0.5241 GB, free: 30.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.4023, allocations: 140.7 kB / 0.5242 GB, free: 30.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.4025, allocations: 104.6 kB / 0.5243 GB, free: 30.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4026, allocations: 391.9 kB / 0.5247 GB, free: 30.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004932/0.4031, allocations: 245.6 kB / 0.5249 GB, free: 30.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007837/0.4039, allocations: 0.9681 MB / 0.5259 GB, free: 29.17 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.4053, allocations: 1.324 MB / 0.5272 GB, free: 27.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.64e-05/0.4053, allocations: 10.44 kB / 0.5272 GB, free: 27.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002137/0.4074, allocations: 1.209 MB / 0.5283 GB, free: 27.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.4075, allocations: 17.06 kB / 0.5284 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.395e-05/0.4075, allocations: 25.78 kB / 0.5284 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.999e-05/0.4076, allocations: 34.12 kB / 0.5284 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/0.4084, allocations: 281.6 kB / 0.5287 GB, free: 27.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.798e-05/0.4085, allocations: 52.45 kB / 0.5287 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008603/0.4094, allocations: 72.59 kB / 0.5288 GB, free: 27.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001291/0.4095, allocations: 72.8 kB / 0.5289 GB, free: 27.3 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.0004761/0.41, allocations: 334.6 kB / 0.5292 GB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4102, allocations: 87.98 kB / 0.5293 GB, free: 27.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009053/0.4111, allocations: 489.9 kB / 0.5297 GB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.4111, allocations: 5.016 kB / 0.5297 GB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4111, allocations: 0 / 0.5297 GB, free: 26.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.4111, allocations: 5.719 kB / 0.5298 GB, free: 26.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.4129, allocations: 1.249 MB / 0.531 GB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.4129, allocations: 2.375 kB / 0.531 GB, free: 25.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.4132, allocations: 69.22 kB / 0.531 GB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.4132, allocations: 7.375 kB / 0.531 GB, free: 25.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.4133, allocations: 13.28 kB / 0.5311 GB, free: 25.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/0.4133, allocations: 4.016 kB / 0.5311 GB, free: 25.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.4133, allocations: 6.812 kB / 0.5311 GB, free: 25.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009247/0.4142, allocations: 0.6388 MB / 0.5317 GB, free: 25.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.4145, allocations: 211.4 kB / 0.5319 GB, free: 25.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.4147, allocations: 12.77 kB / 0.5319 GB, free: 25.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004443/0.4152, allocations: 27.23 kB / 0.5319 GB, free: 25.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.4152, allocations: 26.53 kB / 0.532 GB, free: 25.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/0.4153, allocations: 26.5 kB / 0.532 GB, free: 25.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007475/0.416, allocations: 0.5952 MB / 0.5326 GB, free: 25.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.416, allocations: 1.094 kB / 0.5326 GB, free: 25.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001179/0.4172, allocations: 296.2 kB / 0.5329 GB, free: 25.11 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.0007195/0.4179, allocations: 332.8 kB / 0.5332 GB, free: 24.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00102/0.419, allocations: 0.6363 MB / 0.5338 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.598e-06/0.419, allocations: 5.844 kB / 0.5338 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.4192, allocations: 143.3 kB / 0.5339 GB, free: 24.72 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00219/0.4214, allocations: 402.5 kB / 0.5343 GB, free: 24.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.4237, allocations: 1.878 MB / 0.5361 GB, free: 23.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.4241, allocations: 1.001 MB / 0.5371 GB, free: 22.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.4243, allocations: 87.67 kB / 0.5372 GB, free: 22.36 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4243, allocations: 4 kB / 0.5372 GB, free: 22.36 MB / 382.1 MB Notification: Performance of Templates: time 0.01891/0.4432, allocations: 14.61 MB / 0.5515 GB, free: 9.809 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches