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.001135/0.001135, allocations: 106.4 kB / 17.03 MB, free: 5.703 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.001183/0.001183, allocations: 194.9 kB / 17.96 MB, free: 5.082 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.378/1.378, 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.2079/0.2079, allocations: 43.52 MB / 314.7 MB, free: 480 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.002502/0.002503, allocations: 75.8 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1248, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01588/0.1407, allocations: 17.61 MB / 459.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008483/0.1493, allocations: 7.003 MB / 466.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007705/0.1501, allocations: 19.88 kB / 466.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009755/0.1511, allocations: 373.6 kB / 467 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.1525, allocations: 0.6683 MB / 467.6 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003309/0.1558, allocations: 1.327 MB / 469 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.1583, allocations: 2.513 MB / 471.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008061/0.1592, allocations: 0.6754 MB / 472.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.1607, allocations: 1.039 MB / 473.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009012/0.1616, allocations: 0.7551 MB / 473.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.1617, allocations: 84 kB / 474 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.1629, allocations: 0.5343 MB / 474.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003476/0.1632, allocations: 367.1 kB / 474.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005257/0.1638, allocations: 0.5173 MB / 475.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.1654, allocations: 1.542 MB / 477 MB, free: 2.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.1654, allocations: 0 / 477 MB, free: 2.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1654, allocations: 4 kB / 477 MB, free: 2.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.1654, allocations: 0 / 477 MB, free: 2.992 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.002225/0.1677, allocations: 1.283 MB / 478.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.1677, allocations: 16.03 kB / 478.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004451/0.1682, allocations: 119.8 kB / 478.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/0.1692, allocations: 0.6106 MB / 479 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.1694, allocations: 248.8 kB / 479.2 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.1695, allocations: 84.34 kB / 479.3 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.1713, allocations: 1.301 MB / 480.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.1714, allocations: 3.938 kB / 480.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.897e-05/0.1715, allocations: 43.91 kB / 480.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.704e-05/0.1715, allocations: 45.3 kB / 480.7 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.1731, 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.006934/0.18, allocations: 7.082 MB / 488.8 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000558/0.1806, allocations: 324 kB / 489.1 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.1809, allocations: 169.4 kB / 489.2 MB, free: 5.984 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002713/0.1836, allocations: 2.822 MB / 492.1 MB, free: 2.656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.1837, allocations: 38.78 kB / 492.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/0.1837, allocations: 8 kB / 492.1 MB, free: 2.602 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.00249/0.1862, allocations: 1.105 MB / 493.2 MB, free: 1.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.1862, allocations: 55.41 kB / 493.3 MB, free: 1.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.1875, allocations: 0.8641 MB / 494.1 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.208e-05/0.1876, allocations: 33.7 kB / 494.2 MB, free: 476 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004763/0.188, allocations: 0.5744 MB / 494.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.1882, allocations: 138.2 kB / 494.9 MB, free: 15.74 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000286/0.1885, allocations: 238.5 kB / 495.1 MB, free: 15.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.1887, allocations: 402.9 kB / 495.5 MB, free: 15.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004174/0.1891, allocations: 246.5 kB / 495.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001327/0.1904, allocations: 0.9699 MB / 496.7 MB, free: 13.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.1926, allocations: 1.319 MB / 498 MB, free: 11.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.424e-05/0.1926, allocations: 4 kB / 498 MB, free: 11.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002757/0.1954, allocations: 1.208 MB / 499.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.858e-05/0.1954, allocations: 16 kB / 499.3 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.651e-05/0.1955, allocations: 31.94 kB / 499.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.402e-05/0.1956, allocations: 36 kB / 499.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.1968, allocations: 271.5 kB / 499.6 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.816e-05/0.1969, allocations: 51.8 kB / 499.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.1979, allocations: 51.98 kB / 499.7 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.1981, allocations: 76 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.0005809/0.1987, allocations: 341.1 kB / 0.4884 GB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.1989, allocations: 86.97 kB / 0.4885 GB, free: 9.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.2002, allocations: 479.1 kB / 0.4889 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.2002, allocations: 8 kB / 0.4889 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2002, allocations: 3.938 kB / 0.4889 GB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.2002, allocations: 3.984 kB / 0.4889 GB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002448/0.2027, allocations: 1.228 MB / 0.4901 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.2027, allocations: 8.031 kB / 0.4901 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004777/0.2032, allocations: 71.84 kB / 0.4902 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/0.2032, allocations: 4 kB / 0.4902 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.652e-05/0.2033, allocations: 8 kB / 0.4902 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.348e-05/0.2033, allocations: 11.92 kB / 0.4902 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2033, allocations: 0 / 0.4902 GB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.2048, allocations: 0.6484 MB / 0.4909 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004617/0.2053, allocations: 207.9 kB / 0.4911 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.2055, allocations: 15.98 kB / 0.4911 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/0.2061, allocations: 12 kB / 0.4911 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.745e-05/0.2061, allocations: 28.03 kB / 0.4911 GB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.217e-05/0.2062, allocations: 27.97 kB / 0.4911 GB, free: 6.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001194/0.2074, allocations: 0.593 MB / 0.4917 GB, free: 6.145 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.2075, allocations: 0 / 0.4917 GB, free: 6.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001957/0.2094, allocations: 295.9 kB / 0.492 GB, free: 5.855 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.0009011/0.2103, allocations: 330.4 kB / 0.4923 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001621/0.212, allocations: 0.6346 MB / 0.4929 GB, free: 4.902 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.212, allocations: 4 kB / 0.4929 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/0.2124, allocations: 150.5 kB / 0.4931 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/0.2152, allocations: 419.7 kB / 0.4935 GB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003188/0.2184, 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.0008112/0.2192, allocations: 0.9934 MB / 0.4959 GB, free: 1.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001339/0.2206, allocations: 315.2 kB / 0.4962 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.2208, allocations: 71.44 kB / 0.4963 GB, free: 1.418 MB / 382.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2208, allocations: 3.938 kB / 0.4963 GB, free: 1.414 MB / 382.1 MB Notification: Performance of Templates: time 0.04051/0.2613, allocations: 15.89 MB / 0.5118 GB, free: 1.57 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 cvode -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