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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001816/0.001816, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 105.3 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3376/0.3376, allocations: 44.84 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001117/0.001117, allocations: 59.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3183, allocations: 62.01 MB / 0.5152 GB, free: 37.94 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01517/0.3336, allocations: 18.18 MB / 0.5329 GB, free: 24.88 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.008217/0.3419, allocations: 7.12 MB / 0.5399 GB, free: 19.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.3433, allocations: 30.28 kB / 0.5399 GB, free: 19.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.3446, allocations: 329.2 kB / 0.5402 GB, free: 19.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00177/0.3464, allocations: 0.6544 MB / 0.5408 GB, free: 19.27 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003316/0.3497, allocations: 1.207 MB / 0.542 GB, free: 18.64 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004205/0.354, allocations: 3.596 MB / 0.5455 GB, free: 17.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.3552, allocations: 0.5944 MB / 0.5461 GB, free: 17.28 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.3578, allocations: 0.9271 MB / 0.547 GB, free: 16.92 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.3597, allocations: 0.7893 MB / 0.5478 GB, free: 16.63 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004186/0.3602, allocations: 49.09 kB / 0.5478 GB, free: 16.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.3621, allocations: 0.5395 MB / 0.5484 GB, free: 16.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006379/0.3628, allocations: 350 kB / 0.5487 GB, free: 16.33 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00147/0.3643, allocations: 492 kB / 0.5492 GB, free: 16.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00292/0.3672, allocations: 1.499 MB / 0.5506 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3672, allocations: 0 / 0.5506 GB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.3672, allocations: 0 / 0.5506 GB, free: 15.59 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.3672, allocations: 1.781 kB / 0.5506 GB, free: 15.59 MB / 378.7 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.002851/0.3701, allocations: 1.289 MB / 0.5519 GB, free: 14.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3702, allocations: 10.47 kB / 0.5519 GB, free: 14.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005308/0.3707, allocations: 119.5 kB / 0.552 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001141/0.3718, allocations: 0.591 MB / 0.5526 GB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.372, allocations: 250.2 kB / 0.5528 GB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.3722, allocations: 77.28 kB / 0.5529 GB, free: 14.08 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.3742, allocations: 1.309 MB / 0.5542 GB, free: 13.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.047e-05/0.3742, allocations: 10.59 kB / 0.5542 GB, free: 13.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.3743, allocations: 36.75 kB / 0.5542 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.59e-05/0.3744, allocations: 47.95 kB / 0.5543 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.376, allocations: 0.9627 MB / 0.5552 GB, free: 12.62 MB / 378.7 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.00581/0.3818, allocations: 7.093 MB / 0.5621 GB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005167/0.3823, allocations: 312.6 kB / 0.5624 GB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.3826, allocations: 166.9 kB / 0.5626 GB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002052/0.3846, allocations: 2.821 MB / 0.5654 GB, free: 2.688 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.3847, allocations: 50.06 kB / 0.5654 GB, free: 2.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.723e-06/0.3847, allocations: 0 / 0.5654 GB, free: 2.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002275/0.387, allocations: 1.1 MB / 0.5665 GB, free: 1.914 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.387, allocations: 55.72 kB / 0.5665 GB, free: 1.852 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009755/0.388, allocations: 0.8726 MB / 0.5674 GB, free: 1.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.302e-05/0.388, allocations: 32.77 kB / 0.5674 GB, free: 1.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.3884, allocations: 0.5735 MB / 0.568 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.3885, allocations: 140.4 kB / 0.5681 GB, free: 0.6797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.3888, allocations: 239 kB / 0.5683 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3889, allocations: 396.7 kB / 0.5687 GB, free: 168 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003975/0.3893, allocations: 251.4 kB / 0.569 GB, free: 48 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009689/0.3903, allocations: 0.9655 MB / 0.5699 GB, free: 14.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.3917, allocations: 1.321 MB / 0.5712 GB, free: 13.55 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.3917, allocations: 7.75 kB / 0.5712 GB, free: 13.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001979/0.3937, allocations: 1.208 MB / 0.5724 GB, free: 12.89 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.3938, allocations: 16 kB / 0.5724 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.484e-05/0.3938, allocations: 28 kB / 0.5724 GB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.755e-05/0.3938, allocations: 32.78 kB / 0.5724 GB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.3946, allocations: 275.5 kB / 0.5727 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.784e-05/0.3946, allocations: 55.8 kB / 0.5728 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008233/0.3954, allocations: 63.89 kB / 0.5728 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-05/0.3955, allocations: 79.98 kB / 0.5729 GB, free: 12.36 MB / 394.7 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.0004118/0.396, allocations: 335 kB / 0.5732 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.3961, allocations: 90.95 kB / 0.5733 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008235/0.3969, allocations: 487.9 kB / 0.5738 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.397, allocations: 4 kB / 0.5738 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.397, allocations: 0 / 0.5738 GB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.397, allocations: 3.984 kB / 0.5738 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.3987, allocations: 1.239 MB / 0.575 GB, free: 10.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3987, allocations: 4 kB / 0.575 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000281/0.399, allocations: 75.83 kB / 0.5751 GB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.399, allocations: 4 kB / 0.5751 GB, free: 10 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.399, allocations: 8 kB / 0.5751 GB, free: 9.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.399, allocations: 7.938 kB / 0.5751 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.399, allocations: 0 / 0.5751 GB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003963/0.403, allocations: 2.946 MB / 0.578 GB, free: 6.879 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/0.4033, allocations: 192 kB / 0.5781 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.008e-05/0.4034, allocations: 8 kB / 0.5782 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/0.4038, allocations: 31.97 kB / 0.5782 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.4039, allocations: 27.84 kB / 0.5782 GB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.4039, allocations: 23.98 kB / 0.5782 GB, free: 6.582 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007103/0.4046, allocations: 0.597 MB / 0.5788 GB, free: 5.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4047, allocations: 3.938 kB / 0.5788 GB, free: 5.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00137/0.406, allocations: 399.9 kB / 0.5792 GB, free: 5.578 MB / 394.7 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.0006697/0.4067, allocations: 338.6 kB / 0.5795 GB, free: 5.246 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009995/0.4077, allocations: 0.6365 MB / 0.5801 GB, free: 4.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.4077, allocations: 6 kB / 0.5802 GB, free: 4.609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.408, allocations: 139.8 kB / 0.5803 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.41, allocations: 404.9 kB / 0.5807 GB, free: 4.086 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.4124, allocations: 2 MB / 0.5826 GB, free: 2.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.4129, allocations: 1.005 MB / 0.5836 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001037/0.414, allocations: 317.5 kB / 0.5839 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.4141, allocations: 79.42 kB / 0.584 GB, free: 0.6055 MB / 394.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4141, allocations: 7.938 kB / 0.584 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of Templates: time 0.02713/0.4413, allocations: 16.1 MB / 0.5997 GB, free: 0.6172 MB / 410.7 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@2/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