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.0009534/0.0009534, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001144/0.001144, allocations: 165.3 kB / 24.99 MB, free: 8.336 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.269/0.269, allocations: 34.26 MB / 296 MB, free: 0.6758 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 2.034e-06/2.034e-06, allocations: 0 / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.69e-05/3.893e-05, allocations: 5.547 kB / 378 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01552/0.01555, allocations: 18.22 MB / 396.2 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007148/0.0227, allocations: 7.181 MB / 403.4 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007402/0.02344, allocations: 35.69 kB / 403.4 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009086/0.02435, allocations: 373.5 kB / 403.8 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.02576, allocations: 0.7182 MB / 404.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.02827, allocations: 1.366 MB / 405.9 MB, free: 6.977 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00256/0.03083, allocations: 2.505 MB / 408.4 MB, free: 4.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009264/0.03175, allocations: 0.6044 MB / 409 MB, free: 3.844 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.03378, allocations: 1.34 MB / 410.3 MB, free: 2.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.03487, allocations: 0.7245 MB / 411.1 MB, free: 1.773 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.03506, allocations: 88 kB / 411.2 MB, free: 1.688 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.0361, allocations: 498.9 kB / 411.6 MB, free: 1.199 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003276/0.03642, allocations: 398.8 kB / 412 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003826/0.03681, allocations: 383.2 kB / 412.4 MB, free: 444 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001664/0.03847, allocations: 1.289 MB / 413.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.03847, allocations: 0 / 413.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03848, allocations: 0 / 413.7 MB, free: 15.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.594e-05/0.0385, allocations: 0 / 413.7 MB, free: 15.14 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.001889/0.04039, allocations: 1.344 MB / 415 MB, free: 13.76 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.04043, allocations: 8.031 kB / 415.1 MB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007437/0.04118, allocations: 216.1 kB / 415.3 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007036/0.04188, allocations: 0.5552 MB / 415.8 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.04209, allocations: 407 kB / 416.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.0422, allocations: 92.36 kB / 416.3 MB, free: 12.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.04348, allocations: 1.491 MB / 417.8 MB, free: 10.62 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.04351, allocations: 8.125 kB / 417.8 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.44e-05/0.04358, allocations: 39.94 kB / 417.8 MB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-05/0.04364, allocations: 41.3 kB / 417.9 MB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.04439, allocations: 475 kB / 418.3 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/0.04891, allocations: 7.26 MB / 425.6 MB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/0.04924, allocations: 189.3 kB / 425.8 MB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.04937, allocations: 92.33 kB / 425.9 MB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009816/0.05035, allocations: 0.7975 MB / 426.7 MB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.05038, allocations: 37.62 kB / 426.7 MB, free: 1.371 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.826e-06/0.05038, allocations: 4 kB / 426.7 MB, free: 1.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001382/0.05177, allocations: 0.8289 MB / 427.5 MB, free: 0.5 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.0518, allocations: 55.41 kB / 427.6 MB, free: 444 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.05241, allocations: 0.7876 MB / 428.4 MB, free: 15.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.05244, allocations: 33.7 kB / 428.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.05275, allocations: 0.6492 MB / 429.1 MB, free: 14.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.591e-05/0.05283, allocations: 142.9 kB / 429.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005136/0.05335, allocations: 252.4 kB / 429.5 MB, free: 14.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.05353, allocations: 0.5625 MB / 430 MB, free: 13.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001857/0.05372, allocations: 114.5 kB / 430.1 MB, free: 13.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006213/0.05434, allocations: 1.176 MB / 431.3 MB, free: 12.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009668/0.0553, allocations: 1.416 MB / 432.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/0.05531, allocations: 4 kB / 432.7 MB, free: 10.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001144/0.05646, allocations: 1.025 MB / 433.8 MB, free: 9.234 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.05648, allocations: 16 kB / 433.8 MB, free: 9.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.349e-05/0.05651, allocations: 31.98 kB / 433.8 MB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.731e-05/0.05654, allocations: 36 kB / 433.8 MB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.05703, allocations: 275.5 kB / 434.1 MB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-05/0.05706, allocations: 55.78 kB / 434.2 MB, free: 8.828 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003579/0.05742, allocations: 48 kB / 434.2 MB, free: 8.781 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.05748, allocations: 72 kB / 434.3 MB, free: 8.711 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.0001983/0.05768, allocations: 264 kB / 434.5 MB, free: 8.441 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.449e-05/0.05777, allocations: 95.42 kB / 434.6 MB, free: 8.348 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005095/0.05828, allocations: 383.5 kB / 435 MB, free: 7.961 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.05829, allocations: 4 kB / 435 MB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.05829, allocations: 0 / 435 MB, free: 7.957 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.0583, allocations: 3.984 kB / 435 MB, free: 7.953 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.05954, allocations: 0.92 MB / 435.9 MB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.05955, allocations: 0 / 435.9 MB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.05972, allocations: 71.89 kB / 436 MB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.05972, allocations: 4 kB / 436 MB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.05974, allocations: 8 kB / 436 MB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.05974, allocations: 4 kB / 436 MB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.05974, allocations: 8.188 kB / 436 MB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.06026, allocations: 0.5332 MB / 436.6 MB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.06039, allocations: 111.5 kB / 436.7 MB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.06044, allocations: 15.95 kB / 436.7 MB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.06062, allocations: 19.98 kB / 436.7 MB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.06065, allocations: 19.91 kB / 436.7 MB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-05/0.06069, allocations: 27.97 kB / 436.7 MB, free: 6.102 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003555/0.06104, allocations: 442.8 kB / 437.2 MB, free: 5.676 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06104, allocations: 4.031 kB / 437.2 MB, free: 5.672 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008173/0.06186, allocations: 299.6 kB / 437.5 MB, free: 5.379 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.0004286/0.06229, allocations: 306.6 kB / 437.8 MB, free: 5.07 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005619/0.06285, allocations: 0.4925 MB / 438.3 MB, free: 4.582 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.06285, allocations: 4.938 kB / 438.3 MB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.06297, allocations: 103.8 kB / 438.4 MB, free: 4.473 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008195/0.06379, allocations: 315 kB / 438.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.06548, allocations: 1.279 MB / 440 MB, free: 2.832 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.06561, allocations: 195.3 kB / 440.2 MB, free: 2.621 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004978/0.0661, allocations: 272 kB / 440.4 MB, free: 2.359 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.309e-05/0.0662, allocations: 72.42 kB / 440.5 MB, free: 2.289 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.0662, allocations: 0 / 440.5 MB, free: 2.289 MB / 410.7 MB Notification: Performance of Templates: time 0.1396/0.2058, allocations: 13.25 MB / 453.7 MB, free: 101.9 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","",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.5688719069585204]