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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001661/0.002676, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009965/0.0009965, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002401, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8224/0.8224, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.153/0.9754, allocations: 52.48 MB / 238.5 MB, free: 7.629 MB / 234.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.1204/0.1204, allocations: 32.8 MB / 272 MB, free: 6.297 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04642/0.1668, allocations: 12.53 MB / 284.5 MB, free: 9.719 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.263e-06/1.263e-06, allocations: 0 / 285.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068e-05/1.194e-05, allocations: 2.312 kB / 285.8 MB, free: 8.418 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01015/0.01016, allocations: 7.987 MB / 293.8 MB, free: 396 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.01355, allocations: 2.542 MB / 296.4 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000282/0.01384, allocations: 27.75 kB / 296.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004593/0.01429, allocations: 254.3 kB / 296.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.01531, allocations: 0.6638 MB / 297.3 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.01697, allocations: 1.009 MB / 298.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002375/0.01934, allocations: 2.552 MB / 300.9 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006851/0.02003, allocations: 0.5967 MB / 301.5 MB, free: 8.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.02147, allocations: 1.182 MB / 302.6 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007968/0.02227, allocations: 0.6856 MB / 303.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.0224, allocations: 91.94 kB / 303.4 MB, free: 6.746 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004293/0.02283, allocations: 215.7 kB / 303.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.0231, allocations: 327.1 kB / 304 MB, free: 6.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003284/0.02343, allocations: 303.5 kB / 304.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000913/0.02434, allocations: 0.88 MB / 305.1 MB, free: 5.035 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.714e-06/0.02435, allocations: 4 kB / 305.1 MB, free: 5.031 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.02435, allocations: 0 / 305.1 MB, free: 5.031 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.02436, allocations: 0 / 305.1 MB, free: 5.031 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.00162/0.02598, allocations: 1.361 MB / 306.5 MB, free: 3.645 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.02601, allocations: 8.031 kB / 306.5 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004752/0.02649, allocations: 281.5 kB / 306.8 MB, free: 3.344 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006583/0.02714, allocations: 478.1 kB / 307.2 MB, free: 2.852 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/0.02733, allocations: 403 kB / 307.6 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.02746, allocations: 96.3 kB / 307.7 MB, free: 2.289 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001094/0.02856, allocations: 1.347 MB / 309.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.02858, allocations: 12.08 kB / 309.1 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.27e-05/0.02867, allocations: 47.94 kB / 309.1 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-05/0.02872, allocations: 45.22 kB / 309.2 MB, free: 0.5938 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008011/0.02952, allocations: 376.5 kB / 309.5 MB, free: 232 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003079/0.0326, allocations: 5.092 MB / 314.6 MB, free: 10.91 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.03279, allocations: 189.2 kB / 314.8 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.845e-05/0.03286, allocations: 69.47 kB / 314.9 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.0335, allocations: 0.6346 MB / 315.5 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.03352, allocations: 38.8 kB / 315.6 MB, free: 9.949 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.143e-06/0.03352, allocations: 4 kB / 315.6 MB, free: 9.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001302/0.03482, allocations: 0.7892 MB / 316.4 MB, free: 9.125 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.536e-05/0.03485, allocations: 55.41 kB / 316.4 MB, free: 9.059 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006964/0.03554, allocations: 0.6997 MB / 317.1 MB, free: 8.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.03557, allocations: 37.7 kB / 317.2 MB, free: 8.297 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.03577, allocations: 0.5692 MB / 317.7 MB, free: 7.719 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.744e-05/0.03584, allocations: 134.9 kB / 317.9 MB, free: 7.586 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.03599, allocations: 238.6 kB / 318.1 MB, free: 7.348 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.557e-05/0.03608, allocations: 390.5 kB / 318.5 MB, free: 6.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.03619, allocations: 113.3 kB / 318.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003787/0.03656, allocations: 0.8215 MB / 319.4 MB, free: 5.668 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/0.03729, allocations: 1.153 MB / 320.6 MB, free: 4.152 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/0.0373, allocations: 8 kB / 320.6 MB, free: 4.145 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0006815/0.03799, allocations: 0.8083 MB / 321.4 MB, free: 3.328 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.038, allocations: 16 kB / 321.4 MB, free: 3.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.03802, allocations: 24 kB / 321.4 MB, free: 3.289 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.03805, allocations: 36.81 kB / 321.4 MB, free: 3.254 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004495/0.03849, allocations: 323.4 kB / 321.8 MB, free: 2.938 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/0.03852, allocations: 47.8 kB / 321.8 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.03882, allocations: 48 kB / 321.9 MB, free: 2.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.931e-05/0.03886, allocations: 67.98 kB / 321.9 MB, free: 2.777 MB / 314.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.0001579/0.03902, allocations: 212 kB / 322.1 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.908e-05/0.03908, allocations: 63.86 kB / 322.2 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.03941, allocations: 325.5 kB / 322.5 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.03942, allocations: 4 kB / 322.5 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.03942, allocations: 0 / 322.5 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.03942, allocations: 3.984 kB / 322.5 MB, free: 2.152 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005597/0.03998, allocations: 0.6367 MB / 323.1 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.03999, allocations: 12.03 kB / 323.2 MB, free: 1.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/0.0404, allocations: 79.89 kB / 323.2 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.42e-05/0.0405, allocations: 83.45 kB / 323.3 MB, free: 1.301 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.0405, allocations: 7.984 kB / 323.3 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.04051, allocations: 8 kB / 323.3 MB, free: 1.285 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.04052, allocations: 4 kB / 323.3 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.04052, allocations: 0 / 323.3 MB, free: 1.281 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/0.04082, allocations: 432.9 kB / 323.8 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/0.04087, allocations: 12.03 kB / 323.8 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.04101, allocations: 15.98 kB / 323.8 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.624e-05/0.04104, allocations: 31.83 kB / 323.8 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.04106, allocations: 19.98 kB / 323.8 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001987/0.04126, allocations: 295.3 kB / 324.1 MB, free: 472 kB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04126, allocations: 0 / 324.1 MB, free: 472 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005069/0.04177, allocations: 231.9 kB / 324.4 MB, free: 240 kB / 314.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.0003407/0.04211, allocations: 197.8 kB / 324.5 MB, free: 52 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000415/0.04253, allocations: 485.7 kB / 325 MB, free: 15.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.671e-05/0.04255, allocations: 21.75 kB / 325 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.04266, allocations: 109.5 kB / 325.2 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.0437, allocations: 1.723 MB / 326.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007085/0.05078, allocations: 1.247 MB / 328.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001085/0.05089, allocations: 187.3 kB / 328.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003138/0.0512, allocations: 155.3 kB / 328.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004291/0.05163, allocations: 303 kB / 328.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.05163, allocations: 0 / 328.8 MB, free: 11.48 MB / 330.7 MB Notification: Performance of Templates: time 0.1193/0.1709, allocations: 12.04 MB / 340.8 MB, free: 39.96 MB / 330.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.923817458562553]