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.001658/0.001658, allocations: 117.3 kB / 17.98 MB, free: 5.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001932/0.001932, allocations: 201.8 kB / 18.92 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2235/0.2235, allocations: 46.11 MB / 344.4 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001629/0.001629, allocations: 83.94 kB / 417.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1212, allocations: 62.44 MB / 480.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02111/0.1424, allocations: 18.23 MB / 498.4 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.1525, allocations: 7.059 MB / 0.4936 GB, free: 12.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.1538, allocations: 31.75 kB / 0.4936 GB, free: 12.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001362/0.1552, allocations: 334.2 kB / 0.4939 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.1573, allocations: 0.6336 MB / 0.4946 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003937/0.1613, allocations: 1.237 MB / 0.4958 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003127/0.1644, allocations: 2.513 MB / 0.4982 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001352/0.1658, allocations: 0.68 MB / 0.4989 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002403/0.1682, allocations: 1.039 MB / 0.4999 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.1697, allocations: 0.7942 MB / 0.5007 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000331/0.17, allocations: 91.94 kB / 0.5008 GB, free: 4.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.1716, allocations: 0.546 MB / 0.5013 GB, free: 4.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005722/0.1722, allocations: 375 kB / 0.5017 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.1733, allocations: 0.5212 MB / 0.5022 GB, free: 3.438 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002067/0.1754, allocations: 1.154 MB / 0.5033 GB, free: 2.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1754, allocations: 0 / 0.5033 GB, free: 2.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1754, allocations: 0 / 0.5033 GB, free: 2.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.035e-05/0.1755, allocations: 0 / 0.5033 GB, free: 2.281 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.003481/0.179, allocations: 1.287 MB / 0.5046 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.179, allocations: 8.031 kB / 0.5046 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006213/0.1797, allocations: 119.9 kB / 0.5047 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.1808, allocations: 0.591 MB / 0.5053 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.2099/0.3907, allocations: 246 kB / 0.5055 GB, free: 43.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003665/0.3911, allocations: 86.42 kB / 0.5056 GB, free: 43.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/0.3941, allocations: 1.303 MB / 0.5068 GB, free: 43.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.716e-05/0.3942, allocations: 9.5 kB / 0.5069 GB, free: 43.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001774/0.3944, allocations: 40.8 kB / 0.5069 GB, free: 43.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.404e-05/0.3945, allocations: 46.39 kB / 0.5069 GB, free: 43.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.3964, allocations: 0.9606 MB / 0.5079 GB, free: 43.2 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.006902/0.4033, allocations: 7.089 MB / 0.5148 GB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.4039, allocations: 308.1 kB / 0.5151 GB, free: 37.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.4042, allocations: 169.2 kB / 0.5153 GB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002266/0.4065, allocations: 2.827 MB / 0.518 GB, free: 34.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.4066, allocations: 38.7 kB / 0.518 GB, free: 34.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.954e-06/0.4066, allocations: 0 / 0.518 GB, free: 34.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002367/0.409, allocations: 1.105 MB / 0.5191 GB, free: 33.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.409, allocations: 62.16 kB / 0.5192 GB, free: 33.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.4101, allocations: 0.8789 MB / 0.52 GB, free: 33.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/0.4102, allocations: 31.86 kB / 0.5201 GB, free: 33.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/0.4105, allocations: 0.5726 MB / 0.5206 GB, free: 32.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.868e-05/0.4106, allocations: 135.8 kB / 0.5208 GB, free: 32.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002732/0.4109, allocations: 237.2 kB / 0.521 GB, free: 32.45 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.411, allocations: 395.8 kB / 0.5214 GB, free: 32.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000409/0.4114, allocations: 250.4 kB / 0.5216 GB, free: 32.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000668/0.4121, allocations: 0.9621 MB / 0.5225 GB, free: 30.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.4132, allocations: 1.319 MB / 0.5238 GB, free: 29.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.4133, allocations: 7.75 kB / 0.5238 GB, free: 29.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001963/0.4152, allocations: 1.208 MB / 0.525 GB, free: 29.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.4153, allocations: 16 kB / 0.525 GB, free: 29.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.387e-05/0.4154, allocations: 25.75 kB / 0.5251 GB, free: 29.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.346e-05/0.4154, allocations: 39.17 kB / 0.5251 GB, free: 29.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000808/0.4163, allocations: 279.4 kB / 0.5254 GB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.008e-05/0.4163, allocations: 55.14 kB / 0.5254 GB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008332/0.4172, allocations: 69.73 kB / 0.5255 GB, free: 29.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.4173, allocations: 76.86 kB / 0.5256 GB, free: 29.12 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.0004471/0.4177, allocations: 334.1 kB / 0.5259 GB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.4179, allocations: 90.61 kB / 0.526 GB, free: 28.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009079/0.4188, allocations: 488.7 kB / 0.5264 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.4188, allocations: 8.234 kB / 0.5264 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4189, allocations: 0 / 0.5264 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4189, allocations: 3.141 kB / 0.5264 GB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.4207, allocations: 1.244 MB / 0.5277 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4207, allocations: 2.844 kB / 0.5277 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.421, allocations: 73.73 kB / 0.5277 GB, free: 27.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.421, allocations: 6.766 kB / 0.5277 GB, free: 27.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.421, allocations: 11.34 kB / 0.5277 GB, free: 27.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/0.4211, allocations: 6.406 kB / 0.5277 GB, free: 27.8 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4211, allocations: 2.531 kB / 0.5278 GB, free: 27.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009139/0.422, allocations: 0.6481 MB / 0.5284 GB, free: 27.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.4223, allocations: 196.4 kB / 0.5286 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.4224, allocations: 13.28 kB / 0.5286 GB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/0.4228, allocations: 26.88 kB / 0.5286 GB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.4229, allocations: 27.97 kB / 0.5286 GB, free: 27.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.426e-05/0.423, allocations: 26.39 kB / 0.5287 GB, free: 27.22 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007484/0.4237, allocations: 0.5937 MB / 0.5292 GB, free: 26.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4237, allocations: 2.406 kB / 0.5292 GB, free: 26.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001222/0.4249, allocations: 300.4 kB / 0.5295 GB, free: 26.93 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.0006912/0.4256, allocations: 324.7 kB / 0.5298 GB, free: 26.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001247/0.4269, allocations: 0.6644 MB / 0.5305 GB, free: 26.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4269, allocations: 2.844 kB / 0.5305 GB, free: 26.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.4272, allocations: 147.2 kB / 0.5306 GB, free: 26.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.4291, allocations: 430.7 kB / 0.531 GB, free: 26.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002339/0.4314, allocations: 1.8 MB / 0.5328 GB, free: 25.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.4318, allocations: 0.9925 MB / 0.5338 GB, free: 24.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.4321, allocations: 87.3 kB / 0.5339 GB, free: 24.44 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4321, allocations: 0 / 0.5339 GB, free: 24.44 MB / 382.1 MB Notification: Performance of Templates: time 0.01883/0.4509, allocations: 14.72 MB / 0.5482 GB, free: 12.24 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches