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.001046/0.001046, allocations: 111.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001151/0.001151, allocations: 207.9 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.323/1.323, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.201/0.201, allocations: 46.11 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001376, allocations: 75.86 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2858/0.2871, allocations: 62.44 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01736/0.3045, allocations: 17.75 MB / 0.549 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00828/0.3128, allocations: 7.018 MB / 0.5558 GB, free: 8.941 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006975/0.3136, allocations: 23.88 kB / 0.5559 GB, free: 8.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009892/0.3146, allocations: 381.6 kB / 0.5562 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001513/0.3161, allocations: 0.6722 MB / 0.5569 GB, free: 7.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003215/0.3193, allocations: 1.326 MB / 0.5582 GB, free: 6.551 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003208/0.3226, allocations: 2.517 MB / 0.5606 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.3237, allocations: 0.6778 MB / 0.5613 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002014/0.3257, allocations: 1.051 MB / 0.5623 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001297/0.3271, allocations: 0.7551 MB / 0.5631 GB, free: 1.523 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002752/0.3273, allocations: 88 kB / 0.5631 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001388/0.3287, allocations: 0.5343 MB / 0.5637 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000418/0.3292, allocations: 375 kB / 0.564 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007237/0.3299, allocations: 0.5056 MB / 0.5645 GB, free: 28 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.3321, allocations: 1.536 MB / 0.566 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3321, allocations: 0 / 0.566 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3321, allocations: 4 kB / 0.566 GB, free: 14.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.439e-05/0.3322, allocations: 0 / 0.566 GB, free: 14.48 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.002591/0.3348, allocations: 1.29 MB / 0.5673 GB, free: 13.14 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.3348, allocations: 8.031 kB / 0.5673 GB, free: 13.13 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005064/0.3353, allocations: 119.8 kB / 0.5674 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009732/0.3363, allocations: 0.6223 MB / 0.568 GB, free: 12.35 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.3365, allocations: 252.8 kB / 0.5682 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.3367, allocations: 80.36 kB / 0.5683 GB, free: 11.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001827/0.3385, allocations: 1.301 MB / 0.5696 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.045e-05/0.3385, allocations: 7.938 kB / 0.5696 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.3386, allocations: 40 kB / 0.5696 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.242e-05/0.3387, allocations: 41.28 kB / 0.5697 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.3402, allocations: 0.9688 MB / 0.5706 GB, free: 9.5 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.006633/0.3469, allocations: 7.082 MB / 0.5775 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.3474, allocations: 312.4 kB / 0.5778 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.3477, allocations: 173.3 kB / 0.578 GB, free: 1.465 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002525/0.3503, allocations: 2.83 MB / 0.5808 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3503, allocations: 38.8 kB / 0.5808 GB, free: 14.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.354e-06/0.3503, allocations: 0 / 0.5808 GB, free: 14.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.00226/0.3526, allocations: 1.103 MB / 0.5819 GB, free: 12.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.3526, allocations: 55.41 kB / 0.5819 GB, free: 12.86 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009738/0.3536, allocations: 0.8719 MB / 0.5828 GB, free: 11.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.3537, allocations: 37.7 kB / 0.5828 GB, free: 11.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003886/0.3541, allocations: 0.5666 MB / 0.5834 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.3542, allocations: 134.2 kB / 0.5835 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002602/0.3544, allocations: 246.5 kB / 0.5837 GB, free: 10.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3546, allocations: 394.7 kB / 0.5841 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.355, allocations: 242.5 kB / 0.5843 GB, free: 10.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007978/0.3558, allocations: 0.966 MB / 0.5853 GB, free: 9.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.3572, allocations: 1.323 MB / 0.5866 GB, free: 7.336 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.385e-05/0.3572, allocations: 8 kB / 0.5866 GB, free: 7.328 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001813/0.359, allocations: 1.204 MB / 0.5878 GB, free: 6.117 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.3591, allocations: 16 kB / 0.5878 GB, free: 6.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.3591, allocations: 24 kB / 0.5878 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.265e-05/0.3592, allocations: 40.06 kB / 0.5878 GB, free: 6.039 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/0.3599, allocations: 279.5 kB / 0.5881 GB, free: 5.766 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.023e-05/0.36, allocations: 51.78 kB / 0.5882 GB, free: 5.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.3607, allocations: 59.89 kB / 0.5882 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.564e-05/0.3608, allocations: 72 kB / 0.5883 GB, free: 5.586 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.0003965/0.3612, allocations: 333 kB / 0.5886 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.3613, allocations: 86.97 kB / 0.5887 GB, free: 5.164 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008294/0.3622, allocations: 489.3 kB / 0.5892 GB, free: 4.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3622, allocations: 3.984 kB / 0.5892 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3622, allocations: 0 / 0.5892 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.3625, allocations: 188 kB / 0.5893 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.3626, allocations: 15.98 kB / 0.5894 GB, free: 4.457 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.363, allocations: 19.94 kB / 0.5894 GB, free: 4.438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.363, allocations: 15.97 kB / 0.5894 GB, free: 4.422 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006793/0.3637, allocations: 412.5 kB / 0.5898 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008744/0.3646, allocations: 0.6809 MB / 0.5904 GB, free: 3.312 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001964/0.3648, allocations: 132 kB / 0.5906 GB, free: 3.184 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006845/0.3655, allocations: 0.5771 MB / 0.5911 GB, free: 2.609 MB / 446.1 MB Notification: Performance of Backend: time 3.81e-07/0.3655, allocations: 0 / 0.5911 GB, free: 2.609 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001877/0.3674, allocations: 0.8812 MB / 0.592 GB, free: 1.738 MB / 446.1 MB Notification: Performance of SimCode: time 0.003077/0.3705, allocations: 2.148 MB / 0.5941 GB, free: 15.55 MB / 462.1 MB Notification: Performance of Templates: time 0.02631/0.3968, allocations: 16.46 MB / 0.6102 GB, free: 15.2 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