Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 112.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 185.2 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2024/0.2024, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 59.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3192, allocations: 60.81 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02055/0.3397, allocations: 17.61 MB / 0.5368 GB, free: 6.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009695/0.3495, allocations: 7.003 MB / 0.5436 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.3506, allocations: 21.88 kB / 0.5436 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.3519, allocations: 377.4 kB / 0.544 GB, free: 352 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002019/0.354, allocations: 0.672 MB / 0.5446 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003699/0.3577, allocations: 1.328 MB / 0.5459 GB, free: 14.81 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003426/0.3611, allocations: 2.504 MB / 0.5484 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.3624, allocations: 0.6801 MB / 0.549 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002538/0.365, allocations: 1.044 MB / 0.5501 GB, free: 12.34 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.3667, allocations: 0.7468 MB / 0.5508 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003898/0.3671, allocations: 86.59 kB / 0.5509 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00183/0.3689, allocations: 0.5389 MB / 0.5514 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005629/0.3695, allocations: 371.1 kB / 0.5517 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001006/0.3705, allocations: 0.5173 MB / 0.5523 GB, free: 10.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.3728, allocations: 1.536 MB / 0.5538 GB, free: 8.961 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3729, allocations: 0 / 0.5538 GB, free: 8.961 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3729, allocations: 0 / 0.5538 GB, free: 8.961 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.286e-05/0.3729, allocations: 0 / 0.5538 GB, free: 8.961 MB / 414.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.002419/0.3753, allocations: 1.279 MB / 0.555 GB, free: 7.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.836e-05/0.3754, allocations: 19.95 kB / 0.555 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004787/0.3759, allocations: 119.8 kB / 0.5551 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00094/0.3768, allocations: 0.6223 MB / 0.5557 GB, free: 6.828 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001797/0.377, allocations: 244.8 kB / 0.556 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.3772, allocations: 80.38 kB / 0.5561 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.379, allocations: 1.31 MB / 0.5573 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/0.379, allocations: 7.938 kB / 0.5573 GB, free: 5.023 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.3791, allocations: 40 kB / 0.5574 GB, free: 4.984 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.428e-05/0.3792, allocations: 41.3 kB / 0.5574 GB, free: 4.945 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/0.3807, allocations: 0.9688 MB / 0.5584 GB, free: 3.973 MB / 414.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.006517/0.3872, allocations: 7.082 MB / 0.5653 GB, free: 12.42 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005634/0.3878, allocations: 316.1 kB / 0.5656 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.3881, allocations: 165.4 kB / 0.5657 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002511/0.3906, allocations: 2.822 MB / 0.5685 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.3907, allocations: 42.73 kB / 0.5685 GB, free: 8.562 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 2.395e-06/0.3907, allocations: 4 kB / 0.5685 GB, free: 8.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.002455/0.3932, allocations: 1.109 MB / 0.5696 GB, free: 7.395 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.3932, allocations: 55.41 kB / 0.5697 GB, free: 7.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.3944, allocations: 0.8718 MB / 0.5705 GB, free: 6.449 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/0.3944, allocations: 37.7 kB / 0.5706 GB, free: 6.406 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003861/0.3948, allocations: 0.5627 MB / 0.5711 GB, free: 5.832 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/0.3949, allocations: 142.3 kB / 0.5712 GB, free: 5.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002603/0.3952, allocations: 238.5 kB / 0.5715 GB, free: 5.453 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.3954, allocations: 406.6 kB / 0.5719 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003948/0.3958, allocations: 250.4 kB / 0.5721 GB, free: 4.805 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.3966, allocations: 0.9622 MB / 0.573 GB, free: 3.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.398, allocations: 1.319 MB / 0.5743 GB, free: 1.801 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.398, allocations: 11.94 kB / 0.5743 GB, free: 1.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00193/0.4, allocations: 1.208 MB / 0.5755 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.4, allocations: 16 kB / 0.5755 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/0.4001, allocations: 28 kB / 0.5756 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/0.4001, allocations: 32 kB / 0.5756 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007836/0.4009, allocations: 279.5 kB / 0.5759 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-05/0.4009, allocations: 51.8 kB / 0.5759 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007371/0.4017, allocations: 47.98 kB / 0.576 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.992e-05/0.4018, allocations: 76 kB / 0.576 GB, free: 56 kB / 430.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.0004647/0.4023, allocations: 337.1 kB / 0.5763 GB, free: 15.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001973/0.4025, allocations: 90.88 kB / 0.5764 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009028/0.4034, allocations: 471.4 kB / 0.5769 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.4034, allocations: 11.94 kB / 0.5769 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4034, allocations: 0 / 0.5769 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4034, allocations: 3.984 kB / 0.5769 GB, free: 15.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001725/0.4052, allocations: 1.243 MB / 0.5781 GB, free: 13.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.457e-06/0.4052, allocations: 12.19 kB / 0.5781 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002859/0.4055, allocations: 67.84 kB / 0.5782 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.4055, allocations: 4 kB / 0.5782 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.4055, allocations: 8 kB / 0.5782 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-06/0.4055, allocations: 4 kB / 0.5782 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.4055, allocations: 7.922 kB / 0.5782 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009185/0.4065, allocations: 0.6445 MB / 0.5788 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.4068, allocations: 196 kB / 0.579 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.4069, allocations: 15.98 kB / 0.579 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004506/0.4074, allocations: 12 kB / 0.5791 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.4075, allocations: 31.97 kB / 0.5791 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.255e-05/0.4075, allocations: 27.97 kB / 0.5791 GB, free: 12.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007731/0.4083, allocations: 0.593 MB / 0.5797 GB, free: 12.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4083, allocations: 0 / 0.5797 GB, free: 12.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001141/0.4094, allocations: 291.9 kB / 0.58 GB, free: 11.81 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.0007475/0.4102, allocations: 335.2 kB / 0.5803 GB, free: 11.49 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.4113, allocations: 0.6445 MB / 0.5809 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/0.4114, allocations: 4 kB / 0.5809 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002371/0.4116, allocations: 148 kB / 0.5811 GB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.4136, allocations: 419.2 kB / 0.5815 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.4159, allocations: 1.523 MB / 0.5829 GB, free: 8.727 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005917/0.4165, allocations: 0.9934 MB / 0.5839 GB, free: 7.703 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.4168, allocations: 91.42 kB / 0.584 GB, free: 7.613 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4168, allocations: 0 / 0.584 GB, free: 7.613 MB / 446.1 MB Notification: Performance of Templates: time 0.02157/0.4384, allocations: 14.86 MB / 0.5985 GB, free: 8.836 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches