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.001113/0.001113, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001248/0.001249, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2076/0.2076, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.0016, allocations: 74.33 kB / 417.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1299, allocations: 62.44 MB / 480 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01988/0.1498, allocations: 17.75 MB / 497.8 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009889/0.1598, allocations: 7.006 MB / 0.4929 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000909/0.1607, allocations: 23.88 kB / 0.493 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001272/0.162, allocations: 381.6 kB / 0.4933 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.164, allocations: 0.6839 MB / 0.494 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.1676, allocations: 1.315 MB / 0.4953 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002837/0.1704, allocations: 2.51 MB / 0.4977 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.1715, allocations: 0.6782 MB / 0.4984 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002055/0.1736, allocations: 1.039 MB / 0.4994 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001293/0.1749, allocations: 0.7551 MB / 0.5001 GB, free: 5.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000333/0.1752, allocations: 88 kB / 0.5002 GB, free: 4.988 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.1768, allocations: 0.5305 MB / 0.5007 GB, free: 4.457 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005018/0.1774, allocations: 379 kB / 0.5011 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.1784, allocations: 0.5095 MB / 0.5016 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.1812, allocations: 1.523 MB / 0.5031 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1812, allocations: 0 / 0.5031 GB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1813, allocations: 0 / 0.5031 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.998e-05/0.1813, allocations: 0 / 0.5031 GB, free: 2.047 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.003247/0.1846, allocations: 1.298 MB / 0.5044 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1846, allocations: 8.031 kB / 0.5044 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006059/0.1852, allocations: 123.8 kB / 0.5045 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2254/0.4107, allocations: 0.5817 MB / 0.5051 GB, free: 43.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.411, allocations: 247.8 kB / 0.5053 GB, free: 43.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/0.4113, allocations: 83.92 kB / 0.5054 GB, free: 43.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002422/0.4138, allocations: 1.308 MB / 0.5066 GB, free: 42.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.4138, allocations: 8.281 kB / 0.5067 GB, free: 42.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.414, allocations: 40.94 kB / 0.5067 GB, free: 42.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.913e-05/0.414, allocations: 36.58 kB / 0.5067 GB, free: 42.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.4157, allocations: 0.9643 MB / 0.5077 GB, free: 42.53 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.006387/0.4221, allocations: 7.097 MB / 0.5146 GB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.4227, allocations: 309 kB / 0.5149 GB, free: 36.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.423, allocations: 175.6 kB / 0.5151 GB, free: 36.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002162/0.4252, allocations: 2.817 MB / 0.5178 GB, free: 33.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.4252, allocations: 39.67 kB / 0.5179 GB, free: 33.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.464e-06/0.4252, allocations: 0 / 0.5179 GB, free: 33.56 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002412/0.4276, allocations: 1.119 MB / 0.5189 GB, free: 32.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.4277, allocations: 60.03 kB / 0.519 GB, free: 32.85 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001202/0.4289, allocations: 0.8691 MB / 0.5199 GB, free: 32.48 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.918e-05/0.4289, allocations: 32.89 kB / 0.5199 GB, free: 32.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003439/0.4293, allocations: 0.573 MB / 0.5204 GB, free: 31.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.4294, allocations: 133.3 kB / 0.5206 GB, free: 31.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000283/0.4297, allocations: 239.3 kB / 0.5208 GB, free: 31.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4298, allocations: 395.4 kB / 0.5212 GB, free: 31.42 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004751/0.4303, allocations: 248.1 kB / 0.5214 GB, free: 31.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007266/0.4311, allocations: 0.9636 MB / 0.5224 GB, free: 30.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.4322, allocations: 1.322 MB / 0.5236 GB, free: 29.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-05/0.4323, allocations: 8.188 kB / 0.5237 GB, free: 29.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001973/0.4343, allocations: 1.207 MB / 0.5248 GB, free: 28.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.239e-05/0.4343, allocations: 16.78 kB / 0.5248 GB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.806e-05/0.4343, allocations: 31.5 kB / 0.5249 GB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.721e-05/0.4344, allocations: 34.25 kB / 0.5249 GB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/0.4352, allocations: 282.2 kB / 0.5252 GB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.732e-05/0.4352, allocations: 55.11 kB / 0.5252 GB, free: 28.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007061/0.436, allocations: 47.48 kB / 0.5253 GB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.4361, allocations: 80.58 kB / 0.5254 GB, free: 28.45 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.0003914/0.4365, allocations: 329.8 kB / 0.5257 GB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.4366, allocations: 88.3 kB / 0.5258 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008336/0.4375, allocations: 486.8 kB / 0.5262 GB, free: 27.97 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.4375, allocations: 5.25 kB / 0.5262 GB, free: 27.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.4375, allocations: 1.75 kB / 0.5262 GB, free: 27.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.4375, allocations: 3.281 kB / 0.5262 GB, free: 27.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.4391, allocations: 1.252 MB / 0.5274 GB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4392, allocations: 2.5 kB / 0.5275 GB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.4395, allocations: 69.8 kB / 0.5275 GB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.4395, allocations: 3.391 kB / 0.5275 GB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.49e-05/0.4395, allocations: 9.812 kB / 0.5275 GB, free: 27.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.4395, allocations: 3.953 kB / 0.5275 GB, free: 27.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4395, allocations: 6.406 kB / 0.5275 GB, free: 27.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008978/0.4404, allocations: 0.6469 MB / 0.5282 GB, free: 26.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.4407, allocations: 201.7 kB / 0.5284 GB, free: 26.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/0.4409, allocations: 8.516 kB / 0.5284 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004314/0.4413, allocations: 16.36 kB / 0.5284 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.4414, allocations: 31.7 kB / 0.5284 GB, free: 26.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.4414, allocations: 28.83 kB / 0.5284 GB, free: 26.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007587/0.4422, allocations: 0.5911 MB / 0.529 GB, free: 26.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4422, allocations: 4.062 kB / 0.529 GB, free: 26.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001133/0.4433, allocations: 299.2 kB / 0.5293 GB, free: 26.26 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.0006514/0.444, allocations: 332.6 kB / 0.5296 GB, free: 26.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001116/0.4451, allocations: 0.6624 MB / 0.5303 GB, free: 25.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.886e-06/0.4451, allocations: 3.719 kB / 0.5303 GB, free: 25.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.4454, allocations: 148.2 kB / 0.5304 GB, free: 25.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001916/0.4473, allocations: 428.7 kB / 0.5308 GB, free: 25.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.4493, allocations: 1.483 MB / 0.5323 GB, free: 24.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.4497, allocations: 0.9989 MB / 0.5333 GB, free: 24.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001001/0.4507, allocations: 321.4 kB / 0.5336 GB, free: 23.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.4509, allocations: 73.55 kB / 0.5336 GB, free: 23.93 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4509, allocations: 0 / 0.5336 GB, free: 23.93 MB / 382.1 MB Notification: Performance of Templates: time 0.02248/0.4734, allocations: 15.97 MB / 0.5492 GB, free: 10.36 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