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.001558/0.001558, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001718/0.001718, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.385/1.385, allocations: 177.1 MB / 204.3 MB, free: 9.156 MB / 190.1 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.1921/0.1921, allocations: 32.81 MB / 293.5 MB, free: 16 kB / 270.1 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.463e-06/1.463e-06, allocations: 0 / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.36e-05, allocations: 2.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.1891/0.1891, allocations: 16.21 MB / 456.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007091/0.1962, allocations: 6.478 MB / 462.8 MB, free: 9.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007518/0.1969, allocations: 29 kB / 462.8 MB, free: 9.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000966/0.1979, allocations: 373.4 kB / 463.2 MB, free: 8.809 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001796/0.1997, allocations: 0.7194 MB / 463.9 MB, free: 8.375 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003546/0.2032, allocations: 1.374 MB / 465.3 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003019/0.2063, allocations: 2.519 MB / 467.8 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009669/0.2072, allocations: 0.5693 MB / 468.3 MB, free: 6.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.2097, allocations: 1.328 MB / 469.7 MB, free: 5.762 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.2109, allocations: 0.7358 MB / 470.4 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.211, allocations: 86.09 kB / 470.5 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.2124, allocations: 493.4 kB / 471 MB, free: 5.387 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003367/0.2127, allocations: 394.5 kB / 471.4 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004612/0.2132, allocations: 387.1 kB / 471.7 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001858/0.215, allocations: 1.639 MB / 473.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2151, allocations: 4 kB / 473.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2151, allocations: 0 / 473.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.2151, allocations: 5.188 kB / 473.4 MB, free: 4.297 MB / 366.1 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.002011/0.2171, allocations: 1.225 MB / 474.6 MB, free: 3.406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2171, allocations: 9.594 kB / 474.6 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004631/0.2176, allocations: 124.3 kB / 474.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008602/0.2184, allocations: 0.5493 MB / 475.3 MB, free: 2.938 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.2186, allocations: 411.4 kB / 475.7 MB, free: 2.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.2187, allocations: 77.12 kB / 475.8 MB, free: 2.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.2204, allocations: 1.7 MB / 477.5 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/0.2205, allocations: 6.531 kB / 477.5 MB, free: 1.047 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001052/0.2206, allocations: 44.47 kB / 477.5 MB, free: 1.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.104e-05/0.2207, allocations: 35.59 kB / 477.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.2221, allocations: 0.9642 MB / 478.5 MB, free: 0.5312 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006378/0.2284, allocations: 5.824 MB / 484.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.229, allocations: 296.9 kB / 484.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.2293, allocations: 159.8 kB / 484.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001631/0.2309, allocations: 0.773 MB / 485.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.231, allocations: 42.14 kB / 485.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.704e-06/0.231, allocations: 0 / 485.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002274/0.2332, allocations: 1.029 MB / 486.6 MB, free: 9.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.2333, allocations: 54.84 kB / 486.7 MB, free: 9.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008257/0.2341, allocations: 0.7958 MB / 487.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.2341, allocations: 36.58 kB / 487.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/0.2346, allocations: 0.6005 MB / 488.1 MB, free: 8.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.2347, allocations: 132.1 kB / 488.2 MB, free: 8.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.2349, allocations: 244 kB / 488.5 MB, free: 8.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001895/0.2351, allocations: 382 kB / 488.9 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003836/0.2355, allocations: 247.5 kB / 489.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009836/0.2365, allocations: 0.9633 MB / 490.1 MB, free: 6.973 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.238, allocations: 1.324 MB / 491.4 MB, free: 5.641 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.238, allocations: 7.688 kB / 491.4 MB, free: 5.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001944/0.24, allocations: 1.2 MB / 492.6 MB, free: 4.441 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.24, allocations: 19.98 kB / 492.6 MB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/0.24, allocations: 27.94 kB / 492.6 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.675e-05/0.2401, allocations: 36 kB / 492.7 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008001/0.2409, allocations: 276.2 kB / 492.9 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.621e-05/0.2409, allocations: 51.78 kB / 493 MB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006836/0.2416, allocations: 56 kB / 493 MB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.543e-05/0.2417, allocations: 68 kB / 493.1 MB, free: 3.918 MB / 382.1 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.00048/0.2422, allocations: 331.3 kB / 493.4 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.2423, allocations: 83.42 kB / 493.5 MB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009428/0.2433, allocations: 492.9 kB / 494 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.2433, allocations: 7.984 kB / 494 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2433, allocations: 1 kB / 494 MB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.2433, allocations: 7.922 kB / 494 MB, free: 3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00166/0.245, allocations: 0.9584 MB / 495 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.245, allocations: 0 / 495 MB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003035/0.2453, allocations: 67.91 kB / 495 MB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.2453, allocations: 12.17 kB / 495.1 MB, free: 1.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.2453, allocations: 8 kB / 495.1 MB, free: 1.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.2453, allocations: 4.688 kB / 495.1 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.2453, allocations: 3.938 kB / 495.1 MB, free: 1.895 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009772/0.2463, allocations: 0.6335 MB / 495.7 MB, free: 1.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.2466, allocations: 111.5 kB / 495.8 MB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.2466, allocations: 8 kB / 495.8 MB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.247, allocations: 20.8 kB / 495.8 MB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.258e-05/0.2471, allocations: 35.83 kB / 495.9 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.667e-05/0.2471, allocations: 28.05 kB / 495.9 MB, free: 1.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006089/0.2477, allocations: 0.4912 MB / 496.4 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2477, allocations: 0 / 496.4 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001201/0.2489, allocations: 299.6 kB / 496.7 MB, free: 248 kB / 382.1 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.0005994/0.2495, allocations: 310.6 kB / 497 MB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001084/0.2506, allocations: 0.6144 MB / 497.6 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2506, allocations: 448 / 497.6 MB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.2509, allocations: 143.8 kB / 497.7 MB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.2523, allocations: 302.4 kB / 498 MB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.2544, allocations: 1.386 MB / 499.4 MB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.2549, allocations: 405 kB / 499.8 MB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007488/0.2556, allocations: 289.8 kB / 0.4884 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.2558, allocations: 68.48 kB / 0.4885 GB, free: 12.7 MB / 398.1 MB Notification: Performance of SimCode: time 6.72e-07/0.2558, allocations: 0 / 0.4885 GB, free: 12.7 MB / 398.1 MB Notification: Performance of Templates: time 0.0238/0.2796, allocations: 13.18 MB / 0.5013 GB, free: 15.79 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 4.969196107238531]