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.001173/0.001173, allocations: 109.6 kB / 18.45 MB, free: 4.621 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.001181/0.001181, allocations: 186.2 kB / 19.38 MB, free: 3.699 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.292/1.292, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.198/0.198, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3176, allocations: 60.82 MB / 0.5195 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01769/0.3353, allocations: 17.61 MB / 0.5368 GB, free: 6.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009619/0.345, allocations: 7.004 MB / 0.5436 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001011/0.346, allocations: 20.97 kB / 0.5436 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001164/0.3472, allocations: 381.4 kB / 0.544 GB, free: 376 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.3491, allocations: 0.6636 MB / 0.5446 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003612/0.3527, allocations: 1.325 MB / 0.5459 GB, free: 14.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003435/0.3561, allocations: 2.511 MB / 0.5484 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.3573, allocations: 0.6768 MB / 0.549 GB, free: 12.96 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.3595, allocations: 1.032 MB / 0.55 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001427/0.361, allocations: 0.7625 MB / 0.5508 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002364/0.3612, allocations: 93.88 kB / 0.5509 GB, free: 11.93 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.3628, allocations: 0.5305 MB / 0.5514 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.3632, allocations: 371 kB / 0.5517 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006678/0.3639, allocations: 0.5134 MB / 0.5522 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002408/0.3663, allocations: 1.54 MB / 0.5537 GB, free: 8.973 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3664, allocations: 0 / 0.5537 GB, free: 8.973 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3664, allocations: 0 / 0.5537 GB, free: 8.973 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.426e-05/0.3664, allocations: 0 / 0.5537 GB, free: 8.973 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.002512/0.3689, allocations: 1.283 MB / 0.555 GB, free: 7.637 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.369, allocations: 12.03 kB / 0.555 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004743/0.3694, allocations: 119.8 kB / 0.5551 GB, free: 7.508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001106/0.3706, allocations: 0.6183 MB / 0.5557 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.3708, allocations: 260.8 kB / 0.556 GB, free: 6.559 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.3709, allocations: 76.38 kB / 0.5561 GB, free: 6.484 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.3727, allocations: 1.306 MB / 0.5573 GB, free: 5.043 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.3728, allocations: 7.938 kB / 0.5573 GB, free: 5.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.3729, allocations: 39.98 kB / 0.5574 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.293e-05/0.373, allocations: 41.3 kB / 0.5574 GB, free: 4.957 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.3744, allocations: 0.961 MB / 0.5584 GB, free: 3.992 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.006771/0.3812, allocations: 7.089 MB / 0.5653 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.3818, allocations: 316.1 kB / 0.5656 GB, free: 12.12 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002547/0.382, allocations: 173.4 kB / 0.5657 GB, free: 11.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002537/0.3846, allocations: 2.822 MB / 0.5685 GB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.3846, allocations: 34.8 kB / 0.5685 GB, free: 8.574 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.763e-06/0.3846, allocations: 0 / 0.5685 GB, free: 8.574 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.002152/0.3868, allocations: 1.113 MB / 0.5696 GB, free: 7.406 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.3868, allocations: 55.41 kB / 0.5697 GB, free: 7.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009521/0.3878, allocations: 0.8756 MB / 0.5705 GB, free: 6.457 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.3879, allocations: 33.7 kB / 0.5706 GB, free: 6.418 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.3882, allocations: 0.5705 MB / 0.5711 GB, free: 5.836 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.3884, allocations: 142.3 kB / 0.5713 GB, free: 5.695 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.3886, allocations: 238.5 kB / 0.5715 GB, free: 5.457 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3888, allocations: 398.7 kB / 0.5719 GB, free: 5.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003839/0.3892, allocations: 246.5 kB / 0.5721 GB, free: 4.82 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008539/0.3901, allocations: 0.97 MB / 0.573 GB, free: 3.488 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.3914, allocations: 1.319 MB / 0.5743 GB, free: 1.809 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.3915, allocations: 4 kB / 0.5743 GB, free: 1.805 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001777/0.3933, allocations: 1.207 MB / 0.5755 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.3933, allocations: 16 kB / 0.5755 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/0.3933, allocations: 28 kB / 0.5756 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.084e-05/0.3934, allocations: 36 kB / 0.5756 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007377/0.3941, allocations: 275.4 kB / 0.5759 GB, free: 248 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-05/0.3942, allocations: 52.33 kB / 0.5759 GB, free: 196 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000667/0.3948, allocations: 55.98 kB / 0.576 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.74e-05/0.3949, allocations: 76 kB / 0.576 GB, free: 64 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.0004458/0.3954, allocations: 333.1 kB / 0.5763 GB, free: 15.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.3956, allocations: 90.88 kB / 0.5764 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008503/0.3964, allocations: 475.4 kB / 0.5769 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3964, allocations: 7.938 kB / 0.5769 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3964, allocations: 0 / 0.5769 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.3965, allocations: 3.984 kB / 0.5769 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.3981, allocations: 1.239 MB / 0.5781 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3981, allocations: 4 kB / 0.5781 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.3984, allocations: 75.84 kB / 0.5782 GB, free: 13.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.762e-06/0.3984, allocations: 4 kB / 0.5782 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.947e-05/0.3985, allocations: 8 kB / 0.5782 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.3985, allocations: 4 kB / 0.5782 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3985, allocations: 0 / 0.5782 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008618/0.3994, allocations: 0.6524 MB / 0.5788 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.3997, allocations: 200 kB / 0.579 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.3998, allocations: 16.05 kB / 0.579 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003848/0.4002, allocations: 12 kB / 0.5791 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.286e-05/0.4002, allocations: 27.91 kB / 0.5791 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.4003, allocations: 27.97 kB / 0.5791 GB, free: 12.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007137/0.401, allocations: 0.593 MB / 0.5797 GB, free: 12.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.401, allocations: 0 / 0.5797 GB, free: 12.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001134/0.4022, allocations: 291.9 kB / 0.58 GB, free: 11.83 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.0006702/0.4028, allocations: 347.5 kB / 0.5803 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.4039, allocations: 0.6441 MB / 0.5809 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4039, allocations: 0 / 0.5809 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.4042, allocations: 143.8 kB / 0.5811 GB, free: 10.72 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001696/0.4059, allocations: 424 kB / 0.5815 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.4081, allocations: 1.515 MB / 0.5829 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.4087, allocations: 1.005 MB / 0.5839 GB, free: 7.711 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/0.4089, allocations: 83.42 kB / 0.584 GB, free: 7.629 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4089, allocations: 3.938 kB / 0.584 GB, free: 7.625 MB / 446.1 MB Notification: Performance of Templates: time 0.02149/0.4304, allocations: 14.86 MB / 0.5985 GB, free: 8.844 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