Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001088/0.001088, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001203/0.001203, allocations: 168 kB / 25 MB, free: 8.871 MB / 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.996/0.996, allocations: 177.1 MB / 205.3 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2278/0.2278, allocations: 32.81 MB / 294.6 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 376 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.587e-05, allocations: 2.312 kB / 376 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01391/0.01393, allocations: 18.22 MB / 394.2 MB, free: 2.695 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006685/0.02062, allocations: 7.189 MB / 401.4 MB, free: 11.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008046/0.02142, allocations: 31.75 kB / 401.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008917/0.02231, allocations: 369.5 kB / 401.8 MB, free: 11.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001429/0.02374, allocations: 0.7221 MB / 402.5 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.02642, allocations: 1.363 MB / 403.9 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0028/0.02922, allocations: 2.509 MB / 406.4 MB, free: 6.48 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.03069, allocations: 0.6005 MB / 407 MB, free: 5.863 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.03311, allocations: 1.344 MB / 408.3 MB, free: 4.516 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001118/0.03423, allocations: 0.7285 MB / 409.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.03442, allocations: 84 kB / 409.1 MB, free: 3.703 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.03552, allocations: 494.9 kB / 409.6 MB, free: 3.219 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003289/0.03585, allocations: 390.9 kB / 410 MB, free: 2.836 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.03628, allocations: 395.1 kB / 410.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.03818, allocations: 1.277 MB / 411.7 MB, free: 1.168 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.03819, allocations: 4 kB / 411.7 MB, free: 1.164 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.03819, allocations: 3.938 kB / 411.7 MB, free: 1.16 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.929e-05/0.03822, allocations: 4 kB / 411.7 MB, free: 1.156 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.002072/0.04029, allocations: 1.337 MB / 413 MB, free: 15.78 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.04033, allocations: 8.031 kB / 413 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004841/0.04081, allocations: 220 kB / 413.2 MB, free: 15.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007708/0.04158, allocations: 0.563 MB / 413.8 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002363/0.04182, allocations: 407 kB / 414.2 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.04194, allocations: 88.36 kB / 414.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.04331, allocations: 1.491 MB / 415.8 MB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.506e-05/0.04333, allocations: 4.125 kB / 415.8 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.04342, allocations: 47.92 kB / 415.8 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-05/0.04347, allocations: 37.3 kB / 415.9 MB, free: 12.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000813/0.04429, allocations: 475 kB / 416.3 MB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.04882, allocations: 7.256 MB / 423.6 MB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003097/0.04913, allocations: 189.1 kB / 423.8 MB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.04924, allocations: 92.33 kB / 423.9 MB, free: 4.254 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009276/0.05017, allocations: 0.7938 MB / 424.7 MB, free: 3.441 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.05019, allocations: 41.62 kB / 424.7 MB, free: 3.391 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.05019, allocations: 0 / 424.7 MB, free: 3.391 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001259/0.05145, allocations: 0.8328 MB / 425.5 MB, free: 2.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.05148, allocations: 55.41 kB / 425.6 MB, free: 2.453 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/0.05205, allocations: 0.7876 MB / 426.4 MB, free: 1.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.05209, allocations: 33.7 kB / 426.4 MB, free: 1.605 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.05238, allocations: 0.6453 MB / 427.1 MB, free: 0.9531 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.183e-05/0.05246, allocations: 146.9 kB / 427.2 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.05264, allocations: 248.4 kB / 427.4 MB, free: 0.5586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.05281, allocations: 0.5664 MB / 428 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.05299, allocations: 118.5 kB / 428.1 MB, free: 15.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005994/0.05359, allocations: 1.172 MB / 429.3 MB, free: 14.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009763/0.05456, allocations: 1.416 MB / 430.7 MB, free: 12.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-05/0.05458, allocations: 8 kB / 430.7 MB, free: 12.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001095/0.05567, allocations: 1.02 MB / 431.7 MB, free: 11.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.0557, allocations: 19.98 kB / 431.8 MB, free: 11.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.05571, allocations: 28 kB / 431.8 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.05574, allocations: 32 kB / 431.8 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004561/0.0562, allocations: 276.1 kB / 432.1 MB, free: 10.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.997e-05/0.05623, allocations: 51.84 kB / 432.1 MB, free: 10.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/0.05657, allocations: 52 kB / 432.2 MB, free: 10.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.05663, allocations: 76 kB / 432.3 MB, free: 10.73 MB / 410.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.0002034/0.05683, allocations: 264.9 kB / 432.5 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.05693, allocations: 95.42 kB / 432.6 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.05742, allocations: 381.6 kB / 433 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.05743, allocations: 4 kB / 433 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.05743, allocations: 0 / 433 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.05744, allocations: 3.984 kB / 433 MB, free: 9.969 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009139/0.05835, allocations: 0.9123 MB / 433.9 MB, free: 8.988 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.05836, allocations: 7.984 kB / 433.9 MB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.05851, allocations: 68.09 kB / 434 MB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.05852, allocations: 4 kB / 434 MB, free: 8.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.05854, allocations: 12 kB / 434 MB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.05854, allocations: 4 kB / 434 MB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.05854, allocations: 0 / 434 MB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004752/0.05902, allocations: 0.5371 MB / 434.5 MB, free: 8.312 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.05915, allocations: 111.4 kB / 434.6 MB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.0592, allocations: 11.95 kB / 434.7 MB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.05936, allocations: 16.02 kB / 434.7 MB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.0594, allocations: 31.89 kB / 434.7 MB, free: 8.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.05943, allocations: 23.98 kB / 434.7 MB, free: 8.121 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003262/0.05976, allocations: 434.9 kB / 435.2 MB, free: 7.703 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.05976, allocations: 0 / 435.2 MB, free: 7.703 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007756/0.06053, allocations: 299.6 kB / 435.4 MB, free: 7.41 MB / 410.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.000425/0.06096, allocations: 321.6 kB / 435.8 MB, free: 7.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.06152, allocations: 0.4931 MB / 436.3 MB, free: 6.602 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.06153, allocations: 0 / 436.3 MB, free: 6.602 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.06164, allocations: 95.52 kB / 436.3 MB, free: 6.504 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007825/0.06242, allocations: 322.2 kB / 436.7 MB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.0641, allocations: 1.275 MB / 437.9 MB, free: 4.855 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.06422, allocations: 195.3 kB / 438.1 MB, free: 4.645 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004825/0.0647, allocations: 275.8 kB / 438.4 MB, free: 4.379 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.738e-05/0.06479, allocations: 72.48 kB / 438.5 MB, free: 4.309 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.06479, allocations: 0 / 438.5 MB, free: 4.309 MB / 410.7 MB Notification: Performance of Templates: time 0.1418/0.2066, allocations: 13.27 MB / 451.7 MB, free: 104.3 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.479091017972678]