Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001762/0.001762, allocations: 123.9 kB / 18.45 MB, free: 4.461 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002358/0.002359, allocations: 201.8 kB / 21.4 MB, free: 1.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 251.6 MB, free: 72 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2539/0.2539, allocations: 46.16 MB / 351.1 MB, free: 14.27 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|mixingVolume1.medium.T|mixingVolume2.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002223/0.002223, allocations: 77.8 kB / 490.2 MB, free: 27.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1354, allocations: 62.44 MB / 0.5397 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01972/0.1552, allocations: 17.75 MB / 0.557 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009967/0.1652, allocations: 7.011 MB / 0.5639 GB, free: 11.38 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009957/0.1662, allocations: 27.81 kB / 0.5639 GB, free: 11.35 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.1674, allocations: 377.6 kB / 0.5642 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.1695, allocations: 0.6683 MB / 0.5649 GB, free: 10.3 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004332/0.1738, allocations: 1.339 MB / 0.5662 GB, free: 8.977 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003469/0.1773, allocations: 2.509 MB / 0.5686 GB, free: 6.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.1784, allocations: 0.6779 MB / 0.5693 GB, free: 5.766 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002117/0.1805, allocations: 1.036 MB / 0.5703 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.1818, allocations: 0.7551 MB / 0.5711 GB, free: 3.969 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001935/0.182, allocations: 88 kB / 0.5711 GB, free: 3.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.1836, allocations: 0.5656 MB / 0.5717 GB, free: 3.316 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.1841, allocations: 371 kB / 0.5721 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007194/0.1848, allocations: 0.5173 MB / 0.5726 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002563/0.1874, allocations: 1.616 MB / 0.5741 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1874, allocations: 4 kB / 0.5741 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1874, allocations: 0 / 0.5741 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.1874, allocations: 0 / 0.5741 GB, free: 0.8086 MB / 430.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.002544/0.19, allocations: 1.312 MB / 0.5754 GB, free: 15.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.19, allocations: 12.03 kB / 0.5754 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004863/0.1905, allocations: 124.3 kB / 0.5755 GB, free: 15.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009983/0.1915, allocations: 0.6149 MB / 0.5761 GB, free: 14.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002227/0.1917, allocations: 260.7 kB / 0.5764 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.1919, allocations: 84.08 kB / 0.5765 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.1939, allocations: 1.305 MB / 0.5778 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.1939, allocations: 3.938 kB / 0.5778 GB, free: 12.84 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.194, allocations: 40 kB / 0.5778 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/0.1941, allocations: 33.31 kB / 0.5778 GB, free: 12.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.1956, allocations: 0.9727 MB / 0.5788 GB, free: 11.79 MB / 446.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.007672/0.2033, allocations: 7.09 MB / 0.5857 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005627/0.2039, allocations: 312.3 kB / 0.586 GB, free: 3.922 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.2042, allocations: 170.8 kB / 0.5862 GB, free: 3.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002787/0.207, allocations: 2.819 MB / 0.5889 GB, free: 440 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.2071, allocations: 38.8 kB / 0.589 GB, free: 392 kB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.834e-06/0.2071, allocations: 0 / 0.589 GB, free: 392 kB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002337/0.2094, allocations: 1.126 MB / 0.5901 GB, free: 15.21 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.2095, allocations: 55.41 kB / 0.5901 GB, free: 15.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.2105, allocations: 0.8798 MB / 0.591 GB, free: 14.25 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.2106, allocations: 37.7 kB / 0.591 GB, free: 14.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004542/0.211, allocations: 0.5883 MB / 0.5916 GB, free: 13.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.2112, allocations: 138.9 kB / 0.5917 GB, free: 13.47 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002869/0.2114, allocations: 242.7 kB / 0.5919 GB, free: 13.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.2117, allocations: 402.7 kB / 0.5923 GB, free: 12.83 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004073/0.2121, allocations: 246.5 kB / 0.5926 GB, free: 12.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009874/0.2131, allocations: 0.9622 MB / 0.5935 GB, free: 11.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00153/0.2146, allocations: 1.316 MB / 0.5948 GB, free: 9.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.2146, allocations: 11.94 kB / 0.5948 GB, free: 9.578 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00183/0.2165, allocations: 1.211 MB / 0.596 GB, free: 8.359 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.2165, allocations: 22.17 kB / 0.596 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/0.2165, allocations: 28.84 kB / 0.596 GB, free: 8.312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.335e-05/0.2166, allocations: 32 kB / 0.5961 GB, free: 8.281 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/0.2174, allocations: 283.5 kB / 0.5963 GB, free: 8.004 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-05/0.2174, allocations: 51.84 kB / 0.5964 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/0.2182, allocations: 51.94 kB / 0.5964 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.2183, allocations: 79.98 kB / 0.5965 GB, free: 7.824 MB / 462.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.0005025/0.2188, allocations: 337 kB / 0.5968 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.219, allocations: 91.44 kB / 0.5969 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008828/0.2199, allocations: 487.5 kB / 0.5974 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.2199, allocations: 0 / 0.5974 GB, free: 6.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2199, allocations: 4 kB / 0.5974 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.2199, allocations: 0 / 0.5974 GB, free: 6.906 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001805/0.2217, allocations: 1.243 MB / 0.5986 GB, free: 5.551 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.2218, allocations: 7.938 kB / 0.5986 GB, free: 5.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.222, allocations: 67.91 kB / 0.5987 GB, free: 5.477 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.2221, allocations: 4 kB / 0.5987 GB, free: 5.473 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.2221, allocations: 11.98 kB / 0.5987 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/0.2221, allocations: 8.172 kB / 0.5987 GB, free: 5.453 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2221, allocations: 4 kB / 0.5987 GB, free: 5.449 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00095/0.2231, allocations: 0.6451 MB / 0.5993 GB, free: 4.77 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000288/0.2234, allocations: 208.4 kB / 0.5995 GB, free: 4.547 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.2235, allocations: 12 kB / 0.5995 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.2239, allocations: 15.98 kB / 0.5995 GB, free: 4.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.2239, allocations: 23.97 kB / 0.5996 GB, free: 4.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.224, allocations: 23.98 kB / 0.5996 GB, free: 4.473 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007781/0.2248, allocations: 0.593 MB / 0.6002 GB, free: 3.867 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.2248, allocations: 8 kB / 0.6002 GB, free: 3.859 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001136/0.2259, allocations: 303.6 kB / 0.6005 GB, free: 3.562 MB / 462.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.0007112/0.2266, allocations: 329.8 kB / 0.6008 GB, free: 3.238 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.2277, allocations: 0.6384 MB / 0.6014 GB, free: 2.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.2277, allocations: 4.062 kB / 0.6014 GB, free: 2.602 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.2279, allocations: 149 kB / 0.6016 GB, free: 2.457 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001837/0.2298, allocations: 422.5 kB / 0.602 GB, free: 2.055 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.232, allocations: 1.496 MB / 0.6034 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2752/0.5072, allocations: 0.9972 MB / 0.6044 GB, free: 61.23 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00119/0.5085, allocations: 313 kB / 0.6047 GB, free: 61.22 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.5087, allocations: 80.09 kB / 0.6048 GB, free: 61.21 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.5087, allocations: 0 / 0.6048 GB, free: 61.21 MB / 462.1 MB Notification: Performance of Templates: time 0.03595/0.5446, allocations: 16.24 MB / 0.6206 GB, free: 56.54 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.88280757330358]