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.001524/0.001524, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001691/0.001691, allocations: 161.7 kB / 24.27 MB, free: 172 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.472/1.472, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3317/0.3317, allocations: 32.79 MB / 293.9 MB, free: 1.203 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.844e-06/1.844e-06, allocations: 0 / 375.3 MB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.146e-05/3.33e-05, allocations: 2.312 kB / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.02217/0.0222, allocations: 16.21 MB / 391.5 MB, free: 4.715 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01092/0.03312, allocations: 6.485 MB / 398 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007692/0.03389, allocations: 27.75 kB / 398 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.03511, allocations: 377.5 kB / 398.4 MB, free: 13.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.03706, allocations: 0.7143 MB / 399.1 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004412/0.04148, allocations: 1.374 MB / 400.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003599/0.04507, allocations: 2.513 MB / 403 MB, free: 9.191 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.04631, allocations: 0.5965 MB / 403.5 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.04907, allocations: 1.336 MB / 404.9 MB, free: 7.238 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.05052, allocations: 0.7362 MB / 405.6 MB, free: 6.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.05072, allocations: 88 kB / 405.7 MB, free: 6.414 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.05206, allocations: 490.9 kB / 406.2 MB, free: 5.934 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004852/0.05254, allocations: 390.9 kB / 406.6 MB, free: 5.551 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006186/0.05316, allocations: 395.1 kB / 407 MB, free: 5.164 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002798/0.05596, allocations: 1.64 MB / 408.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.05596, allocations: 0 / 408.6 MB, free: 3.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.05596, allocations: 3.938 kB / 408.6 MB, free: 3.516 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.05598, allocations: 0 / 408.6 MB, free: 3.516 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.002793/0.05878, allocations: 1.214 MB / 409.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.05882, allocations: 12.03 kB / 409.8 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006722/0.05949, allocations: 224 kB / 410 MB, free: 2.039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.06065, allocations: 0.5758 MB / 410.6 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003618/0.06101, allocations: 407 kB / 411 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.06119, allocations: 92.36 kB / 411.1 MB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00248/0.06367, allocations: 1.699 MB / 412.8 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.943e-05/0.0637, allocations: 12.12 kB / 412.8 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.06382, allocations: 47.84 kB / 412.9 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.325e-05/0.06388, allocations: 37.3 kB / 412.9 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001712/0.06559, allocations: 0.961 MB / 413.9 MB, free: 13.89 MB / 394.7 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.007594/0.07319, allocations: 5.833 MB / 419.7 MB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006108/0.0738, allocations: 296.6 kB / 420 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002882/0.07409, allocations: 157.4 kB / 420.1 MB, free: 7.375 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001804/0.07589, allocations: 0.7899 MB / 420.9 MB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.646e-05/0.07594, allocations: 38.8 kB / 421 MB, free: 6.52 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 1.953e-06/0.07594, allocations: 0 / 421 MB, free: 6.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.002687/0.07862, allocations: 1.039 MB / 422 MB, free: 5.445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.07868, allocations: 55.41 kB / 422.1 MB, free: 5.379 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.07973, allocations: 0.7849 MB / 422.8 MB, free: 4.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.217e-05/0.07978, allocations: 37.7 kB / 422.9 MB, free: 4.539 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000538/0.08032, allocations: 0.5995 MB / 423.5 MB, free: 3.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.08045, allocations: 138.9 kB / 423.6 MB, free: 3.793 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/0.08078, allocations: 242.7 kB / 423.9 MB, free: 3.551 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002395/0.08102, allocations: 386.8 kB / 424.2 MB, free: 3.164 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004437/0.08146, allocations: 250.5 kB / 424.5 MB, free: 2.918 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.08259, allocations: 0.9583 MB / 425.4 MB, free: 1.602 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.08435, allocations: 1.315 MB / 426.7 MB, free: 15.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.08436, allocations: 8 kB / 426.8 MB, free: 15.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002126/0.08649, allocations: 1.274 MB / 428 MB, free: 14.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.08652, allocations: 16 kB / 428 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.036e-05/0.08656, allocations: 27.98 kB / 428.1 MB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/0.08675, allocations: 36 kB / 428.1 MB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008436/0.0876, allocations: 271.5 kB / 428.4 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.452e-05/0.08765, allocations: 51.78 kB / 428.4 MB, free: 14.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.08832, allocations: 52 kB / 428.5 MB, free: 14.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.08843, allocations: 76 kB / 428.5 MB, free: 14.12 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.0004691/0.08889, allocations: 334.1 kB / 428.9 MB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.08906, allocations: 95.42 kB / 429 MB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009636/0.09002, allocations: 483.7 kB / 429.4 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.09004, allocations: 4 kB / 429.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.09004, allocations: 4 kB / 429.4 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.09005, allocations: 3.984 kB / 429.5 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.09176, allocations: 0.9473 MB / 430.4 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.09176, allocations: 4 kB / 430.4 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003119/0.09207, allocations: 63.91 kB / 430.5 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.09208, allocations: 4 kB / 430.5 MB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.865e-05/0.09211, allocations: 15.98 kB / 430.5 MB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.09212, allocations: 7.938 kB / 430.5 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.09212, allocations: 0 / 430.5 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.09316, allocations: 0.657 MB / 431.2 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.09339, allocations: 111.5 kB / 431.3 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.492e-05/0.09347, allocations: 12 kB / 431.3 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.09383, allocations: 15.98 kB / 431.3 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.09388, allocations: 27.89 kB / 431.3 MB, free: 11.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.411e-05/0.09393, allocations: 23.98 kB / 431.3 MB, free: 11.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006907/0.09462, allocations: 499 kB / 431.8 MB, free: 10.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.09462, allocations: 4 kB / 431.8 MB, free: 10.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001198/0.09582, allocations: 303.6 kB / 432.1 MB, free: 10.43 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.0006197/0.09644, allocations: 316.9 kB / 432.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.09756, allocations: 0.6096 MB / 433 MB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.09756, allocations: 0 / 433 MB, free: 9.512 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002569/0.09782, allocations: 141.4 kB / 433.2 MB, free: 9.375 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.09932, allocations: 311.4 kB / 433.5 MB, free: 9.078 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.1017, allocations: 1.405 MB / 434.9 MB, free: 7.617 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/0.1023, allocations: 408.9 kB / 435.3 MB, free: 7.191 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008136/0.1031, allocations: 296.2 kB / 435.6 MB, free: 6.906 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.1032, allocations: 68.48 kB / 435.6 MB, free: 6.84 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1032, allocations: 4 kB / 435.6 MB, free: 6.836 MB / 410.7 MB Notification: Performance of Templates: time 0.1533/0.2565, allocations: 13.25 MB / 448.9 MB, free: 103.5 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=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: 5.373887660098262]