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.001174/0.001174, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2072/0.2072, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 76.06 kB / 482 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3423, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01936/0.3617, allocations: 17.75 MB / 0.549 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009871/0.3716, allocations: 7.014 MB / 0.5558 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008378/0.3725, allocations: 19.88 kB / 0.5559 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.3736, allocations: 381.6 kB / 0.5562 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.3753, allocations: 0.6918 MB / 0.5569 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.3786, allocations: 1.324 MB / 0.5582 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00288/0.3815, allocations: 2.521 MB / 0.5607 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.3827, allocations: 0.6816 MB / 0.5613 GB, free: 3.297 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/0.3846, allocations: 1.055 MB / 0.5623 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.3859, allocations: 0.7512 MB / 0.5631 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000255/0.3862, allocations: 88 kB / 0.5632 GB, free: 1.398 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001442/0.3877, allocations: 0.5304 MB / 0.5637 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004162/0.3881, allocations: 375.1 kB / 0.564 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006799/0.3888, allocations: 0.5213 MB / 0.5646 GB, free: 15.97 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.3909, allocations: 1.529 MB / 0.566 GB, free: 14.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3909, allocations: 4 kB / 0.566 GB, free: 14.44 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3909, allocations: 0 / 0.566 GB, free: 14.44 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3909, allocations: 0 / 0.566 GB, free: 14.44 MB / 430.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.002401/0.3933, allocations: 1.287 MB / 0.5673 GB, free: 13.1 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3934, allocations: 16.03 kB / 0.5673 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004801/0.3939, allocations: 119.8 kB / 0.5674 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.3949, allocations: 0.6145 MB / 0.568 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002036/0.3952, allocations: 256.7 kB / 0.5683 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/0.3953, allocations: 76.38 kB / 0.5684 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.3972, allocations: 1.305 MB / 0.5696 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.259e-05/0.3973, allocations: 3.938 kB / 0.5696 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.3974, allocations: 43.98 kB / 0.5697 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.516e-05/0.3975, allocations: 49.23 kB / 0.5697 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.399, allocations: 0.9611 MB / 0.5707 GB, free: 9.457 MB / 430.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.006986/0.406, allocations: 7.075 MB / 0.5776 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000537/0.4066, allocations: 316.2 kB / 0.5779 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.4069, allocations: 169.4 kB / 0.578 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002614/0.4095, allocations: 2.83 MB / 0.5808 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.4095, allocations: 42.78 kB / 0.5808 GB, free: 14.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.874e-06/0.4096, allocations: 4 kB / 0.5808 GB, free: 14.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002284/0.4119, allocations: 1.099 MB / 0.5819 GB, free: 12.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.4119, allocations: 59.34 kB / 0.582 GB, free: 12.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009821/0.4129, allocations: 0.8641 MB / 0.5828 GB, free: 11.94 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.4129, allocations: 41.69 kB / 0.5829 GB, free: 11.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/0.4134, allocations: 0.5627 MB / 0.5834 GB, free: 11.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.4135, allocations: 138.3 kB / 0.5835 GB, free: 11.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.4138, allocations: 238.5 kB / 0.5838 GB, free: 10.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.414, allocations: 410.6 kB / 0.5842 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.4144, allocations: 242.5 kB / 0.5844 GB, free: 10.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008722/0.4152, allocations: 0.9621 MB / 0.5853 GB, free: 8.977 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/0.4167, allocations: 1.319 MB / 0.5866 GB, free: 7.297 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.849e-06/0.4167, allocations: 4 kB / 0.5866 GB, free: 7.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00181/0.4185, allocations: 1.219 MB / 0.5878 GB, free: 6.066 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.4185, allocations: 19.94 kB / 0.5878 GB, free: 6.047 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.4186, allocations: 24 kB / 0.5878 GB, free: 6.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.844e-05/0.4186, allocations: 36 kB / 0.5879 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008129/0.4194, allocations: 275.5 kB / 0.5881 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.99e-05/0.4195, allocations: 55.78 kB / 0.5882 GB, free: 5.664 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.4201, allocations: 47.91 kB / 0.5882 GB, free: 5.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/0.4202, allocations: 76 kB / 0.5883 GB, free: 5.543 MB / 446.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.0004545/0.4207, allocations: 341.1 kB / 0.5886 GB, free: 5.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.4208, allocations: 86.97 kB / 0.5887 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009348/0.4218, allocations: 480.9 kB / 0.5892 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.4218, allocations: 7.984 kB / 0.5892 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.4218, allocations: 0 / 0.5892 GB, free: 4.629 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000334/0.4222, allocations: 192 kB / 0.5894 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.4223, allocations: 8 kB / 0.5894 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/0.4226, allocations: 19.92 kB / 0.5894 GB, free: 4.395 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.4227, allocations: 19.97 kB / 0.5894 GB, free: 4.375 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007405/0.4234, allocations: 404.5 kB / 0.5898 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009359/0.4244, allocations: 0.6848 MB / 0.5905 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002242/0.4246, allocations: 132 kB / 0.5906 GB, free: 3.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008398/0.4255, allocations: 0.5732 MB / 0.5912 GB, free: 2.57 MB / 446.1 MB Notification: Performance of Backend: time 3.1e-07/0.4255, allocations: 0 / 0.5912 GB, free: 2.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.4276, allocations: 0.8852 MB / 0.592 GB, free: 1.695 MB / 446.1 MB Notification: Performance of SimCode: time 0.003384/0.431, allocations: 2.146 MB / 0.5941 GB, free: 15.51 MB / 462.1 MB Notification: Performance of Templates: time 0.02763/0.4587, allocations: 16.24 MB / 0.61 GB, free: 15.37 MB / 478.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