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.001935/0.001935, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.002406/0.002406, allocations: 211.1 kB / 23.73 MB, free: 4.523 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.449/1.449, allocations: 230.6 MB / 257.5 MB, free: 7.793 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.2276/0.2276, allocations: 46.96 MB / 360.9 MB, free: 4.031 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.002107/0.002107, allocations: 63.91 kB / 0.4966 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3555, allocations: 66.05 MB / 0.5611 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.03502/0.3905, allocations: 16.3 MB / 0.577 GB, free: 3.812 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01821/0.4087, allocations: 6.505 MB / 0.5834 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.4099, allocations: 27.75 kB / 0.5834 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001987/0.4119, allocations: 365.6 kB / 0.5837 GB, free: 12.89 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003322/0.4152, allocations: 0.6995 MB / 0.5844 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006945/0.4222, allocations: 1.353 MB / 0.5857 GB, free: 10.85 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005967/0.4282, allocations: 2.56 MB / 0.5882 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.4299, allocations: 0.5613 MB / 0.5888 GB, free: 7.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003867/0.4337, allocations: 1.075 MB / 0.5898 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.4361, allocations: 0.8018 MB / 0.5906 GB, free: 5.828 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004193/0.4366, allocations: 92 kB / 0.5907 GB, free: 5.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.4391, allocations: 487.2 kB / 0.5912 GB, free: 5.262 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.4401, allocations: 386.9 kB / 0.5915 GB, free: 4.883 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.4415, allocations: 446.2 kB / 0.592 GB, free: 4.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004374/0.4458, allocations: 1.584 MB / 0.5935 GB, free: 2.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4458, allocations: 0 / 0.5935 GB, free: 2.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.4459, allocations: 0 / 0.5935 GB, free: 2.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.136e-05/0.4459, allocations: 0 / 0.5935 GB, free: 2.859 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.005474/0.4514, allocations: 1.237 MB / 0.5947 GB, free: 1.586 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.4514, allocations: 8.031 kB / 0.5947 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.4525, allocations: 128.3 kB / 0.5948 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002445/0.455, allocations: 0.5454 MB / 0.5954 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006026/0.4556, allocations: 407 kB / 0.5958 GB, free: 424 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000303/0.4559, allocations: 80.33 kB / 0.5958 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004599/0.4605, allocations: 1.711 MB / 0.5975 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/0.4605, allocations: 7.938 kB / 0.5975 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.4607, allocations: 36 kB / 0.5976 GB, free: 14.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/0.4608, allocations: 45.3 kB / 0.5976 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003392/0.4642, allocations: 0.9571 MB / 0.5985 GB, free: 13.35 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.01356/0.4778, allocations: 5.824 MB / 0.6042 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.4789, allocations: 292.6 kB / 0.6045 GB, free: 7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.4794, allocations: 157.4 kB / 0.6046 GB, free: 6.844 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003274/0.4827, allocations: 0.7822 MB / 0.6054 GB, free: 6.043 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.926e-05/0.4828, allocations: 46.67 kB / 0.6055 GB, free: 5.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 3.336e-06/0.4828, allocations: 0 / 0.6055 GB, free: 5.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.004709/0.4875, allocations: 1.03 MB / 0.6065 GB, free: 4.926 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.021e-05/0.4876, allocations: 55.41 kB / 0.6065 GB, free: 4.859 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.4896, allocations: 0.7966 MB / 0.6073 GB, free: 4.051 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.542e-05/0.4897, allocations: 29.7 kB / 0.6073 GB, free: 4.016 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009043/0.4906, allocations: 0.5997 MB / 0.6079 GB, free: 3.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/0.4908, allocations: 142.9 kB / 0.608 GB, free: 3.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005411/0.4914, allocations: 250.7 kB / 0.6083 GB, free: 3.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003575/0.4917, allocations: 386.7 kB / 0.6087 GB, free: 2.633 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000875/0.4926, allocations: 242.5 kB / 0.6089 GB, free: 2.395 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.4946, allocations: 0.9622 MB / 0.6098 GB, free: 1.074 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/0.4978, allocations: 1.319 MB / 0.6111 GB, free: 15.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.227e-05/0.4979, allocations: 8 kB / 0.6111 GB, free: 15.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003866/0.5017, allocations: 1.204 MB / 0.6123 GB, free: 14.17 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.5018, allocations: 16 kB / 0.6123 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.735e-05/0.5018, allocations: 28 kB / 0.6123 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.476e-05/0.5019, allocations: 35.98 kB / 0.6124 GB, free: 14.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/0.5036, allocations: 275.5 kB / 0.6126 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.375e-05/0.5037, allocations: 55.78 kB / 0.6127 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.505, allocations: 51.94 kB / 0.6127 GB, free: 13.72 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.5052, allocations: 72 kB / 0.6128 GB, free: 13.65 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.0008144/0.506, allocations: 341.8 kB / 0.6131 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002462/0.5063, allocations: 79.48 kB / 0.6132 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001691/0.508, allocations: 474.2 kB / 0.6137 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.592e-05/0.508, allocations: 4 kB / 0.6137 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.508, allocations: 8 kB / 0.6137 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.508, allocations: 7.922 kB / 0.6137 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003066/0.5111, allocations: 0.9405 MB / 0.6146 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5111, allocations: 0 / 0.6146 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/0.5117, allocations: 71.91 kB / 0.6147 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.5117, allocations: 0 / 0.6147 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.5117, allocations: 20.11 kB / 0.6147 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.5117, allocations: 7.938 kB / 0.6147 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.5117, allocations: 4 kB / 0.6147 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.5135, allocations: 0.6413 MB / 0.6153 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/0.514, allocations: 111.4 kB / 0.6154 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.5142, allocations: 11.94 kB / 0.6154 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006693/0.5149, allocations: 15.98 kB / 0.6155 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.5149, allocations: 23.95 kB / 0.6155 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-05/0.515, allocations: 23.98 kB / 0.6155 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001185/0.5162, allocations: 0.4912 MB / 0.616 GB, free: 10.29 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5162, allocations: 8 kB / 0.616 GB, free: 10.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002211/0.5184, allocations: 303.6 kB / 0.6163 GB, free: 9.984 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.0009356/0.5194, allocations: 310.4 kB / 0.6166 GB, free: 9.672 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.5215, allocations: 0.6104 MB / 0.6172 GB, free: 9.066 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5215, allocations: 0 / 0.6172 GB, free: 9.066 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00047/0.5219, allocations: 149.8 kB / 0.6173 GB, free: 8.922 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002706/0.5246, allocations: 297 kB / 0.6176 GB, free: 8.637 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00426/0.5289, allocations: 1.467 MB / 0.619 GB, free: 7.121 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008035/0.5297, allocations: 408.7 kB / 0.6194 GB, free: 6.695 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001546/0.5312, allocations: 290.2 kB / 0.6197 GB, free: 6.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.5315, allocations: 67.42 kB / 0.6198 GB, free: 6.348 MB / 462.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5315, allocations: 0 / 0.6198 GB, free: 6.348 MB / 462.1 MB Notification: Performance of Templates: time 0.04663/0.5781, allocations: 14.83 MB / 0.6342 GB, free: 7.809 MB / 478.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Vessels/TestMixingVolumes/TestMixingVolumes.csv","/var/lib/jenkins/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: 5.75838607409969]