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.001155/0.001155, allocations: 112.7 kB / 17.04 MB, free: 5.801 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.001098/0.001098, allocations: 195 kB / 17.98 MB, free: 5.016 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.351/1.351, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2143/0.2143, allocations: 43.52 MB / 314.7 MB, free: 472 kB / 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.00148/0.00148, allocations: 69.31 kB / 384.2 MB, free: 56.31 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 57.79 MB / 442 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01698/0.1248, allocations: 17.61 MB / 459.6 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00871/0.1335, allocations: 6.999 MB / 466.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009483/0.1345, allocations: 19.88 kB / 466.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.1356, allocations: 369.6 kB / 467 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001543/0.1372, allocations: 0.6761 MB / 467.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003461/0.1407, allocations: 1.314 MB / 469 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002801/0.1435, allocations: 2.509 MB / 471.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009318/0.1444, allocations: 0.6832 MB / 472.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.1462, allocations: 1.032 MB / 473.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.1473, allocations: 0.7512 MB / 473.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.1475, allocations: 84 kB / 474 MB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001325/0.1488, allocations: 0.5382 MB / 474.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003728/0.1492, allocations: 382.9 kB / 474.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006043/0.1498, allocations: 0.5056 MB / 475.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.1519, allocations: 1.539 MB / 477 MB, free: 3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1519, allocations: 0 / 477 MB, free: 3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1519, allocations: 0 / 477 MB, free: 3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.152, allocations: 4 kB / 477 MB, free: 2.996 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.002369/0.1543, allocations: 1.29 MB / 478.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.1544, allocations: 12.03 kB / 478.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004905/0.1549, allocations: 119.8 kB / 478.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.156, allocations: 0.6068 MB / 479 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001968/0.1562, allocations: 252.8 kB / 479.3 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/0.1564, allocations: 80.36 kB / 479.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.1582, allocations: 1.305 MB / 480.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.1583, allocations: 11.94 kB / 480.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.784e-05/0.1584, allocations: 39.98 kB / 480.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.123e-05/0.1584, allocations: 41.31 kB / 480.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.16, allocations: 0.961 MB / 481.7 MB, free: 14.03 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.00672/0.1667, allocations: 7.085 MB / 488.8 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005353/0.1672, allocations: 312.1 kB / 489.1 MB, free: 6.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002646/0.1675, allocations: 181.3 kB / 489.3 MB, free: 5.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002638/0.1702, allocations: 2.818 MB / 492.1 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1702, allocations: 38.8 kB / 492.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.923e-06/0.1702, allocations: 0 / 492.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002339/0.1726, allocations: 1.112 MB / 493.2 MB, free: 1.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.1726, allocations: 55.41 kB / 493.3 MB, free: 1.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.1736, allocations: 0.868 MB / 494.1 MB, free: 0.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.1737, allocations: 33.7 kB / 494.2 MB, free: 472 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004156/0.1741, allocations: 0.5743 MB / 494.8 MB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.1742, allocations: 134.3 kB / 494.9 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.1745, allocations: 234.5 kB / 495.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001843/0.1747, allocations: 406.7 kB / 495.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004047/0.1751, allocations: 246.5 kB / 495.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009559/0.1761, allocations: 0.9622 MB / 496.7 MB, free: 13.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.1776, allocations: 1.319 MB / 498 MB, free: 11.86 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.1776, allocations: 8 kB / 498 MB, free: 11.86 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001884/0.1795, allocations: 1.208 MB / 499.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.1795, allocations: 16 kB / 499.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/0.1796, allocations: 28 kB / 499.3 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.18e-05/0.1796, allocations: 32 kB / 499.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/0.1804, allocations: 283.5 kB / 499.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.244e-05/0.1805, allocations: 51.84 kB / 499.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006484/0.1811, allocations: 47.94 kB / 499.7 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.065e-05/0.1812, allocations: 80.27 kB / 499.8 MB, free: 10.11 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.0004191/0.1817, allocations: 337 kB / 0.4884 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001469/0.1818, allocations: 90.95 kB / 0.4885 GB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009392/0.1828, allocations: 491.1 kB / 0.4889 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.1828, allocations: 0 / 0.4889 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.1828, allocations: 4 kB / 0.4889 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.1828, allocations: 0 / 0.4889 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001687/0.1845, allocations: 1.24 MB / 0.4902 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.1845, allocations: 4 kB / 0.4902 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002924/0.1848, allocations: 71.83 kB / 0.4902 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.1848, allocations: 4 kB / 0.4902 GB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.1849, allocations: 8 kB / 0.4902 GB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.1849, allocations: 4 kB / 0.4902 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.1849, allocations: 0 / 0.4902 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008964/0.1858, allocations: 0.6523 MB / 0.4909 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000317/0.1861, allocations: 207.9 kB / 0.4911 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.41e-05/0.1862, allocations: 8 kB / 0.4911 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.1866, allocations: 20.05 kB / 0.4911 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.1867, allocations: 23.97 kB / 0.4911 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.1867, allocations: 23.98 kB / 0.4911 GB, free: 6.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007059/0.1874, allocations: 0.593 MB / 0.4917 GB, free: 6.152 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1874, allocations: 0 / 0.4917 GB, free: 6.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001121/0.1886, allocations: 295.9 kB / 0.492 GB, free: 5.863 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.0006766/0.1892, allocations: 334.2 kB / 0.4923 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.1903, allocations: 0.638 MB / 0.493 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1903, allocations: 4.438 kB / 0.493 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.1905, allocations: 146.4 kB / 0.4931 GB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001656/0.1922, allocations: 423.8 kB / 0.4935 GB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.1943, allocations: 1.482 MB / 0.4949 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.1949, allocations: 0.9934 MB / 0.4959 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008064/0.1957, allocations: 311 kB / 0.4962 GB, free: 1.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.1958, allocations: 79.42 kB / 0.4963 GB, free: 1.414 MB / 382.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1958, allocations: 3.938 kB / 0.4963 GB, free: 1.41 MB / 382.1 MB Notification: Performance of Templates: time 0.02696/0.2228, allocations: 15.9 MB / 0.5118 GB, free: 1.562 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/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