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.0009782/0.0009779, allocations: 99.77 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00104/0.00104, allocations: 208.5 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2015/0.2015, allocations: 45.9 MB / 344 MB, free: 12.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002656/0.0002656, allocations: 7.984 kB / 417.9 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1363, allocations: 63.46 MB / 481.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01587/0.1522, allocations: 15.16 MB / 496.6 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008497/0.1607, allocations: 6.063 MB / 0.4908 GB, free: 112 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008395/0.1616, allocations: 19.81 kB / 0.4909 GB, free: 92 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00117/0.1628, allocations: 322.3 kB / 0.4912 GB, free: 15.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.1645, allocations: 0.5318 MB / 0.4917 GB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003206/0.1677, allocations: 1.066 MB / 0.4927 GB, free: 14.19 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002759/0.1705, allocations: 1.436 MB / 0.4941 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.1717, allocations: 0.5519 MB / 0.4947 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001991/0.1737, allocations: 0.7985 MB / 0.4954 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.1749, allocations: 490.3 kB / 0.4959 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003196/0.1753, allocations: 48 kB / 0.496 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.1769, allocations: 359.7 kB / 0.4963 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005071/0.1775, allocations: 311.2 kB / 0.4966 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.1779, allocations: 205.2 kB / 0.4968 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001699/0.1796, allocations: 1.06 MB / 0.4978 GB, free: 8.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1796, allocations: 4 kB / 0.4978 GB, free: 8.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1796, allocations: 0 / 0.4978 GB, free: 8.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.251e-05/0.1797, allocations: 0 / 0.4978 GB, free: 8.926 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.002939/0.1827, allocations: 1.107 MB / 0.4989 GB, free: 7.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1827, allocations: 8.562 kB / 0.4989 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/0.1834, allocations: 122.9 kB / 0.499 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001281/0.1847, allocations: 0.5822 MB / 0.4996 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002226/0.1849, allocations: 252.2 kB / 0.4998 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.1851, allocations: 76 kB / 0.4999 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.187, allocations: 1.297 MB / 0.5012 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.574e-05/0.187, allocations: 11.94 kB / 0.5012 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.1872, allocations: 36 kB / 0.5012 GB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-05/0.1872, allocations: 37.3 kB / 0.5013 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.1889, allocations: 0.9649 MB / 0.5022 GB, free: 4.176 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.2172/0.4061, allocations: 7.096 MB / 0.5091 GB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.4066, allocations: 309.1 kB / 0.5094 GB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002401/0.4091, allocations: 2.822 MB / 0.5122 GB, free: 35.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.4091, allocations: 42.59 kB / 0.5122 GB, free: 35.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.4091, allocations: 0 / 0.5122 GB, free: 35.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002737/0.4119, allocations: 1.108 MB / 0.5133 GB, free: 35.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.4119, allocations: 56.78 kB / 0.5134 GB, free: 35.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/0.4134, allocations: 0.8714 MB / 0.5142 GB, free: 34.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.251e-05/0.4134, allocations: 32.98 kB / 0.5142 GB, free: 34.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.4139, allocations: 0.5698 MB / 0.5148 GB, free: 34.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.414, allocations: 130.7 kB / 0.5149 GB, free: 34.42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.414, allocations: 24.12 kB / 0.515 GB, free: 34.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4142, allocations: 401.6 kB / 0.5153 GB, free: 34.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.4146, allocations: 242.1 kB / 0.5156 GB, free: 34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007997/0.4154, allocations: 0.9569 MB / 0.5165 GB, free: 32.96 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/0.4161, allocations: 439.6 kB / 0.5169 GB, free: 32.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/0.4162, allocations: 7.062 kB / 0.5169 GB, free: 32.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00233/0.4185, allocations: 1.201 MB / 0.5181 GB, free: 32.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.4186, allocations: 19.91 kB / 0.5181 GB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.581e-05/0.4186, allocations: 25.53 kB / 0.5181 GB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.541e-05/0.4187, allocations: 38.12 kB / 0.5182 GB, free: 32.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008563/0.4195, allocations: 278 kB / 0.5184 GB, free: 32.33 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.849e-05/0.4196, allocations: 52.64 kB / 0.5185 GB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009107/0.4205, allocations: 72.09 kB / 0.5186 GB, free: 32.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.4207, allocations: 77.05 kB / 0.5186 GB, free: 32.28 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00064/0.4213, allocations: 330.7 kB / 0.519 GB, free: 32.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.4216, allocations: 88.19 kB / 0.519 GB, free: 32.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.4229, allocations: 492.1 kB / 0.5195 GB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/0.4229, allocations: 3.516 kB / 0.5195 GB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.4229, allocations: 1.672 kB / 0.5195 GB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.4229, allocations: 1.266 kB / 0.5195 GB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.4253, allocations: 1.249 MB / 0.5207 GB, free: 30.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/0.4254, allocations: 6.688 kB / 0.5207 GB, free: 30.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003411/0.4257, allocations: 69.14 kB / 0.5208 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.428e-05/0.4257, allocations: 7.578 kB / 0.5208 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.4258, allocations: 10.69 kB / 0.5208 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.928e-06/0.4258, allocations: 7.016 kB / 0.5208 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.4258, allocations: 2.906 kB / 0.5208 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.4268, allocations: 0.7094 MB / 0.5215 GB, free: 30.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003607/0.4272, allocations: 207.4 kB / 0.5217 GB, free: 30.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.4273, allocations: 13.45 kB / 0.5217 GB, free: 30.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/0.4277, allocations: 30.27 kB / 0.5218 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.97e-05/0.4278, allocations: 24.08 kB / 0.5218 GB, free: 30.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/0.4278, allocations: 26.95 kB / 0.5218 GB, free: 30.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008879/0.4287, allocations: 0.5818 MB / 0.5224 GB, free: 30.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.4287, allocations: 4.938 kB / 0.5224 GB, free: 30.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001352/0.4301, allocations: 299.1 kB / 0.5227 GB, free: 29.98 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006341/0.4307, allocations: 302.6 kB / 0.523 GB, free: 29.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.4319, allocations: 0.6252 MB / 0.5236 GB, free: 29.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4319, allocations: 5.094 kB / 0.5236 GB, free: 29.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.4322, allocations: 144.8 kB / 0.5237 GB, free: 29.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.4339, allocations: 378.7 kB / 0.5241 GB, free: 29.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.4362, allocations: 1.753 MB / 0.5258 GB, free: 28.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.4368, allocations: 1.011 MB / 0.5268 GB, free: 27.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001083/0.4379, allocations: 326.4 kB / 0.5271 GB, free: 27.71 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.4381, allocations: 77.03 kB / 0.5272 GB, free: 27.7 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4381, allocations: 0 / 0.5272 GB, free: 27.7 MB / 382.1 MB Notification: Performance of Templates: time 0.02325/0.4613, allocations: 14.61 MB / 0.5414 GB, free: 19.07 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","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches