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.0007979/0.000798, allocations: 94 kB / 17.35 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009288/0.0009289, allocations: 200 kB / 18.28 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003221/0.0003222, allocations: 8 kB / 419.5 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01994/0.1455, allocations: 17.67 MB / 0.489 GB, free: 2.406 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009671/0.1553, allocations: 7.04 MB / 0.4959 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009931/0.1563, allocations: 27.75 kB / 0.4959 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001074/0.1574, allocations: 326.2 kB / 0.4962 GB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.1592, allocations: 0.6571 MB / 0.4969 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003707/0.1629, allocations: 1.202 MB / 0.498 GB, free: 9.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004208/0.1672, allocations: 3.605 MB / 0.5016 GB, free: 5.535 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.1683, allocations: 0.5719 MB / 0.5021 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.1705, allocations: 0.9185 MB / 0.503 GB, free: 4.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.1717, allocations: 0.7824 MB / 0.5038 GB, free: 3.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.1718, allocations: 51.94 kB / 0.5038 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001658/0.1735, allocations: 0.542 MB / 0.5044 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004197/0.1739, allocations: 343 kB / 0.5047 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006604/0.1746, allocations: 0.5072 MB / 0.5052 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.1767, allocations: 1.48 MB / 0.5066 GB, free: 320 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1767, allocations: 0 / 0.5066 GB, free: 320 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1767, allocations: 0 / 0.5066 GB, free: 320 kB / 382.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.1767, allocations: 3.938 kB / 0.5066 GB, free: 316 kB / 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.2521/0.4288, allocations: 1.089 MB / 0.5077 GB, free: 42.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.4288, allocations: 12.75 kB / 0.5077 GB, free: 42.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005454/0.4294, allocations: 121.2 kB / 0.5078 GB, free: 42.63 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.4304, allocations: 0.5876 MB / 0.5084 GB, free: 42.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.4306, allocations: 249.3 kB / 0.5086 GB, free: 42.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.4308, allocations: 80.98 kB / 0.5087 GB, free: 42.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.4329, allocations: 1.301 MB / 0.51 GB, free: 41.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-05/0.433, allocations: 11.3 kB / 0.51 GB, free: 41.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.4331, allocations: 38.31 kB / 0.51 GB, free: 41.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.366e-05/0.4332, allocations: 47.98 kB / 0.5101 GB, free: 41.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/0.4349, allocations: 0.9626 MB / 0.511 GB, free: 41.6 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.006117/0.441, allocations: 7.087 MB / 0.5179 GB, free: 35.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.4416, allocations: 312.6 kB / 0.5182 GB, free: 35.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.4419, allocations: 176.1 kB / 0.5184 GB, free: 35.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002119/0.444, allocations: 2.823 MB / 0.5212 GB, free: 32.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.879e-05/0.444, allocations: 42.05 kB / 0.5212 GB, free: 32.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.4441, allocations: 1.625 kB / 0.5212 GB, free: 32.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002226/0.4463, allocations: 1.11 MB / 0.5223 GB, free: 31.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.4463, allocations: 56.33 kB / 0.5223 GB, free: 31.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.4475, allocations: 0.8766 MB / 0.5232 GB, free: 31.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.933e-05/0.4475, allocations: 33.3 kB / 0.5232 GB, free: 31.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003718/0.4479, allocations: 0.5671 MB / 0.5238 GB, free: 31.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.448, allocations: 142.5 kB / 0.5239 GB, free: 30.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.4482, allocations: 109.5 kB / 0.524 GB, free: 30.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.4483, allocations: 394.5 kB / 0.5244 GB, free: 30.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/0.4487, allocations: 247.9 kB / 0.5246 GB, free: 30.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000714/0.4495, allocations: 0.9662 MB / 0.5256 GB, free: 29.37 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.4507, allocations: 1.323 MB / 0.5269 GB, free: 28.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.256e-05/0.4507, allocations: 7.625 kB / 0.5269 GB, free: 28.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001933/0.4526, allocations: 1.207 MB / 0.5281 GB, free: 27.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.4527, allocations: 16.69 kB / 0.5281 GB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/0.4527, allocations: 26.53 kB / 0.5281 GB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.768e-05/0.4528, allocations: 38.19 kB / 0.5281 GB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000789/0.4536, allocations: 273.7 kB / 0.5284 GB, free: 27.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.135e-05/0.4536, allocations: 52.7 kB / 0.5284 GB, free: 27.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007625/0.4544, allocations: 68.47 kB / 0.5285 GB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/0.4545, allocations: 76.12 kB / 0.5286 GB, free: 27.5 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.0004055/0.4549, allocations: 338.5 kB / 0.5289 GB, free: 27.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.4551, allocations: 87.3 kB / 0.529 GB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009415/0.456, allocations: 485.2 kB / 0.5295 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.456, allocations: 4.797 kB / 0.5295 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.456, allocations: 3.938 kB / 0.5295 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.4561, allocations: 3.094 kB / 0.5295 GB, free: 27.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.4578, allocations: 1.247 MB / 0.5307 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.4579, allocations: 2.391 kB / 0.5307 GB, free: 26.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002876/0.4582, allocations: 69.62 kB / 0.5307 GB, free: 26.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.306e-06/0.4582, allocations: 4.188 kB / 0.5308 GB, free: 26.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.4582, allocations: 15.56 kB / 0.5308 GB, free: 26.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.243e-06/0.4582, allocations: 7.969 kB / 0.5308 GB, free: 26.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4582, allocations: 5.344 kB / 0.5308 GB, free: 26.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000898/0.4591, allocations: 0.6454 MB / 0.5314 GB, free: 25.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.4594, allocations: 210.9 kB / 0.5316 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.4595, allocations: 12.56 kB / 0.5316 GB, free: 25.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000427/0.4599, allocations: 22.77 kB / 0.5316 GB, free: 25.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.46, allocations: 23.38 kB / 0.5317 GB, free: 25.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.4601, allocations: 26.88 kB / 0.5317 GB, free: 25.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007459/0.4608, allocations: 0.5997 MB / 0.5323 GB, free: 25.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4608, allocations: 0 / 0.5323 GB, free: 25.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001317/0.4621, allocations: 293.4 kB / 0.5326 GB, free: 25.31 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.0007147/0.4629, allocations: 327.2 kB / 0.5329 GB, free: 25.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.4639, allocations: 0.636 MB / 0.5335 GB, free: 24.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.4639, allocations: 3.5 kB / 0.5335 GB, free: 24.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002202/0.4642, allocations: 144.9 kB / 0.5336 GB, free: 24.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.4663, allocations: 413 kB / 0.534 GB, free: 24.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.4684, allocations: 1.831 MB / 0.5358 GB, free: 23.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.4688, allocations: 0.9992 MB / 0.5368 GB, free: 22.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000943/0.4698, allocations: 319.9 kB / 0.5371 GB, free: 22.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001474/0.4699, allocations: 73.73 kB / 0.5372 GB, free: 22.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4699, allocations: 0 / 0.5372 GB, free: 22.39 MB / 382.1 MB Notification: Performance of Templates: time 0.02138/0.4913, allocations: 15.34 MB / 0.5521 GB, free: 8.781 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