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.001078/0.001078, 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.001227/0.001227, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2084/0.2084, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 71.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3665, 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.02067/0.3872, allocations: 17.76 MB / 0.5483 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01041/0.3976, allocations: 7.011 MB / 0.5552 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.3988, allocations: 23.88 kB / 0.5552 GB, free: 8.883 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.4002, allocations: 385.6 kB / 0.5556 GB, free: 8.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.402, allocations: 0.6839 MB / 0.5562 GB, free: 7.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003869/0.4059, allocations: 1.332 MB / 0.5575 GB, free: 6.496 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003562/0.4095, allocations: 2.525 MB / 0.56 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.4107, allocations: 0.6777 MB / 0.5606 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00226/0.413, allocations: 1.047 MB / 0.5617 GB, free: 2.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.4144, allocations: 0.7551 MB / 0.5624 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.4146, allocations: 92 kB / 0.5625 GB, free: 1.375 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.416, allocations: 0.5382 MB / 0.563 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.4164, allocations: 371.1 kB / 0.5634 GB, free: 484 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006698/0.4171, allocations: 0.5095 MB / 0.5639 GB, free: 15.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002628/0.4197, allocations: 1.536 MB / 0.5654 GB, free: 14.42 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4197, allocations: 0 / 0.5654 GB, free: 14.42 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4197, allocations: 0 / 0.5654 GB, free: 14.42 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.4198, allocations: 0 / 0.5654 GB, free: 14.42 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.002801/0.4226, allocations: 1.291 MB / 0.5666 GB, free: 13.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.4226, allocations: 8.031 kB / 0.5666 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005361/0.4232, allocations: 119.8 kB / 0.5668 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.4243, allocations: 0.6222 MB / 0.5674 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.4245, allocations: 252.8 kB / 0.5676 GB, free: 12.01 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/0.4246, allocations: 80.38 kB / 0.5677 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/0.4267, allocations: 1.305 MB / 0.569 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/0.4268, allocations: 7.938 kB / 0.569 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.4269, allocations: 40 kB / 0.569 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/0.427, allocations: 45.17 kB / 0.569 GB, free: 10.4 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.4287, allocations: 0.9611 MB / 0.57 GB, free: 9.438 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.007556/0.4362, allocations: 7.09 MB / 0.5769 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.4368, allocations: 316 kB / 0.5772 GB, free: 1.562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002757/0.4371, allocations: 165.4 kB / 0.5774 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002843/0.44, allocations: 2.83 MB / 0.5801 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.44, allocations: 38.8 kB / 0.5802 GB, free: 14.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.934e-06/0.44, allocations: 0 / 0.5802 GB, free: 14.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002428/0.4425, allocations: 1.107 MB / 0.5812 GB, free: 12.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.955e-05/0.4425, allocations: 51.41 kB / 0.5813 GB, free: 12.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.4437, allocations: 0.868 MB / 0.5821 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.4437, allocations: 37.64 kB / 0.5822 GB, free: 11.87 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.4442, allocations: 0.5705 MB / 0.5827 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.4443, allocations: 142.3 kB / 0.5829 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.4446, allocations: 242.7 kB / 0.5831 GB, free: 10.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.4448, allocations: 390.7 kB / 0.5835 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.4452, allocations: 254.4 kB / 0.5837 GB, free: 10.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009506/0.4461, allocations: 0.966 MB / 0.5847 GB, free: 8.941 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.4477, allocations: 1.312 MB / 0.5859 GB, free: 7.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.287e-05/0.4478, allocations: 8 kB / 0.586 GB, free: 7.262 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002026/0.4498, allocations: 1.207 MB / 0.5871 GB, free: 6.047 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.4498, allocations: 16 kB / 0.5871 GB, free: 6.031 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.082e-05/0.4499, allocations: 28 kB / 0.5872 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.117e-05/0.4499, allocations: 32 kB / 0.5872 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/0.4508, allocations: 279.5 kB / 0.5875 GB, free: 5.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.944e-05/0.4508, allocations: 52.36 kB / 0.5875 GB, free: 5.648 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00078/0.4516, allocations: 59.89 kB / 0.5876 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.622e-05/0.4517, allocations: 72 kB / 0.5876 GB, free: 5.52 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.0005403/0.4523, allocations: 333 kB / 0.588 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/0.4525, allocations: 90.95 kB / 0.588 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009344/0.4534, allocations: 486.7 kB / 0.5885 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/0.4534, allocations: 4 kB / 0.5885 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.4534, allocations: 0 / 0.5885 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.4535, allocations: 3.984 kB / 0.5885 GB, free: 4.602 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001857/0.4553, allocations: 1.24 MB / 0.5897 GB, free: 3.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.4553, allocations: 7.984 kB / 0.5897 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.4556, allocations: 71.84 kB / 0.5898 GB, free: 3.172 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/0.4557, allocations: 4 kB / 0.5898 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/0.4557, allocations: 8 kB / 0.5898 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.4557, allocations: 3.938 kB / 0.5898 GB, free: 3.156 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.4557, allocations: 8 kB / 0.5898 GB, free: 3.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009779/0.4567, allocations: 0.6486 MB / 0.5905 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003116/0.457, allocations: 196 kB / 0.5907 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.4572, allocations: 16.05 kB / 0.5907 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.4576, allocations: 20 kB / 0.5907 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.043e-05/0.4576, allocations: 19.97 kB / 0.5907 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.297e-05/0.4577, allocations: 27.97 kB / 0.5907 GB, free: 2.172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008016/0.4585, allocations: 0.593 MB / 0.5913 GB, free: 1.566 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4585, allocations: 0 / 0.5913 GB, free: 1.566 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001339/0.4598, allocations: 299.9 kB / 0.5916 GB, free: 1.273 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.0008155/0.4607, allocations: 325.4 kB / 0.5919 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.4619, allocations: 0.6382 MB / 0.5925 GB, free: 328 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.4619, allocations: 0 / 0.5925 GB, free: 328 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002508/0.4622, allocations: 151.8 kB / 0.5927 GB, free: 176 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001989/0.4642, allocations: 433.2 kB / 0.5931 GB, free: 15.76 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002569/0.4668, allocations: 1.478 MB / 0.5945 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006335/0.4674, allocations: 0.9932 MB / 0.5955 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009301/0.4684, allocations: 320.3 kB / 0.5958 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.4685, allocations: 79.36 kB / 0.5959 GB, free: 12.82 MB / 462.1 MB Notification: Performance of SimCode: time 1.012e-06/0.4685, allocations: 0 / 0.5959 GB, free: 12.82 MB / 462.1 MB Notification: Performance of Templates: time 0.02975/0.4983, allocations: 16.2 MB / 0.6117 GB, free: 12.74 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