Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009742/0.0009742, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.000989/0.000989, allocations: 168.6 kB / 24.84 MB, free: 9.301 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.891/0.891, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1321/0.1321, allocations: 32.38 MB / 271.5 MB, free: 14.52 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 348.9 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.461e-05/2.571e-05, allocations: 5.406 kB / 348.9 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.005612/0.005638, allocations: 7.86 MB / 356.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003238/0.008876, allocations: 2.476 MB / 359.2 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004762/0.009353, allocations: 27.75 kB / 359.3 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.009927, allocations: 238.3 kB / 359.5 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00107/0.011, allocations: 0.6716 MB / 360.2 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.01266, allocations: 1.033 MB / 361.2 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002003/0.01467, allocations: 2.489 MB / 363.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007851/0.01545, allocations: 0.6005 MB / 364.3 MB, free: 9.703 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.01678, allocations: 1.146 MB / 365.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008694/0.01765, allocations: 0.7324 MB / 366.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.01778, allocations: 88 kB / 366.3 MB, free: 7.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004466/0.01822, allocations: 215.7 kB / 366.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.01849, allocations: 398.8 kB / 366.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.01881, allocations: 383.2 kB / 367.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000957/0.01977, allocations: 1.008 MB / 368.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.01977, allocations: 0 / 368.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.01978, allocations: 0 / 368.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.771e-05/0.01979, allocations: 4 kB / 368.3 MB, free: 5.742 MB / 298.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.001468/0.02126, allocations: 1.279 MB / 369.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.02129, allocations: 8.031 kB / 369.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003842/0.02168, allocations: 224 kB / 369.8 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.02227, allocations: 0.5318 MB / 370.3 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.02245, allocations: 411 kB / 370.7 MB, free: 3.164 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001041/0.02255, allocations: 92.33 kB / 370.8 MB, free: 3.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00101/0.02356, allocations: 1.446 MB / 372.2 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.52e-05/0.02359, allocations: 8.125 kB / 372.2 MB, free: 1.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.746e-05/0.02366, allocations: 39.94 kB / 372.3 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.573e-05/0.0237, allocations: 49.28 kB / 372.3 MB, free: 1.234 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.0242, allocations: 393.5 kB / 372.7 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.02821, allocations: 7.24 MB / 379.9 MB, free: 9.328 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002527/0.02846, allocations: 165.8 kB / 380.1 MB, free: 9.156 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.425e-05/0.02854, allocations: 76.28 kB / 380.2 MB, free: 9.078 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007968/0.02934, allocations: 0.7351 MB / 380.9 MB, free: 8.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.02937, allocations: 41.62 kB / 381 MB, free: 8.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 2.184e-06/0.02937, allocations: 0 / 381 MB, free: 8.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001054/0.03042, allocations: 0.6943 MB / 381.7 MB, free: 7.547 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.674e-05/0.03045, allocations: 55.41 kB / 381.7 MB, free: 7.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.03095, allocations: 0.7715 MB / 382.5 MB, free: 6.695 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.03098, allocations: 37.7 kB / 382.5 MB, free: 6.652 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003026/0.03128, allocations: 0.6646 MB / 383.2 MB, free: 5.977 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.272e-05/0.03137, allocations: 138.9 kB / 383.3 MB, free: 5.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.03155, allocations: 260.2 kB / 383.6 MB, free: 5.578 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.03172, allocations: 0.5741 MB / 384.1 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.03183, allocations: 90.53 kB / 384.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.03238, allocations: 1.152 MB / 385.4 MB, free: 3.258 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008601/0.03324, allocations: 1.392 MB / 386.8 MB, free: 1.371 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.03325, allocations: 8 kB / 386.8 MB, free: 1.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0009385/0.03418, allocations: 0.946 MB / 387.7 MB, free: 420 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.03421, allocations: 16 kB / 387.7 MB, free: 404 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.03423, allocations: 32.86 kB / 387.8 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.984e-05/0.03426, allocations: 36 kB / 387.8 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004455/0.0347, allocations: 283.4 kB / 388.1 MB, free: 52 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.03473, allocations: 47.86 kB / 388.1 MB, free: 4 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.03512, allocations: 48.05 kB / 388.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.03518, allocations: 67.94 kB / 388.2 MB, free: 15.89 MB / 330.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.0002253/0.0354, allocations: 259.8 kB / 388.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.954e-05/0.0355, allocations: 95.42 kB / 388.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.03593, allocations: 385.6 kB / 389 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.03594, allocations: 8 kB / 389 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.03594, allocations: 3.984 kB / 389 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.03595, allocations: 0 / 389 MB, free: 15.13 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.03676, allocations: 0.7891 MB / 389.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.03676, allocations: 0 / 389.8 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.03691, allocations: 67.84 kB / 389.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.03692, allocations: 4 kB / 389.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.03693, allocations: 11.98 kB / 389.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.03694, allocations: 4 kB / 389.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.03694, allocations: 0 / 389.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004093/0.03735, allocations: 0.5019 MB / 390.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.03748, allocations: 107.5 kB / 390.5 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.03753, allocations: 11.98 kB / 390.5 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001721/0.0377, allocations: 8 kB / 390.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.13e-05/0.03773, allocations: 31.89 kB / 390.5 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.03776, allocations: 19.98 kB / 390.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002408/0.038, allocations: 410.8 kB / 390.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.038, allocations: 0 / 390.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006418/0.03864, allocations: 231.9 kB / 391.2 MB, free: 12.85 MB / 330.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.0003977/0.03904, allocations: 197.8 kB / 391.4 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.03955, allocations: 480.5 kB / 391.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.03955, allocations: 4 kB / 391.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.03966, allocations: 92.5 kB / 391.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007725/0.04044, allocations: 308.2 kB / 392.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.04203, allocations: 1.283 MB / 393.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001256/0.04215, allocations: 191.3 kB / 393.7 MB, free: 10.24 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003712/0.04253, allocations: 144.8 kB / 393.8 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004918/0.04302, allocations: 377.8 kB / 394.2 MB, free: 9.727 MB / 330.7 MB Notification: Performance of SimCode: time 1.402e-06/0.04302, allocations: 0 / 394.2 MB, free: 9.727 MB / 330.7 MB Notification: Performance of Templates: time 0.01612/0.05914, allocations: 12.78 MB / 407 MB, free: 13.04 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.1697965511120856]