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.001609/0.001609, allocations: 108.5 kB / 16.64 MB, free: 6.367 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.001797/0.001797, allocations: 194.4 kB / 17.56 MB, free: 5.801 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.363/1.363, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.1933/0.1933, allocations: 43.52 MB / 314.3 MB, free: 0.7109 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.001666/0.001666, allocations: 66.64 kB / 382.9 MB, free: 56.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09713/0.09881, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01722/0.1161, allocations: 18.1 MB / 458.8 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009682/0.1258, allocations: 7.054 MB / 465.8 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.127, allocations: 31.69 kB / 465.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001443/0.1285, allocations: 338.2 kB / 466.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.1304, allocations: 0.6259 MB / 466.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003512/0.134, allocations: 1.229 MB / 468 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002879/0.1369, allocations: 2.517 MB / 470.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001209/0.1381, allocations: 0.674 MB / 471.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.1404, allocations: 1.036 MB / 472.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.1418, allocations: 0.7901 MB / 473.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003262/0.1422, allocations: 88 kB / 473.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001695/0.1439, allocations: 0.5382 MB / 473.7 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005243/0.1444, allocations: 375 kB / 474 MB, free: 5.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.1454, allocations: 0.5212 MB / 474.6 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.1471, allocations: 1.162 MB / 475.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1471, allocations: 0 / 475.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1471, allocations: 0 / 475.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.483e-05/0.1472, allocations: 0 / 475.7 MB, free: 4.172 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.002957/0.1501, allocations: 1.283 MB / 477 MB, free: 2.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1502, allocations: 8.031 kB / 477 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006014/0.1508, allocations: 127.7 kB / 477.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.1518, allocations: 0.5911 MB / 477.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002123/0.1521, allocations: 248.8 kB / 478 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.1522, allocations: 72.38 kB / 478 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002111/0.1543, allocations: 1.313 MB / 479.4 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.1544, allocations: 7.938 kB / 479.4 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.1545, allocations: 36 kB / 479.4 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-05/0.1546, allocations: 37.31 kB / 479.4 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.1562, allocations: 0.9727 MB / 480.4 MB, free: 15.23 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.007469/0.1637, allocations: 7.093 MB / 487.5 MB, free: 7.668 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005695/0.1643, allocations: 316.1 kB / 487.8 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.1646, allocations: 165.4 kB / 488 MB, free: 7.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002753/0.1673, allocations: 2.822 MB / 490.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.1674, allocations: 46.8 kB / 490.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.943e-06/0.1674, allocations: 224 / 490.8 MB, free: 3.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002486/0.1699, allocations: 1.1 MB / 491.9 MB, free: 2.656 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.17, allocations: 63.34 kB / 492 MB, free: 2.582 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.171, allocations: 0.868 MB / 492.9 MB, free: 1.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.595e-05/0.1711, allocations: 33.7 kB / 492.9 MB, free: 1.664 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.1715, allocations: 0.5743 MB / 493.5 MB, free: 1.082 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.1716, allocations: 134.3 kB / 493.6 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.1719, allocations: 246.5 kB / 493.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1721, allocations: 398.7 kB / 494.2 MB, free: 312 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.1725, allocations: 242.5 kB / 494.5 MB, free: 68 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007995/0.1733, allocations: 0.9661 MB / 495.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.1746, allocations: 1.315 MB / 496.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/0.1747, allocations: 8 kB / 496.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001798/0.1765, allocations: 1.215 MB / 498 MB, free: 11.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.1765, allocations: 16 kB / 498 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/0.1765, allocations: 27.98 kB / 498 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.206e-05/0.1766, allocations: 36 kB / 498.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007548/0.1773, allocations: 276.1 kB / 498.3 MB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.241e-05/0.1774, allocations: 51.78 kB / 498.4 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007513/0.1782, allocations: 75.83 kB / 498.5 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.253e-05/0.1783, allocations: 72 kB / 498.5 MB, free: 11.29 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.000424/0.1787, allocations: 333.1 kB / 498.8 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.1789, allocations: 86.97 kB / 498.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000872/0.1797, allocations: 490.3 kB / 499.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.1798, allocations: 4 kB / 499.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.1798, allocations: 0 / 499.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.1798, allocations: 3.984 kB / 499.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.1814, allocations: 1.24 MB / 0.4889 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1815, allocations: 4 kB / 0.4889 GB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.1817, allocations: 71.84 kB / 0.489 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.1818, allocations: 4 kB / 0.489 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.432e-05/0.1818, allocations: 8 kB / 0.489 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.1818, allocations: 3.984 kB / 0.489 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1818, allocations: 7.938 kB / 0.489 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008543/0.1827, allocations: 0.6439 MB / 0.4897 GB, free: 8.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.183, allocations: 203.8 kB / 0.4898 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.1831, allocations: 11.94 kB / 0.4899 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.1835, allocations: 32 kB / 0.4899 GB, free: 7.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.1836, allocations: 23.84 kB / 0.4899 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-05/0.1837, allocations: 27.97 kB / 0.4899 GB, free: 7.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007016/0.1844, allocations: 0.593 MB / 0.4905 GB, free: 7.328 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1844, allocations: 4 kB / 0.4905 GB, free: 7.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001122/0.1855, allocations: 299.9 kB / 0.4908 GB, free: 7.031 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.0008263/0.1863, allocations: 329.3 kB / 0.4911 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001123/0.1875, allocations: 0.6652 MB / 0.4918 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1875, allocations: 0 / 0.4918 GB, free: 6.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002269/0.1877, allocations: 139.8 kB / 0.4919 GB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.1896, allocations: 431.4 kB / 0.4923 GB, free: 5.496 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002753/0.1924, allocations: 1.808 MB / 0.4941 GB, free: 3.633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005583/0.1929, allocations: 0.9895 MB / 0.495 GB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.1932, allocations: 91.42 kB / 0.4951 GB, free: 2.523 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1932, allocations: 0 / 0.4951 GB, free: 2.523 MB / 382.1 MB Notification: Performance of Templates: time 0.02277/0.2159, allocations: 14.72 MB / 0.5095 GB, free: 3.84 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches