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.001317/0.001322, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001576/0.001576, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2508/0.2508, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 75.88 kB / 481.3 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3301, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.0198/0.3499, allocations: 17.74 MB / 0.5483 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009954/0.3599, allocations: 7.002 MB / 0.5552 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.3611, allocations: 23.88 kB / 0.5552 GB, free: 8.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.3626, allocations: 381.6 kB / 0.5555 GB, free: 8.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00194/0.3645, allocations: 0.6761 MB / 0.5562 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.3684, allocations: 1.328 MB / 0.5575 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003309/0.3717, allocations: 2.513 MB / 0.5599 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.3729, allocations: 0.6741 MB / 0.5606 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.3751, allocations: 1.047 MB / 0.5616 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.3764, allocations: 0.7473 MB / 0.5624 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003039/0.3767, allocations: 95.88 kB / 0.5625 GB, free: 1.43 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001798/0.3785, allocations: 0.5734 MB / 0.563 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005208/0.3791, allocations: 371 kB / 0.5634 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009481/0.38, allocations: 0.5096 MB / 0.5639 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.3828, allocations: 1.624 MB / 0.5654 GB, free: 14.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3828, allocations: 0 / 0.5654 GB, free: 14.36 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.3828, allocations: 0 / 0.5654 GB, free: 14.36 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.167e-05/0.3828, allocations: 4 kB / 0.5655 GB, free: 14.35 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002885/0.3857, allocations: 1.316 MB / 0.5667 GB, free: 12.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.3858, allocations: 12.03 kB / 0.5667 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005402/0.3863, allocations: 124.3 kB / 0.5669 GB, free: 12.85 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.3874, allocations: 0.6188 MB / 0.5675 GB, free: 12.19 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.3877, allocations: 244.8 kB / 0.5677 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.3878, allocations: 92.31 kB / 0.5678 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.3901, allocations: 1.301 MB / 0.5691 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.3901, allocations: 3.938 kB / 0.5691 GB, free: 10.38 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.3903, allocations: 36 kB / 0.5691 GB, free: 10.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.623e-05/0.3903, allocations: 49.23 kB / 0.5691 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.3921, allocations: 0.9611 MB / 0.5701 GB, free: 9.34 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.007652/0.3997, allocations: 7.084 MB / 0.577 GB, free: 1.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.4004, allocations: 316.2 kB / 0.5773 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.4007, allocations: 169.7 kB / 0.5775 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002938/0.4037, allocations: 2.826 MB / 0.5802 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.4037, allocations: 42.8 kB / 0.5803 GB, free: 13.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.525e-06/0.4037, allocations: 0 / 0.5803 GB, free: 13.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002801/0.4066, allocations: 1.117 MB / 0.5814 GB, free: 12.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.4066, allocations: 59.34 kB / 0.5814 GB, free: 12.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001184/0.4078, allocations: 0.8759 MB / 0.5823 GB, free: 11.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.4079, allocations: 37.7 kB / 0.5823 GB, free: 11.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000419/0.4083, allocations: 0.5844 MB / 0.5829 GB, free: 11.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.4084, allocations: 142.9 kB / 0.583 GB, free: 11.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.4087, allocations: 246.7 kB / 0.5832 GB, free: 10.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.4089, allocations: 398.7 kB / 0.5836 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000423/0.4093, allocations: 246.5 kB / 0.5839 GB, free: 10.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000916/0.4102, allocations: 0.9621 MB / 0.5848 GB, free: 8.812 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.4117, allocations: 1.316 MB / 0.5861 GB, free: 7.137 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.628e-05/0.4118, allocations: 8 kB / 0.5861 GB, free: 7.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001826/0.4136, allocations: 1.216 MB / 0.5873 GB, free: 5.906 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.4136, allocations: 18.19 kB / 0.5873 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.289e-05/0.4137, allocations: 28 kB / 0.5873 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.15e-05/0.4137, allocations: 32 kB / 0.5874 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/0.4145, allocations: 283.4 kB / 0.5876 GB, free: 5.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.355e-05/0.4146, allocations: 51.8 kB / 0.5877 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007096/0.4153, allocations: 51.98 kB / 0.5877 GB, free: 5.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.339e-05/0.4154, allocations: 72.34 kB / 0.5878 GB, free: 5.383 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.0004288/0.4158, allocations: 341 kB / 0.5881 GB, free: 5.039 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.416, allocations: 91.44 kB / 0.5882 GB, free: 4.949 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008808/0.4169, allocations: 488.3 kB / 0.5887 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4169, allocations: 4 kB / 0.5887 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4169, allocations: 0 / 0.5887 GB, free: 4.461 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4169, allocations: 7.984 kB / 0.5887 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.4187, allocations: 1.247 MB / 0.5899 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4187, allocations: 4 kB / 0.5899 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002926/0.419, allocations: 63.91 kB / 0.59 GB, free: 3.027 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.419, allocations: 7.938 kB / 0.59 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.419, allocations: 8 kB / 0.59 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.419, allocations: 4 kB / 0.59 GB, free: 3.008 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.419, allocations: 3.984 kB / 0.59 GB, free: 3.004 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009378/0.42, allocations: 0.6453 MB / 0.5906 GB, free: 2.324 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.4203, allocations: 204.4 kB / 0.5908 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.4204, allocations: 11.98 kB / 0.5908 GB, free: 2.094 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004304/0.4208, allocations: 20.06 kB / 0.5908 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.4209, allocations: 23.97 kB / 0.5909 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.4209, allocations: 27.97 kB / 0.5909 GB, free: 2.023 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007451/0.4217, allocations: 0.593 MB / 0.5915 GB, free: 1.418 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4217, allocations: 0 / 0.5915 GB, free: 1.418 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001181/0.4229, allocations: 303.6 kB / 0.5918 GB, free: 1.121 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.0007583/0.4237, allocations: 317.3 kB / 0.5921 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.4248, allocations: 0.6497 MB / 0.5927 GB, free: 168 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4248, allocations: 0 / 0.5927 GB, free: 168 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002309/0.425, allocations: 144.4 kB / 0.5928 GB, free: 24 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.4269, allocations: 431.7 kB / 0.5933 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.4293, allocations: 1.496 MB / 0.5947 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.4299, allocations: 1.001 MB / 0.5957 GB, free: 13.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009522/0.4309, allocations: 328.4 kB / 0.596 GB, free: 12.72 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.4311, allocations: 79.42 kB / 0.5961 GB, free: 12.64 MB / 462.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4311, allocations: 4 kB / 0.5961 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Templates: time 0.02754/0.4586, allocations: 16.19 MB / 0.6119 GB, free: 12.56 MB / 478.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/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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches