Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 112.5 kB / 18.45 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 215.2 kB / 21.42 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 254.8 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2301/0.2301, allocations: 46.92 MB / 357.8 MB, free: 10.29 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.91 kB / 0.4921 GB, free: 7.449 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1609, allocations: 65.99 MB / 0.5565 GB, free: 5.328 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02242/0.1833, allocations: 17.87 MB / 0.574 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.1944, allocations: 7.03 MB / 0.5808 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.1956, allocations: 31.75 kB / 0.5809 GB, free: 12.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.197, allocations: 385.5 kB / 0.5812 GB, free: 11.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.1989, allocations: 0.6917 MB / 0.5819 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.2028, allocations: 1.308 MB / 0.5832 GB, free: 9.922 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004031/0.2069, allocations: 2.513 MB / 0.5856 GB, free: 7.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.2081, allocations: 0.6037 MB / 0.5862 GB, free: 6.781 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002471/0.2105, allocations: 1.059 MB / 0.5873 GB, free: 5.719 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001415/0.2119, allocations: 0.7979 MB / 0.588 GB, free: 4.918 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001792/0.2121, allocations: 84 kB / 0.5881 GB, free: 4.836 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.2136, allocations: 0.5928 MB / 0.5887 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004123/0.214, allocations: 386.8 kB / 0.5891 GB, free: 3.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006614/0.2147, allocations: 0.5095 MB / 0.5896 GB, free: 3.352 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.217, allocations: 1.627 MB / 0.5912 GB, free: 1.719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.217, allocations: 0 / 0.5912 GB, free: 1.719 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.217, allocations: 0 / 0.5912 GB, free: 1.719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.217, allocations: 0 / 0.5912 GB, free: 1.719 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.002744/0.2198, allocations: 1.309 MB / 0.5924 GB, free: 364 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.2198, allocations: 8.031 kB / 0.5924 GB, free: 356 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005112/0.2204, allocations: 132.3 kB / 0.5926 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2689/0.4893, allocations: 0.6055 MB / 0.5932 GB, free: 37.21 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.4894, allocations: 250 kB / 0.5934 GB, free: 37.02 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.4896, allocations: 78.56 kB / 0.5935 GB, free: 37.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/0.4917, allocations: 1.299 MB / 0.5947 GB, free: 36.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.618e-05/0.4918, allocations: 7.188 kB / 0.5947 GB, free: 36.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.4919, allocations: 36.72 kB / 0.5948 GB, free: 36.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.584e-05/0.492, allocations: 51.05 kB / 0.5948 GB, free: 36.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.4937, allocations: 0.9627 MB / 0.5958 GB, free: 36.58 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.006726/0.5005, allocations: 7.065 MB / 0.6027 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.5011, allocations: 303.5 kB / 0.603 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.5014, allocations: 157.9 kB / 0.6031 GB, free: 30.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002321/0.5037, allocations: 2.824 MB / 0.6059 GB, free: 27.92 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.5038, allocations: 42.02 kB / 0.6059 GB, free: 27.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/0.5038, allocations: 0 / 0.6059 GB, free: 27.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002413/0.5062, allocations: 1.119 MB / 0.607 GB, free: 27.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.5062, allocations: 55.69 kB / 0.6071 GB, free: 27.19 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.5074, allocations: 0.8712 MB / 0.6079 GB, free: 26.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.5074, allocations: 36.7 kB / 0.6079 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.5078, allocations: 0.5959 MB / 0.6085 GB, free: 26.31 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.981e-05/0.5079, allocations: 145 kB / 0.6087 GB, free: 26.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002907/0.5082, allocations: 238.3 kB / 0.6089 GB, free: 26.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5083, allocations: 394.1 kB / 0.6093 GB, free: 25.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.5088, allocations: 246 kB / 0.6095 GB, free: 25.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008133/0.5096, allocations: 0.96 MB / 0.6104 GB, free: 24.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.5109, allocations: 1.331 MB / 0.6117 GB, free: 23.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.511, allocations: 8.344 kB / 0.6117 GB, free: 23.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002078/0.513, allocations: 1.211 MB / 0.6129 GB, free: 22.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.907e-05/0.5131, allocations: 17.66 kB / 0.6129 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.824e-05/0.5131, allocations: 27.09 kB / 0.613 GB, free: 22.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.846e-05/0.5132, allocations: 37.09 kB / 0.613 GB, free: 22.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009927/0.5142, allocations: 274.9 kB / 0.6133 GB, free: 22.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-05/0.5143, allocations: 50.95 kB / 0.6133 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008603/0.5151, allocations: 51.53 kB / 0.6134 GB, free: 22.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.5152, allocations: 72.41 kB / 0.6134 GB, free: 22.77 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.0004754/0.5157, allocations: 334.3 kB / 0.6137 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.5159, allocations: 104.7 kB / 0.6138 GB, free: 22.49 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009478/0.5168, allocations: 486.2 kB / 0.6143 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.5169, allocations: 4.172 kB / 0.6143 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.5169, allocations: 0.875 kB / 0.6143 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.5169, allocations: 3.984 kB / 0.6143 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0018/0.5187, allocations: 1.241 MB / 0.6155 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.5187, allocations: 1.438 kB / 0.6155 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002923/0.519, allocations: 69.34 kB / 0.6156 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.637e-06/0.519, allocations: 4.141 kB / 0.6156 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.519, allocations: 15.75 kB / 0.6156 GB, free: 21.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-06/0.519, allocations: 7.875 kB / 0.6156 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.519, allocations: 6.062 kB / 0.6156 GB, free: 21.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009829/0.52, allocations: 0.6543 MB / 0.6163 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.5203, allocations: 200.5 kB / 0.6165 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.5204, allocations: 12.34 kB / 0.6165 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.5207, allocations: 17 kB / 0.6165 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.5208, allocations: 26.45 kB / 0.6165 GB, free: 20.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/0.5208, allocations: 25.09 kB / 0.6165 GB, free: 20.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008166/0.5217, allocations: 0.598 MB / 0.6171 GB, free: 20.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5217, allocations: 0 / 0.6171 GB, free: 20.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001454/0.5231, allocations: 304.1 kB / 0.6174 GB, free: 20.56 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.0005675/0.5237, allocations: 302.1 kB / 0.6177 GB, free: 20.42 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.5249, allocations: 0.6144 MB / 0.6183 GB, free: 20.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.5249, allocations: 1.531 kB / 0.6183 GB, free: 20.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.5251, allocations: 140.5 kB / 0.6184 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.5271, allocations: 429.5 kB / 0.6188 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.5296, allocations: 1.55 MB / 0.6204 GB, free: 19.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005485/0.5301, allocations: 0.9914 MB / 0.6213 GB, free: 18.46 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.5303, allocations: 86.73 kB / 0.6214 GB, free: 18.45 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5303, allocations: 1.062 kB / 0.6214 GB, free: 18.45 MB / 446.1 MB Notification: Performance of Templates: time 0.02632/0.5567, allocations: 14.86 MB / 0.6359 GB, free: 9.172 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.408160350983962]