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.001139/0.001139, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.001135/0.001135, allocations: 168.8 kB / 24.91 MB, free: 9.156 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.9134/0.9134, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.2348/0.2348, allocations: 32.81 MB / 294.6 MB, free: 1.254 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.513e-06/1.513e-06, allocations: 0 / 323.3 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.413e-05, allocations: 3.516 kB / 323.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.007201/0.007225, allocations: 8.039 MB / 331.3 MB, free: 1.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.01068, allocations: 2.523 MB / 333.8 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003701/0.01105, allocations: 35.69 kB / 333.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005342/0.01159, allocations: 242.3 kB / 334.1 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.01265, allocations: 0.6638 MB / 334.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001539/0.01419, allocations: 0.9897 MB / 335.7 MB, free: 13.14 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001848/0.01603, allocations: 2.485 MB / 338.2 MB, free: 10.64 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.01676, allocations: 0.6004 MB / 338.8 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001106/0.01787, allocations: 1.138 MB / 340 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007401/0.01861, allocations: 0.6817 MB / 340.7 MB, free: 8.195 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.01872, allocations: 88 kB / 340.7 MB, free: 8.109 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.01911, allocations: 231.7 kB / 341 MB, free: 7.883 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002491/0.01936, allocations: 402.8 kB / 341.4 MB, free: 7.488 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002826/0.01965, allocations: 383.2 kB / 341.7 MB, free: 7.113 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008151/0.02046, allocations: 1.016 MB / 342.8 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.02046, allocations: 0 / 342.8 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.02047, allocations: 0 / 342.8 MB, free: 6.094 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.02047, allocations: 0 / 342.8 MB, free: 6.094 MB / 314.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.0012/0.02167, allocations: 1.127 MB / 343.9 MB, free: 4.938 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.02171, allocations: 8.031 kB / 343.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.02204, allocations: 200.4 kB / 344.1 MB, free: 4.734 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.02255, allocations: 478 kB / 344.5 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.02272, allocations: 407 kB / 344.9 MB, free: 3.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.632e-05/0.02282, allocations: 96.31 kB / 345 MB, free: 3.676 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008334/0.02365, allocations: 1.303 MB / 346.3 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.02367, allocations: 8.125 kB / 346.4 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.02373, allocations: 39.94 kB / 346.4 MB, free: 2.094 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-05/0.02377, allocations: 45.3 kB / 346.4 MB, free: 2.047 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004048/0.02418, allocations: 376.5 kB / 346.8 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003057/0.02724, allocations: 5.084 MB / 351.9 MB, free: 12.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.02743, allocations: 201.5 kB / 352.1 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.173e-05/0.02751, allocations: 69.42 kB / 352.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006367/0.02814, allocations: 0.6309 MB / 352.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.02817, allocations: 42.73 kB / 352.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.022e-06/0.02817, allocations: 0 / 352.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009577/0.02913, allocations: 0.724 MB / 353.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.175e-05/0.02915, allocations: 55.41 kB / 353.6 MB, free: 10.58 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000414/0.02956, allocations: 0.7075 MB / 354.3 MB, free: 9.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.02959, allocations: 33.7 kB / 354.3 MB, free: 9.816 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.0298, allocations: 0.5575 MB / 354.9 MB, free: 9.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.163e-05/0.02988, allocations: 146.9 kB / 355 MB, free: 9.105 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.03003, allocations: 230.6 kB / 355.3 MB, free: 8.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.03014, allocations: 390.6 kB / 355.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.03026, allocations: 101.4 kB / 355.7 MB, free: 8.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003981/0.03066, allocations: 0.8252 MB / 356.6 MB, free: 7.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006825/0.03134, allocations: 1.083 MB / 357.7 MB, free: 5.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.03135, allocations: 11.94 kB / 357.7 MB, free: 5.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0007222/0.03207, allocations: 0.8015 MB / 358.5 MB, free: 4.934 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.03209, allocations: 20.03 kB / 358.5 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.03211, allocations: 28 kB / 358.5 MB, free: 4.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.03213, allocations: 36 kB / 358.6 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.03257, allocations: 287.5 kB / 358.8 MB, free: 4.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.774e-05/0.0326, allocations: 55.78 kB / 358.9 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002908/0.03289, allocations: 48 kB / 358.9 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.03294, allocations: 64 kB / 359 MB, free: 4.406 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.0001626/0.0331, allocations: 221 kB / 359.2 MB, free: 4.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.009e-05/0.03316, allocations: 59.88 kB / 359.3 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.0335, allocations: 322.8 kB / 359.6 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.03351, allocations: 11.92 kB / 359.6 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.03351, allocations: 0 / 359.6 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.03352, allocations: 3.984 kB / 359.6 MB, free: 3.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.0341, allocations: 0.6446 MB / 360.2 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.0341, allocations: 3.984 kB / 360.2 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.03426, allocations: 71.91 kB / 360.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.03426, allocations: 4 kB / 360.3 MB, free: 3.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.03428, allocations: 11.98 kB / 360.3 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.03428, allocations: 7.938 kB / 360.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.03428, allocations: 192 / 360.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000318/0.0346, allocations: 435.9 kB / 360.8 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.03471, allocations: 83.45 kB / 360.8 MB, free: 2.461 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.439e-05/0.03475, allocations: 11.98 kB / 360.9 MB, free: 2.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.0349, allocations: 12 kB / 360.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.753e-05/0.03492, allocations: 27.89 kB / 360.9 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.03495, allocations: 19.98 kB / 360.9 MB, free: 2.391 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.03516, allocations: 295.3 kB / 361.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03516, allocations: 0 / 361.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000537/0.03569, allocations: 239.9 kB / 361.4 MB, free: 1.867 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.0002046/0.0359, allocations: 157 kB / 361.6 MB, free: 1.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.03628, allocations: 461.4 kB / 362 MB, free: 1.262 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.517e-05/0.0363, allocations: 17.81 kB / 362.1 MB, free: 1.238 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.03639, allocations: 85.89 kB / 362.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.03706, allocations: 305.4 kB / 362.4 MB, free: 0.875 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.03841, allocations: 1.261 MB / 363.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.03853, allocations: 195.3 kB / 363.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000298/0.03882, allocations: 148.2 kB / 364 MB, free: 15.2 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.03928, allocations: 307 kB / 364.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.03929, allocations: 0 / 364.3 MB, free: 14.9 MB / 346.7 MB Notification: Performance of Templates: time 0.01374/0.05303, allocations: 12.71 MB / 377 MB, free: 2.434 MB / 346.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 -s gbode -gbm=radauIIA3 -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.0555988857522607]