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.001965/0.001965, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.002684/0.002684, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.643/1.643, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2686/0.2686, allocations: 46.93 MB / 357.1 MB, free: 10.33 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.002118/0.002118, allocations: 71.89 kB / 0.4914 GB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1264, allocations: 65.99 MB / 0.5558 GB, free: 5.391 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02094/0.1473, allocations: 17.88 MB / 0.5733 GB, free: 3.438 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.1576, allocations: 7.03 MB / 0.5802 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009092/0.1585, allocations: 31.75 kB / 0.5802 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.1597, allocations: 385.6 kB / 0.5806 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001818/0.1615, allocations: 0.6956 MB / 0.5812 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003628/0.1652, allocations: 1.304 MB / 0.5825 GB, free: 9.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003547/0.1687, allocations: 2.509 MB / 0.585 GB, free: 7.465 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.17, allocations: 0.6038 MB / 0.5856 GB, free: 6.844 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00252/0.1725, allocations: 1.063 MB / 0.5866 GB, free: 5.777 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001505/0.174, allocations: 0.794 MB / 0.5874 GB, free: 4.98 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002016/0.1742, allocations: 84 kB / 0.5875 GB, free: 4.898 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.1758, allocations: 0.5967 MB / 0.588 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004549/0.1763, allocations: 386.8 kB / 0.5884 GB, free: 3.922 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007228/0.177, allocations: 0.5134 MB / 0.5889 GB, free: 3.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002627/0.1796, allocations: 1.612 MB / 0.5905 GB, free: 1.789 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1796, allocations: 4 kB / 0.5905 GB, free: 1.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1796, allocations: 0 / 0.5905 GB, free: 1.785 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.1797, allocations: 0 / 0.5905 GB, free: 1.785 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.002847/0.1825, allocations: 1.312 MB / 0.5918 GB, free: 428 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.1826, allocations: 8.031 kB / 0.5918 GB, free: 420 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005552/0.1831, allocations: 128.3 kB / 0.5919 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.303/0.4861, allocations: 0.613 MB / 0.5925 GB, free: 37.24 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.4863, allocations: 249.7 kB / 0.5927 GB, free: 37.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.4864, allocations: 83.11 kB / 0.5928 GB, free: 37.05 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.4885, allocations: 1.297 MB / 0.5941 GB, free: 36.66 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.4885, allocations: 7.469 kB / 0.5941 GB, free: 36.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/0.4886, allocations: 36.7 kB / 0.5941 GB, free: 36.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.601e-05/0.4887, allocations: 48.25 kB / 0.5942 GB, free: 36.65 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.4903, allocations: 0.9624 MB / 0.5951 GB, free: 36.61 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.006463/0.4968, allocations: 7.068 MB / 0.602 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/0.4974, allocations: 301.2 kB / 0.6023 GB, free: 30.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003042/0.4977, allocations: 153.9 kB / 0.6024 GB, free: 30.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002132/0.4999, allocations: 2.822 MB / 0.6052 GB, free: 27.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.4999, allocations: 42.78 kB / 0.6052 GB, free: 27.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=28): time 1.814e-06/0.4999, allocations: 0.75 kB / 0.6052 GB, free: 27.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002412/0.5023, allocations: 1.123 MB / 0.6063 GB, free: 27.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.5023, allocations: 56.81 kB / 0.6064 GB, free: 27.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001176/0.5035, allocations: 0.8747 MB / 0.6072 GB, free: 26.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.5035, allocations: 36.86 kB / 0.6073 GB, free: 26.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.5039, allocations: 0.5932 MB / 0.6079 GB, free: 26.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.504, allocations: 138.5 kB / 0.608 GB, free: 26.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003035/0.5043, allocations: 238.4 kB / 0.6082 GB, free: 26.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.5044, allocations: 395 kB / 0.6086 GB, free: 25.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004428/0.5048, allocations: 246.3 kB / 0.6088 GB, free: 25.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007175/0.5056, allocations: 0.9627 MB / 0.6098 GB, free: 24.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001275/0.5068, allocations: 1.324 MB / 0.6111 GB, free: 23.37 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.5068, allocations: 6.562 kB / 0.6111 GB, free: 23.37 MB / 446.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001958/0.5088, allocations: 1.215 MB / 0.6123 GB, free: 22.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.634e-05/0.5088, allocations: 20.7 kB / 0.6123 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/0.5089, allocations: 30.19 kB / 0.6123 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.217e-05/0.5089, allocations: 33.91 kB / 0.6123 GB, free: 22.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008717/0.5098, allocations: 281.8 kB / 0.6126 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.682e-05/0.5098, allocations: 52.08 kB / 0.6127 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008427/0.5107, allocations: 51.11 kB / 0.6127 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.5108, allocations: 76.58 kB / 0.6128 GB, free: 22.79 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.0005804/0.5114, allocations: 332 kB / 0.6131 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002425/0.5117, allocations: 98.97 kB / 0.6132 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009935/0.5127, allocations: 482.9 kB / 0.6136 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.5127, allocations: 5.141 kB / 0.6137 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5127, allocations: 0 / 0.6137 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.5127, allocations: 1.781 kB / 0.6137 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001872/0.5146, allocations: 1.243 MB / 0.6149 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5146, allocations: 3.594 kB / 0.6149 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003342/0.5149, allocations: 71.98 kB / 0.6149 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.5149, allocations: 6.875 kB / 0.6149 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.5149, allocations: 9.453 kB / 0.615 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.5149, allocations: 3.391 kB / 0.615 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.5149, allocations: 6.688 kB / 0.615 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000973/0.5159, allocations: 0.6528 MB / 0.6156 GB, free: 21.08 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003314/0.5162, allocations: 209.5 kB / 0.6158 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.5164, allocations: 8.875 kB / 0.6158 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003994/0.5168, allocations: 13.09 kB / 0.6158 GB, free: 20.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.56e-05/0.5168, allocations: 30.09 kB / 0.6159 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.5169, allocations: 29.47 kB / 0.6159 GB, free: 20.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009433/0.5178, allocations: 0.5949 MB / 0.6165 GB, free: 20.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5178, allocations: 0 / 0.6165 GB, free: 20.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001616/0.5194, allocations: 299.9 kB / 0.6167 GB, free: 20.58 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.0007232/0.5202, allocations: 304.5 kB / 0.617 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.5216, allocations: 0.6098 MB / 0.6176 GB, free: 20.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5216, allocations: 5.719 kB / 0.6176 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.5219, allocations: 135.8 kB / 0.6178 GB, free: 20.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/0.524, allocations: 429.6 kB / 0.6182 GB, free: 20.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002489/0.5265, allocations: 1.496 MB / 0.6196 GB, free: 19.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.5272, allocations: 1.004 MB / 0.6206 GB, free: 18.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001117/0.5283, allocations: 310.6 kB / 0.6209 GB, free: 18.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.5285, allocations: 72.42 kB / 0.621 GB, free: 18.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.313e-06/0.5285, allocations: 0 / 0.621 GB, free: 18.46 MB / 446.1 MB Notification: Performance of Templates: time 0.02767/0.5561, allocations: 16.26 MB / 0.6369 GB, free: 7.664 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/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: 6.1240352392196655]