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.0009327/0.0009327, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001749/0.001749, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.9843/0.9843, allocations: 177.1 MB / 205 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 179] 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.2576/0.2576, allocations: 34.25 MB / 295.7 MB, free: 0.7617 MB / 266.7 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 1.613e-06/1.613e-06, allocations: 0 / 378 MB, free: 2.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.826e-05, allocations: 13.62 kB / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01066/0.01069, allocations: 8.056 MB / 386.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005408/0.0161, allocations: 2.476 MB / 388.6 MB, free: 8.082 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007823/0.01688, allocations: 27.75 kB / 388.6 MB, free: 8.055 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008498/0.01773, allocations: 246.3 kB / 388.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001892/0.01962, allocations: 0.6794 MB / 389.5 MB, free: 7.129 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.02233, allocations: 1.005 MB / 390.5 MB, free: 6.121 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003237/0.02557, allocations: 2.485 MB / 393 MB, free: 3.629 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.02671, allocations: 0.6005 MB / 393.6 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/0.02918, allocations: 1.134 MB / 394.7 MB, free: 1.875 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.03044, allocations: 0.7323 MB / 395.5 MB, free: 1.141 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002399/0.03068, allocations: 92 kB / 395.6 MB, free: 1.051 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006901/0.03137, allocations: 223.6 kB / 395.8 MB, free: 0.832 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004192/0.03179, allocations: 402.9 kB / 396.2 MB, free: 448 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005883/0.03238, allocations: 387.2 kB / 396.5 MB, free: 60 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.03398, allocations: 1.02 MB / 397.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.03398, allocations: 0 / 397.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.03398, allocations: 4 kB / 397.6 MB, free: 15.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.034, allocations: 0 / 397.6 MB, free: 15.03 MB / 378.7 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.002189/0.03619, allocations: 1.291 MB / 398.9 MB, free: 13.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.03624, allocations: 12.03 kB / 398.9 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006276/0.03687, allocations: 224 kB / 399.1 MB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.03788, allocations: 0.5591 MB / 399.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002686/0.03815, allocations: 403 kB / 400 MB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.03831, allocations: 92.31 kB / 400.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001851/0.04016, allocations: 1.491 MB / 401.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.04019, allocations: 8.125 kB / 401.6 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.04027, allocations: 47.92 kB / 401.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.048e-05/0.04033, allocations: 37.3 kB / 401.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007201/0.04105, allocations: 475 kB / 402.2 MB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004183/0.04523, allocations: 7.252 MB / 409.4 MB, free: 2.457 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.04558, allocations: 189.2 kB / 409.6 MB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.04571, allocations: 96.22 kB / 409.7 MB, free: 2.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008255/0.04654, allocations: 0.7272 MB / 410.4 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.04657, allocations: 45.78 kB / 410.5 MB, free: 1.363 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.462e-06/0.04658, allocations: 3.938 kB / 410.5 MB, free: 1.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001289/0.04786, allocations: 0.8213 MB / 411.3 MB, free: 0.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.0479, allocations: 55.41 kB / 411.4 MB, free: 444 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.04848, allocations: 0.7759 MB / 412.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.04851, allocations: 33.7 kB / 412.2 MB, free: 15.6 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002951/0.0488, allocations: 0.6608 MB / 412.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.498e-05/0.04888, allocations: 138.9 kB / 413 MB, free: 14.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.04907, allocations: 256.4 kB / 413.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.04923, allocations: 0.5625 MB / 413.8 MB, free: 13.96 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.0494, allocations: 114.5 kB / 413.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.05001, allocations: 1.176 MB / 415.1 MB, free: 12.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009315/0.05095, allocations: 1.412 MB / 416.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.05095, allocations: 8 kB / 416.5 MB, free: 10.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00106/0.05201, allocations: 1.021 MB / 417.5 MB, free: 9.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.05204, allocations: 16 kB / 417.5 MB, free: 9.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.05206, allocations: 24 kB / 417.5 MB, free: 9.199 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.05209, allocations: 39.98 kB / 417.6 MB, free: 9.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/0.05254, allocations: 271.5 kB / 417.8 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-05/0.05257, allocations: 55.78 kB / 417.9 MB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.05288, allocations: 51.95 kB / 418 MB, free: 8.789 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.297e-05/0.05295, allocations: 72 kB / 418 MB, free: 8.719 MB / 394.7 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.0001846/0.05313, allocations: 268 kB / 418.3 MB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.775e-05/0.05322, allocations: 91.47 kB / 418.4 MB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.0537, allocations: 385.4 kB / 418.8 MB, free: 7.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.0537, allocations: 4 kB / 418.8 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.05371, allocations: 0 / 418.8 MB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.05371, allocations: 3.984 kB / 418.8 MB, free: 7.957 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008889/0.0546, allocations: 0.9123 MB / 419.7 MB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.05461, allocations: 0 / 419.7 MB, free: 6.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001605/0.05477, allocations: 71.89 kB / 419.7 MB, free: 6.906 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.05477, allocations: 4 kB / 419.7 MB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.05479, allocations: 8 kB / 419.8 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.05479, allocations: 4 kB / 419.8 MB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.05479, allocations: 8.125 kB / 419.8 MB, free: 6.883 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.05526, allocations: 0.5371 MB / 420.3 MB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.05538, allocations: 111.4 kB / 420.4 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.05544, allocations: 15.94 kB / 420.4 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.0556, allocations: 19.98 kB / 420.4 MB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.05563, allocations: 23.84 kB / 420.5 MB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.091e-05/0.05566, allocations: 27.97 kB / 420.5 MB, free: 6.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003188/0.05598, allocations: 434.9 kB / 420.9 MB, free: 5.688 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05598, allocations: 0 / 420.9 MB, free: 5.688 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005848/0.05657, allocations: 240 kB / 421.2 MB, free: 5.453 MB / 394.7 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.0002543/0.05682, allocations: 174.9 kB / 421.3 MB, free: 5.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005194/0.05734, allocations: 0.4964 MB / 421.8 MB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.05734, allocations: 4 kB / 421.8 MB, free: 4.773 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001203/0.05746, allocations: 108.6 kB / 421.9 MB, free: 4.664 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/0.05824, allocations: 314.8 kB / 422.2 MB, free: 4.371 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.05979, allocations: 1.283 MB / 423.5 MB, free: 3.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.05992, allocations: 199.3 kB / 423.7 MB, free: 2.809 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004477/0.06036, allocations: 270.6 kB / 424 MB, free: 2.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.899e-05/0.06045, allocations: 64.48 kB / 424 MB, free: 2.48 MB / 394.7 MB Notification: Performance of SimCode: time 6.52e-07/0.06045, allocations: 0 / 424 MB, free: 2.48 MB / 394.7 MB Notification: Performance of Templates: time 0.01349/0.07394, allocations: 11.51 MB / 435.6 MB, free: 7.23 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5209537940099835]