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.001534/0.001534, allocations: 113.8 kB / 17.77 MB, free: 5.359 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.001793/0.001793, allocations: 179.9 kB / 18.7 MB, free: 4.438 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.388/1.388, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.1986/0.1986, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.91 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3611, allocations: 60.82 MB / 0.5189 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01947/0.3806, allocations: 17.64 MB / 0.5361 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009385/0.3899, allocations: 7.016 MB / 0.543 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009648/0.3909, allocations: 21.47 kB / 0.543 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.392, allocations: 389.4 kB / 0.5434 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.3938, allocations: 0.6837 MB / 0.544 GB, free: 0 / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003584/0.3974, allocations: 1.322 MB / 0.5453 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004731/0.4021, allocations: 2.509 MB / 0.5478 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.4036, allocations: 0.6093 MB / 0.5484 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.4059, allocations: 1.038 MB / 0.5494 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.4073, allocations: 0.7573 MB / 0.5501 GB, free: 12.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001978/0.4075, allocations: 89.91 kB / 0.5502 GB, free: 12.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.409, allocations: 0.5305 MB / 0.5507 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004053/0.4094, allocations: 382.8 kB / 0.5511 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006141/0.41, allocations: 0.5134 MB / 0.5516 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002318/0.4123, allocations: 1.55 MB / 0.5531 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.4123, allocations: 0 / 0.5531 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.4123, allocations: 4 kB / 0.5531 GB, free: 9.121 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.706e-05/0.4123, allocations: 0 / 0.5531 GB, free: 9.121 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.002529/0.4148, allocations: 1.301 MB / 0.5544 GB, free: 7.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.4149, allocations: 12.03 kB / 0.5544 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004819/0.4154, allocations: 132.2 kB / 0.5545 GB, free: 7.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009361/0.4163, allocations: 0.6226 MB / 0.5551 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001768/0.4165, allocations: 248.8 kB / 0.5554 GB, free: 6.684 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.4166, allocations: 76.38 kB / 0.5554 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.4185, allocations: 1.31 MB / 0.5567 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.4185, allocations: 7.922 kB / 0.5567 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.4186, allocations: 43.98 kB / 0.5568 GB, free: 5.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/0.4187, allocations: 41.31 kB / 0.5568 GB, free: 5.074 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.4202, allocations: 0.9649 MB / 0.5577 GB, free: 4.105 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.006207/0.4264, allocations: 7.098 MB / 0.5647 GB, free: 12.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005062/0.4269, allocations: 292.1 kB / 0.565 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002572/0.4272, allocations: 165.4 kB / 0.5651 GB, free: 12.08 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002371/0.4295, allocations: 2.822 MB / 0.5679 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.4296, allocations: 38.8 kB / 0.5679 GB, free: 8.707 MB / 430.1 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.4296, allocations: 224 / 0.5679 GB, free: 8.707 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.002201/0.4318, allocations: 1.122 MB / 0.569 GB, free: 7.531 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.4318, allocations: 63.34 kB / 0.5691 GB, free: 7.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009477/0.4327, allocations: 0.876 MB / 0.5699 GB, free: 6.574 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.671e-05/0.4328, allocations: 33.7 kB / 0.5699 GB, free: 6.535 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.4332, allocations: 0.5883 MB / 0.5705 GB, free: 5.938 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.4334, allocations: 142.9 kB / 0.5707 GB, free: 5.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.4336, allocations: 242.7 kB / 0.5709 GB, free: 5.555 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4338, allocations: 398.7 kB / 0.5713 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.4342, allocations: 250.5 kB / 0.5715 GB, free: 4.914 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000851/0.435, allocations: 0.9622 MB / 0.5724 GB, free: 3.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.4364, allocations: 1.323 MB / 0.5737 GB, free: 1.906 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.4365, allocations: 8 kB / 0.5737 GB, free: 1.898 MB / 430.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001808/0.4383, allocations: 1.208 MB / 0.5749 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.039e-05/0.4383, allocations: 20.03 kB / 0.5749 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/0.4383, allocations: 27.98 kB / 0.575 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.275e-05/0.4384, allocations: 39.94 kB / 0.575 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007651/0.4391, allocations: 275.5 kB / 0.5753 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.11e-05/0.4392, allocations: 51.78 kB / 0.5753 GB, free: 284 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006311/0.4398, allocations: 55.95 kB / 0.5754 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.522e-05/0.4399, allocations: 72 kB / 0.5754 GB, free: 156 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.0004048/0.4403, allocations: 337.1 kB / 0.5758 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.4404, allocations: 91.44 kB / 0.5759 GB, free: 15.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008585/0.4413, allocations: 475.3 kB / 0.5763 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.4413, allocations: 4 kB / 0.5763 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4413, allocations: 0 / 0.5763 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4413, allocations: 4 kB / 0.5763 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.4429, allocations: 1.239 MB / 0.5775 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.4429, allocations: 0 / 0.5775 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002905/0.4432, allocations: 76.03 kB / 0.5776 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.4432, allocations: 4 kB / 0.5776 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.4432, allocations: 11.98 kB / 0.5776 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4432, allocations: 4 kB / 0.5776 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4432, allocations: 4 kB / 0.5776 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008798/0.4441, allocations: 0.6527 MB / 0.5783 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.4443, allocations: 204.4 kB / 0.5785 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/0.4444, allocations: 11.95 kB / 0.5785 GB, free: 12.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.4448, allocations: 19.98 kB / 0.5785 GB, free: 12.86 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.4449, allocations: 35.91 kB / 0.5785 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.7e-05/0.4449, allocations: 23.98 kB / 0.5785 GB, free: 12.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007266/0.4457, allocations: 0.593 MB / 0.5791 GB, free: 12.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4457, allocations: 0 / 0.5791 GB, free: 12.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001071/0.4467, allocations: 299.6 kB / 0.5794 GB, free: 11.9 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.0006559/0.4474, allocations: 331.6 kB / 0.5797 GB, free: 11.57 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000966/0.4483, allocations: 0.6127 MB / 0.5803 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.4484, allocations: 4 kB / 0.5803 GB, free: 10.96 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.4486, allocations: 136.9 kB / 0.5805 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.4504, allocations: 433.6 kB / 0.5809 GB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.4525, allocations: 1.5 MB / 0.5823 GB, free: 8.875 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005241/0.453, allocations: 0.9973 MB / 0.5833 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008101/0.4538, allocations: 323.8 kB / 0.5836 GB, free: 7.535 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.454, allocations: 71.42 kB / 0.5837 GB, free: 7.465 MB / 446.1 MB Notification: Performance of SimCode: time 8.22e-07/0.454, allocations: 0 / 0.5837 GB, free: 7.465 MB / 446.1 MB Notification: Performance of Templates: time 0.02561/0.4796, allocations: 16.23 MB / 0.5995 GB, free: 7.387 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/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