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.002398/0.002398, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003013/0.003013, allocations: 165.3 kB / 24.28 MB, free: 152 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 1.551/1.551, allocations: 177.2 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3486/0.3486, allocations: 34.26 MB / 295.3 MB, free: 0.6719 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.292e-06/1.292e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.885e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02497/0.025, allocations: 18.16 MB / 395.4 MB, free: 0.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01167/0.03667, allocations: 7.178 MB / 402.6 MB, free: 9.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008996/0.03757, allocations: 35.69 kB / 402.6 MB, free: 9.512 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.03872, allocations: 373.5 kB / 403 MB, free: 9.145 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.04051, allocations: 0.7221 MB / 403.7 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003828/0.04434, allocations: 1.363 MB / 405.1 MB, free: 7.051 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003662/0.048, allocations: 2.509 MB / 407.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.04909, allocations: 0.6042 MB / 408.2 MB, free: 3.914 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00268/0.05177, allocations: 1.336 MB / 409.5 MB, free: 2.574 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.05311, allocations: 0.7285 MB / 410.3 MB, free: 1.844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.05332, allocations: 87.94 kB / 410.4 MB, free: 1.758 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001391/0.05471, allocations: 491 kB / 410.8 MB, free: 1.277 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000487/0.0552, allocations: 398.8 kB / 411.2 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006297/0.05583, allocations: 395.2 kB / 411.6 MB, free: 0.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.0586, allocations: 1.651 MB / 413.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.0586, allocations: 0 / 413.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.0586, allocations: 0 / 413.3 MB, free: 14.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.05862, allocations: 0 / 413.3 MB, free: 14.84 MB / 394.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.002841/0.06146, allocations: 1.38 MB / 414.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.0615, allocations: 12.03 kB / 414.7 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006782/0.06218, allocations: 228 kB / 414.9 MB, free: 13.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.06344, allocations: 0.563 MB / 415.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003618/0.06381, allocations: 407 kB / 415.8 MB, free: 12.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/0.06398, allocations: 88.38 kB / 415.9 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.06661, allocations: 1.658 MB / 417.6 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.06664, allocations: 4.125 kB / 417.6 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.06676, allocations: 43.94 kB / 417.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.076e-05/0.06683, allocations: 45.25 kB / 417.7 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.06824, allocations: 0.6683 MB / 418.3 MB, free: 9.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008768/0.07701, allocations: 7.688 MB / 426 MB, free: 1.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.07762, allocations: 285.1 kB / 426.3 MB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003005/0.07793, allocations: 156.2 kB / 426.5 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001888/0.07981, allocations: 0.8522 MB / 427.3 MB, free: 56 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.573e-05/0.07987, allocations: 45.61 kB / 427.4 MB, free: 0 / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.322e-06/0.07987, allocations: 0 / 427.4 MB, free: 0 / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.002387/0.08226, allocations: 0.9736 MB / 428.3 MB, free: 14.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.0823, allocations: 55.41 kB / 428.4 MB, free: 14.92 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.08352, allocations: 0.9438 MB / 429.3 MB, free: 13.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.893e-05/0.08357, allocations: 33.92 kB / 429.4 MB, free: 13.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006195/0.08419, allocations: 0.6804 MB / 430 MB, free: 13.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.08433, allocations: 150.9 kB / 430.2 MB, free: 13.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/0.08472, allocations: 280.4 kB / 430.5 MB, free: 12.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004033/0.08512, allocations: 0.5977 MB / 431.1 MB, free: 12.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004897/0.08561, allocations: 170.5 kB / 431.2 MB, free: 12.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.08699, allocations: 1.242 MB / 432.5 MB, free: 10.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.08894, allocations: 1.544 MB / 434 MB, free: 8.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.08895, allocations: 4 kB / 434 MB, free: 8.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001987/0.09093, allocations: 1.114 MB / 435.1 MB, free: 7.125 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.09097, allocations: 16 kB / 435.1 MB, free: 7.109 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-05/0.091, allocations: 24 kB / 435.2 MB, free: 7.086 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.996e-05/0.09105, allocations: 36.78 kB / 435.2 MB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009419/0.09199, allocations: 275.5 kB / 435.5 MB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.534e-05/0.09205, allocations: 55.78 kB / 435.5 MB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/0.09269, allocations: 52 kB / 435.6 MB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.09281, allocations: 76 kB / 435.7 MB, free: 6.602 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.0004323/0.09324, allocations: 307.9 kB / 436 MB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.09341, allocations: 95.42 kB / 436.1 MB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009955/0.09441, allocations: 463.5 kB / 436.5 MB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.09442, allocations: 4 kB / 436.5 MB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.09442, allocations: 0 / 436.5 MB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.09443, allocations: 7.984 kB / 436.5 MB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.09654, allocations: 1.108 MB / 437.6 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/0.09654, allocations: 4 kB / 437.6 MB, free: 4.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/0.09688, allocations: 68.09 kB / 437.7 MB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-06/0.09689, allocations: 4 kB / 437.7 MB, free: 4.469 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.122e-05/0.09692, allocations: 15.98 kB / 437.7 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/0.09692, allocations: 4 kB / 437.7 MB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.09693, allocations: 0 / 437.7 MB, free: 4.449 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.09796, allocations: 0.6503 MB / 438.4 MB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.09825, allocations: 111.4 kB / 438.5 MB, free: 3.645 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.925e-05/0.09834, allocations: 11.94 kB / 438.5 MB, free: 3.633 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003596/0.0987, allocations: 19.98 kB / 438.5 MB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.09876, allocations: 35.8 kB / 438.5 MB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.452e-05/0.09881, allocations: 23.98 kB / 438.6 MB, free: 3.555 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006739/0.09949, allocations: 0.4951 MB / 439.1 MB, free: 3.066 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.09949, allocations: 0 / 439.1 MB, free: 3.066 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001166/0.1007, allocations: 295.7 kB / 439.3 MB, free: 2.777 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.0006031/0.1013, allocations: 309.9 kB / 439.7 MB, free: 2.469 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.1024, allocations: 0.6066 MB / 440.3 MB, free: 1.867 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1024, allocations: 4.125 kB / 440.3 MB, free: 1.863 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002768/0.1027, allocations: 147.4 kB / 440.4 MB, free: 1.715 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.1042, allocations: 321.4 kB / 440.7 MB, free: 1.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002278/0.1065, allocations: 1.337 MB / 442.1 MB, free: 8 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1318/0.2383, allocations: 387.8 kB / 442.4 MB, free: 101.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008153/0.2392, allocations: 267.1 kB / 442.7 MB, free: 101.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.2393, allocations: 69.31 kB / 442.8 MB, free: 101.6 MB / 410.7 MB Notification: Performance of SimCode: time 2.254e-06/0.2393, allocations: 0 / 442.8 MB, free: 101.6 MB / 410.7 MB Notification: Performance of Templates: time 0.01915/0.2584, allocations: 13.26 MB / 456 MB, free: 100.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.670012160087936]