Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001688/0.001688, allocations: 113.8 kB / 19.18 MB, free: 3.762 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.002037/0.002037, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.544/1.544, allocations: 230.2 MB / 255.1 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2478/0.2478, allocations: 46.89 MB / 358.1 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00224/0.00224, allocations: 75.88 kB / 0.4924 GB, free: 8.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.146, allocations: 65.98 MB / 0.5568 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02054/0.1665, allocations: 17.87 MB / 0.5742 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01197/0.1785, allocations: 7.05 MB / 0.5811 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.1796, allocations: 19.88 kB / 0.5811 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.1809, allocations: 385.6 kB / 0.5815 GB, free: 12.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.1828, allocations: 0.6917 MB / 0.5822 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.1867, allocations: 1.33 MB / 0.5835 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003637/0.1903, allocations: 2.513 MB / 0.5859 GB, free: 7.961 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.1914, allocations: 0.6154 MB / 0.5865 GB, free: 7.328 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002249/0.1937, allocations: 1.047 MB / 0.5876 GB, free: 6.277 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00136/0.195, allocations: 0.7941 MB / 0.5883 GB, free: 5.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.1952, allocations: 88 kB / 0.5884 GB, free: 5.395 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.1969, allocations: 0.6006 MB / 0.589 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004431/0.1973, allocations: 386.8 kB / 0.5894 GB, free: 4.414 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006727/0.198, allocations: 0.5095 MB / 0.5899 GB, free: 3.902 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002468/0.2005, allocations: 1.627 MB / 0.5915 GB, free: 2.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2005, allocations: 0 / 0.5915 GB, free: 2.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2005, allocations: 0 / 0.5915 GB, free: 2.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.2005, allocations: 4 kB / 0.5915 GB, free: 2.266 MB / 446.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.002605/0.2031, allocations: 1.312 MB / 0.5928 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2031, allocations: 8.031 kB / 0.5928 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/0.2036, allocations: 124.3 kB / 0.5929 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.2047, allocations: 0.6149 MB / 0.5935 GB, free: 116 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3062/0.5109, allocations: 247.2 kB / 0.5937 GB, free: 37.87 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003919/0.5113, allocations: 83.48 kB / 0.5938 GB, free: 37.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/0.5139, allocations: 1.297 MB / 0.5951 GB, free: 37.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/0.5139, allocations: 10.12 kB / 0.5951 GB, free: 37.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.5141, allocations: 41.34 kB / 0.5951 GB, free: 37.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.88e-05/0.5142, allocations: 41.11 kB / 0.5952 GB, free: 37.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.5163, allocations: 0.9678 MB / 0.5961 GB, free: 37.45 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.008031/0.5243, allocations: 7.081 MB / 0.603 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/0.525, allocations: 298.6 kB / 0.6033 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003103/0.5253, allocations: 158.6 kB / 0.6034 GB, free: 31.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002315/0.5276, allocations: 2.829 MB / 0.6062 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.5276, allocations: 41.3 kB / 0.6063 GB, free: 28.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.5276, allocations: 0 / 0.6063 GB, free: 28.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002428/0.5301, allocations: 1.121 MB / 0.6073 GB, free: 28.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.5301, allocations: 59.12 kB / 0.6074 GB, free: 28.06 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.5313, allocations: 0.875 MB / 0.6083 GB, free: 27.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.972e-05/0.5314, allocations: 33.08 kB / 0.6083 GB, free: 27.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/0.5317, allocations: 0.5956 MB / 0.6089 GB, free: 27.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.443e-05/0.5318, allocations: 139.3 kB / 0.609 GB, free: 27.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002921/0.5321, allocations: 244.3 kB / 0.6092 GB, free: 26.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5323, allocations: 394.1 kB / 0.6096 GB, free: 26.6 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000475/0.5327, allocations: 242.3 kB / 0.6098 GB, free: 26.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/0.5335, allocations: 0.9634 MB / 0.6108 GB, free: 25.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/0.5348, allocations: 1.328 MB / 0.6121 GB, free: 24.21 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.5348, allocations: 6.938 kB / 0.6121 GB, free: 24.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002002/0.5368, allocations: 1.213 MB / 0.6133 GB, free: 23.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.173e-05/0.5369, allocations: 16.98 kB / 0.6133 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/0.5369, allocations: 29.72 kB / 0.6133 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-05/0.5369, allocations: 36.09 kB / 0.6133 GB, free: 23.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008833/0.5378, allocations: 277.8 kB / 0.6136 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.54e-05/0.5379, allocations: 52.97 kB / 0.6137 GB, free: 23.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009482/0.5389, allocations: 52.3 kB / 0.6137 GB, free: 23.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/0.5391, allocations: 73.11 kB / 0.6138 GB, free: 23.64 MB / 446.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.0006474/0.5397, allocations: 335.2 kB / 0.6141 GB, free: 23.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.5399, allocations: 96.56 kB / 0.6142 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009561/0.5408, allocations: 475.4 kB / 0.6146 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.5408, allocations: 7.594 kB / 0.6147 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.5408, allocations: 0 / 0.6147 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.306e-06/0.5409, allocations: 6.234 kB / 0.6147 GB, free: 23.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.5428, allocations: 1.247 MB / 0.6159 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5428, allocations: 1.562 kB / 0.6159 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.5431, allocations: 69.56 kB / 0.6159 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.5431, allocations: 8.547 kB / 0.616 GB, free: 22.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.5431, allocations: 13.92 kB / 0.616 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.5431, allocations: 10.75 kB / 0.616 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-06/0.5431, allocations: 3.094 kB / 0.616 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.5441, allocations: 0.6576 MB / 0.6166 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.5444, allocations: 205.5 kB / 0.6168 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.347e-05/0.5445, allocations: 8.406 kB / 0.6168 GB, free: 21.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.5449, allocations: 19.61 kB / 0.6168 GB, free: 21.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.156e-05/0.5449, allocations: 27.23 kB / 0.6169 GB, free: 21.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.545, allocations: 32.53 kB / 0.6169 GB, free: 21.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007942/0.5458, allocations: 0.5951 MB / 0.6175 GB, free: 21.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5458, allocations: 0 / 0.6175 GB, free: 21.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00133/0.5471, allocations: 303.4 kB / 0.6178 GB, free: 21.42 MB / 446.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.0006748/0.5478, allocations: 321.1 kB / 0.6181 GB, free: 21.27 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.5489, allocations: 0.6051 MB / 0.6187 GB, free: 21.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.5489, allocations: 1.344 kB / 0.6187 GB, free: 21.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.5492, allocations: 139 kB / 0.6188 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001937/0.5511, allocations: 437.2 kB / 0.6192 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002417/0.5535, allocations: 1.546 MB / 0.6207 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005197/0.5541, allocations: 0.994 MB / 0.6217 GB, free: 19.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.5543, allocations: 84.41 kB / 0.6218 GB, free: 19.31 MB / 446.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5543, allocations: 0 / 0.6218 GB, free: 19.31 MB / 446.1 MB Notification: Performance of Templates: time 0.02406/0.5783, allocations: 14.93 MB / 0.6364 GB, free: 10.07 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 10.786719525931403]