Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001089/0.001089, allocations: 105.2 kB / 16.27 MB, free: 5.965 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.001114/0.001114, allocations: 189.4 kB / 17.19 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2043/0.2043, allocations: 43.53 MB / 313.9 MB, free: 0.5391 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001785, allocations: 64.12 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.1009, allocations: 57.78 MB / 440.5 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01667/0.1176, allocations: 17.62 MB / 458.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008297/0.126, allocations: 6.999 MB / 465.1 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007809/0.1268, allocations: 23.88 kB / 465.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009482/0.1277, allocations: 373.6 kB / 465.5 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001355/0.1292, allocations: 0.6761 MB / 466.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.1323, allocations: 1.314 MB / 467.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002658/0.135, allocations: 2.509 MB / 470 MB, free: 9.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009253/0.1359, allocations: 0.6832 MB / 470.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.1376, allocations: 1.028 MB / 471.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.1388, allocations: 0.7512 MB / 472.5 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.139, allocations: 88 kB / 472.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.1402, allocations: 0.5343 MB / 473.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003452/0.1406, allocations: 371.1 kB / 473.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000556/0.1412, allocations: 0.5173 MB / 474 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.1431, allocations: 1.519 MB / 475.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1431, allocations: 0 / 475.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1431, allocations: 0 / 475.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.1431, allocations: 0 / 475.5 MB, free: 3.809 MB / 350.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.002308/0.1455, allocations: 1.291 MB / 476.8 MB, free: 2.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1455, allocations: 11.97 kB / 476.8 MB, free: 2.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004549/0.146, allocations: 119.8 kB / 476.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008486/0.1468, allocations: 0.5911 MB / 477.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/0.147, allocations: 252.8 kB / 477.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001259/0.1472, allocations: 76.38 kB / 477.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.149, allocations: 1.305 MB / 479.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.1491, allocations: 7.938 kB / 479.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.91e-05/0.1492, allocations: 40 kB / 479.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.1493, allocations: 41.3 kB / 479.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001515/0.1508, allocations: 0.9649 MB / 480.2 MB, free: 14.86 MB / 366.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.007433/0.1582, allocations: 7.109 MB / 487.3 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005716/0.1588, allocations: 316.1 kB / 487.6 MB, free: 6.969 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.1591, allocations: 172.7 kB / 487.8 MB, free: 6.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002807/0.1619, allocations: 2.818 MB / 490.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.162, allocations: 38.8 kB / 490.6 MB, free: 3.43 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.134e-06/0.162, allocations: 7.938 kB / 490.6 MB, free: 3.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002295/0.1643, allocations: 1.104 MB / 491.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.1643, allocations: 55.41 kB / 491.8 MB, free: 2.199 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.1654, allocations: 0.868 MB / 492.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.1655, allocations: 33.7 kB / 492.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.1659, allocations: 0.5743 MB / 493.3 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.166, allocations: 134.3 kB / 493.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.1663, allocations: 242.5 kB / 493.6 MB, free: 332 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1665, allocations: 402.7 kB / 494 MB, free: 15.92 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.1669, allocations: 246.5 kB / 494.3 MB, free: 15.68 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008437/0.1677, allocations: 0.9622 MB / 495.2 MB, free: 14.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.1692, allocations: 1.319 MB / 496.6 MB, free: 12.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.1692, allocations: 8 kB / 496.6 MB, free: 12.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001835/0.171, allocations: 1.215 MB / 497.8 MB, free: 11.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.27e-05/0.1711, allocations: 19.98 kB / 497.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.463e-05/0.1711, allocations: 24 kB / 497.8 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.862e-05/0.1711, allocations: 36 kB / 497.9 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007735/0.1719, allocations: 275.5 kB / 498.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.793e-05/0.172, allocations: 51.78 kB / 498.2 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/0.1726, allocations: 55.94 kB / 498.2 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/0.1727, allocations: 72.28 kB / 498.3 MB, free: 10.93 MB / 382.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.0004305/0.1731, allocations: 337.1 kB / 498.6 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.1733, allocations: 86.97 kB / 498.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000864/0.1742, allocations: 487.2 kB / 499.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.1742, allocations: 4 kB / 499.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1742, allocations: 0 / 499.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1742, allocations: 0 / 499.2 MB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.1759, allocations: 1.243 MB / 0.4887 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.1759, allocations: 0 / 0.4887 GB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002911/0.1762, allocations: 71.84 kB / 0.4888 GB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.436e-05/0.1762, allocations: 4 kB / 0.4888 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.1763, allocations: 15.98 kB / 0.4888 GB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.1763, allocations: 4 kB / 0.4888 GB, free: 8.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1763, allocations: 8.188 kB / 0.4888 GB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009031/0.1772, allocations: 0.6436 MB / 0.4894 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002572/0.1775, allocations: 207.9 kB / 0.4896 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.1776, allocations: 11.94 kB / 0.4896 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/0.178, allocations: 15.98 kB / 0.4897 GB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.178, allocations: 23.97 kB / 0.4897 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/0.1781, allocations: 23.98 kB / 0.4897 GB, free: 7.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007036/0.1788, allocations: 0.593 MB / 0.4903 GB, free: 6.969 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1788, allocations: 3.938 kB / 0.4903 GB, free: 6.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001073/0.1799, allocations: 296 kB / 0.4906 GB, free: 6.676 MB / 382.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.0006436/0.1805, allocations: 330.8 kB / 0.4909 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.1816, allocations: 0.661 MB / 0.4915 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1817, allocations: 0 / 0.4915 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.1819, allocations: 146.4 kB / 0.4917 GB, free: 5.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.1838, allocations: 426.1 kB / 0.4921 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.1859, allocations: 1.494 MB / 0.4935 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.1865, allocations: 1.001 MB / 0.4945 GB, free: 2.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009806/0.1875, allocations: 319.8 kB / 0.4948 GB, free: 2.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.1877, allocations: 75.42 kB / 0.4949 GB, free: 2.188 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.1877, allocations: 0 / 0.4949 GB, free: 2.188 MB / 382.1 MB Notification: Performance of Templates: time 0.02725/0.2149, allocations: 15.91 MB / 0.5104 GB, free: 2.328 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches