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.001139/0.001139, allocations: 116.2 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001359/0.001359, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1989/0.1989, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 79.17 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1117, allocations: 62.45 MB / 479.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01846/0.1302, allocations: 18.21 MB / 497.7 MB, free: 3.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009299/0.1395, allocations: 7.062 MB / 0.4929 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001068/0.1406, allocations: 31.75 kB / 0.493 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.1418, allocations: 338.2 kB / 0.4933 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001608/0.1434, allocations: 0.6337 MB / 0.4939 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.1467, allocations: 1.233 MB / 0.4951 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002654/0.1494, allocations: 2.529 MB / 0.4976 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008682/0.1502, allocations: 0.6799 MB / 0.4982 GB, free: 6.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002016/0.1523, allocations: 1.024 MB / 0.4992 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.1534, allocations: 0.8058 MB / 0.5 GB, free: 4.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.1536, allocations: 88 kB / 0.5001 GB, free: 4.871 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.1548, allocations: 0.5733 MB / 0.5007 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003429/0.1552, allocations: 387 kB / 0.501 GB, free: 3.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005293/0.1557, allocations: 0.5173 MB / 0.5015 GB, free: 3.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.1577, allocations: 1.593 MB / 0.5031 GB, free: 1.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1577, allocations: 0 / 0.5031 GB, free: 1.801 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1577, allocations: 0 / 0.5031 GB, free: 1.801 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.1578, allocations: 4 kB / 0.5031 GB, free: 1.797 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.002372/0.1601, allocations: 1.294 MB / 0.5044 GB, free: 464 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1602, allocations: 8.031 kB / 0.5044 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004974/0.1607, allocations: 119.9 kB / 0.5045 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1792/0.3399, allocations: 0.5852 MB / 0.5051 GB, free: 43.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001715/0.3401, allocations: 250.7 kB / 0.5053 GB, free: 43.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.3402, allocations: 76.91 kB / 0.5054 GB, free: 43.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.3422, allocations: 1.303 MB / 0.5066 GB, free: 43.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.065e-05/0.3423, allocations: 14.12 kB / 0.5067 GB, free: 43.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.3424, allocations: 41.22 kB / 0.5067 GB, free: 43.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.025e-05/0.3425, allocations: 40.44 kB / 0.5067 GB, free: 43.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.344, allocations: 0.9645 MB / 0.5077 GB, free: 42.71 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.005288/0.3493, allocations: 7.083 MB / 0.5146 GB, free: 36.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.3498, allocations: 311.8 kB / 0.5149 GB, free: 36.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.35, allocations: 169.5 kB / 0.5151 GB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001812/0.3519, allocations: 2.822 MB / 0.5178 GB, free: 33.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.3519, allocations: 38.95 kB / 0.5178 GB, free: 33.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.512e-06/0.3519, allocations: 0 / 0.5178 GB, free: 33.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002034/0.3539, allocations: 1.112 MB / 0.5189 GB, free: 33.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.354, allocations: 58.11 kB / 0.519 GB, free: 33.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000918/0.3549, allocations: 0.8753 MB / 0.5198 GB, free: 32.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.3549, allocations: 35.55 kB / 0.5199 GB, free: 32.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002583/0.3552, allocations: 0.568 MB / 0.5204 GB, free: 32.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.933e-05/0.3553, allocations: 139.5 kB / 0.5206 GB, free: 32.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.3555, allocations: 238 kB / 0.5208 GB, free: 31.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.3556, allocations: 395.8 kB / 0.5212 GB, free: 31.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.356, allocations: 245.8 kB / 0.5214 GB, free: 31.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006029/0.3566, allocations: 0.968 MB / 0.5224 GB, free: 30.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.3577, allocations: 1.318 MB / 0.5236 GB, free: 29.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.3577, allocations: 7.781 kB / 0.5236 GB, free: 29.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001779/0.3595, allocations: 1.209 MB / 0.5248 GB, free: 28.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.3595, allocations: 17.75 kB / 0.5248 GB, free: 28.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.3595, allocations: 25.53 kB / 0.5249 GB, free: 28.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.115e-05/0.3596, allocations: 39.22 kB / 0.5249 GB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.3603, allocations: 277.2 kB / 0.5252 GB, free: 28.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.307e-05/0.3604, allocations: 51.69 kB / 0.5252 GB, free: 28.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007084/0.3611, allocations: 73.22 kB / 0.5253 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.932e-05/0.3612, allocations: 73.22 kB / 0.5254 GB, free: 28.63 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.0003388/0.3616, allocations: 335.9 kB / 0.5257 GB, free: 28.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/0.3617, allocations: 93.62 kB / 0.5258 GB, free: 28.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008332/0.3625, allocations: 482.4 kB / 0.5262 GB, free: 28.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.3625, allocations: 5.297 kB / 0.5262 GB, free: 28.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3626, allocations: 1.641 kB / 0.5262 GB, free: 28.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.3626, allocations: 1.922 kB / 0.5262 GB, free: 28.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.3641, allocations: 1.243 MB / 0.5275 GB, free: 27.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.3642, allocations: 2.734 kB / 0.5275 GB, free: 27.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.3645, allocations: 69.69 kB / 0.5275 GB, free: 27.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.3645, allocations: 3.75 kB / 0.5275 GB, free: 27.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/0.3645, allocations: 10.25 kB / 0.5275 GB, free: 27.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.3645, allocations: 2.875 kB / 0.5275 GB, free: 27.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.3645, allocations: 10.34 kB / 0.5275 GB, free: 27.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008282/0.3654, allocations: 0.6448 MB / 0.5282 GB, free: 26.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002234/0.3656, allocations: 197.2 kB / 0.5284 GB, free: 26.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.3657, allocations: 8.688 kB / 0.5284 GB, free: 26.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004272/0.3661, allocations: 30.41 kB / 0.5284 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.178e-05/0.3662, allocations: 32.59 kB / 0.5284 GB, free: 26.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.3663, allocations: 25.25 kB / 0.5285 GB, free: 26.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007849/0.3671, allocations: 0.5988 MB / 0.529 GB, free: 26.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.042e-06/0.3671, allocations: 0 / 0.529 GB, free: 26.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001255/0.3683, allocations: 300.9 kB / 0.5293 GB, free: 26.44 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.0006286/0.369, allocations: 323.6 kB / 0.5296 GB, free: 26.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.37, allocations: 0.6637 MB / 0.5303 GB, free: 26.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.37, allocations: 1.812 kB / 0.5303 GB, free: 26.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002201/0.3702, allocations: 140.2 kB / 0.5304 GB, free: 26.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.3721, allocations: 429.2 kB / 0.5308 GB, free: 25.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.3742, allocations: 1.758 MB / 0.5325 GB, free: 24.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.3747, allocations: 0.9993 MB / 0.5335 GB, free: 23.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009103/0.3756, allocations: 307.6 kB / 0.5338 GB, free: 23.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3757, allocations: 81.67 kB / 0.5339 GB, free: 23.8 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3757, allocations: 0 / 0.5339 GB, free: 23.8 MB / 382.1 MB Notification: Performance of Templates: time 0.021/0.3967, allocations: 15.89 MB / 0.5494 GB, free: 10.22 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/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