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.001475/0.001475, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.355/1.355, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 79.86 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3571, allocations: 62.44 MB / 0.5316 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02039/0.3775, allocations: 17.74 MB / 0.549 GB, free: 15.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009695/0.3873, allocations: 7.019 MB / 0.5558 GB, free: 8.949 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.3885, allocations: 23.88 kB / 0.5558 GB, free: 8.926 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.3897, allocations: 381.6 kB / 0.5562 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001972/0.3917, allocations: 0.6839 MB / 0.5569 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.3956, allocations: 1.33 MB / 0.5582 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003317/0.3989, allocations: 2.521 MB / 0.5606 GB, free: 4.016 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.4001, allocations: 0.6778 MB / 0.5613 GB, free: 3.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.4024, allocations: 1.055 MB / 0.5623 GB, free: 2.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.4037, allocations: 0.7512 MB / 0.5631 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000187/0.4039, allocations: 88 kB / 0.5632 GB, free: 1.426 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001445/0.4053, allocations: 0.5382 MB / 0.5637 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004223/0.4058, allocations: 375 kB / 0.564 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006879/0.4065, allocations: 0.5134 MB / 0.5645 GB, free: 4 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002425/0.4089, allocations: 1.533 MB / 0.566 GB, free: 14.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.4089, allocations: 4 kB / 0.566 GB, free: 14.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4089, allocations: 0 / 0.566 GB, free: 14.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.778e-05/0.409, allocations: 0 / 0.566 GB, free: 14.46 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.002561/0.4115, allocations: 1.283 MB / 0.5673 GB, free: 13.13 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4116, allocations: 8.031 kB / 0.5673 GB, free: 13.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004969/0.4121, allocations: 127.8 kB / 0.5674 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/0.4131, allocations: 0.6222 MB / 0.568 GB, free: 12.33 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.4133, allocations: 252.7 kB / 0.5683 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.4135, allocations: 76.38 kB / 0.5683 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.4154, allocations: 1.313 MB / 0.5696 GB, free: 10.53 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.4155, allocations: 7.938 kB / 0.5696 GB, free: 10.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.98e-05/0.4156, allocations: 40 kB / 0.5697 GB, free: 10.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.752e-05/0.4156, allocations: 41.3 kB / 0.5697 GB, free: 10.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.4172, allocations: 0.9649 MB / 0.5706 GB, free: 9.477 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.007204/0.4244, allocations: 7.079 MB / 0.5776 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.425, allocations: 312.3 kB / 0.5779 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.4253, allocations: 181.3 kB / 0.578 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002858/0.4282, allocations: 2.822 MB / 0.5808 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.4282, allocations: 38.8 kB / 0.5808 GB, free: 14.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.537e-06/0.4282, allocations: 3.984 kB / 0.5808 GB, free: 14.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002472/0.4307, allocations: 1.111 MB / 0.5819 GB, free: 12.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.4308, allocations: 55.41 kB / 0.582 GB, free: 12.83 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.432, allocations: 0.868 MB / 0.5828 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.577e-05/0.432, allocations: 29.7 kB / 0.5828 GB, free: 11.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/0.4325, allocations: 0.5705 MB / 0.5834 GB, free: 11.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.4326, allocations: 142.3 kB / 0.5835 GB, free: 11.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003109/0.433, allocations: 238.5 kB / 0.5838 GB, free: 10.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.4332, allocations: 394.7 kB / 0.5841 GB, free: 10.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.4336, allocations: 246.5 kB / 0.5844 GB, free: 10.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009862/0.4346, allocations: 0.966 MB / 0.5853 GB, free: 8.992 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.4362, allocations: 1.323 MB / 0.5866 GB, free: 7.309 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-05/0.4362, allocations: 8 kB / 0.5866 GB, free: 7.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002083/0.4383, allocations: 1.204 MB / 0.5878 GB, free: 6.09 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.348e-05/0.4384, allocations: 16.19 kB / 0.5878 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-05/0.4384, allocations: 32 kB / 0.5878 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.843e-05/0.4385, allocations: 32 kB / 0.5879 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/0.4393, allocations: 279.4 kB / 0.5881 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.785e-05/0.4394, allocations: 47.86 kB / 0.5882 GB, free: 5.691 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007481/0.4401, allocations: 55.89 kB / 0.5882 GB, free: 5.637 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.4403, allocations: 72 kB / 0.5883 GB, free: 5.566 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.0004918/0.4408, allocations: 337 kB / 0.5886 GB, free: 5.227 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001962/0.441, allocations: 90.97 kB / 0.5887 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009381/0.4419, allocations: 476.8 kB / 0.5892 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4419, allocations: 4 kB / 0.5892 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.4419, allocations: 4 kB / 0.5892 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.442, allocations: 7.984 kB / 0.5892 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.4439, allocations: 1.243 MB / 0.5904 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4439, allocations: 0 / 0.5904 GB, free: 3.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/0.4442, allocations: 79.97 kB / 0.5905 GB, free: 3.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.4443, allocations: 4 kB / 0.5905 GB, free: 3.211 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.4443, allocations: 12 kB / 0.5905 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.4443, allocations: 0 / 0.5905 GB, free: 3.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4443, allocations: 4 kB / 0.5905 GB, free: 3.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009944/0.4453, allocations: 0.6485 MB / 0.5911 GB, free: 2.512 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.4457, allocations: 192 kB / 0.5913 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.4458, allocations: 11.98 kB / 0.5913 GB, free: 2.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.4463, allocations: 20 kB / 0.5913 GB, free: 2.273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.4463, allocations: 28.03 kB / 0.5914 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/0.4464, allocations: 23.97 kB / 0.5914 GB, free: 2.223 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008108/0.4472, allocations: 0.597 MB / 0.592 GB, free: 1.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4473, allocations: 0 / 0.592 GB, free: 1.613 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001228/0.4485, allocations: 295.9 kB / 0.5923 GB, free: 1.324 MB / 446.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.0007996/0.4493, allocations: 334.3 kB / 0.5926 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.4505, allocations: 0.6383 MB / 0.5932 GB, free: 372 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.4505, allocations: 0 / 0.5932 GB, free: 372 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.4508, allocations: 148.4 kB / 0.5933 GB, free: 224 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.4527, allocations: 434.8 kB / 0.5938 GB, free: 15.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002685/0.4554, allocations: 1.519 MB / 0.5952 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/0.4561, allocations: 0.9971 MB / 0.5962 GB, free: 13.21 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002273/0.4564, allocations: 91.42 kB / 0.5963 GB, free: 13.12 MB / 462.1 MB Notification: Performance of SimCode: time 7.22e-07/0.4564, allocations: 0 / 0.5963 GB, free: 13.12 MB / 462.1 MB Notification: Performance of Templates: time 0.02451/0.4809, allocations: 14.87 MB / 0.6108 GB, free: 14.32 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