Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001403/0.001403, allocations: 165.2 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9387/0.9387, allocations: 177 MB / 205.2 MB, free: 5.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2465/0.2465, allocations: 34.86 MB / 296.6 MB, free: 428 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 378.7 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.541e-05, allocations: 3.297 kB / 378.7 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01344/0.01346, allocations: 18.21 MB / 397 MB, free: 116 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00733/0.02079, allocations: 7.186 MB / 404.1 MB, free: 8.902 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007076/0.0215, allocations: 31.75 kB / 404.2 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.02252, allocations: 377.4 kB / 404.5 MB, free: 8.5 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.02409, allocations: 0.7221 MB / 405.3 MB, free: 7.773 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.02731, allocations: 1.363 MB / 406.6 MB, free: 6.406 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002728/0.03003, allocations: 2.513 MB / 409.1 MB, free: 3.887 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008425/0.03088, allocations: 0.6005 MB / 409.7 MB, free: 3.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001969/0.03285, allocations: 1.34 MB / 411.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/0.03386, allocations: 0.7246 MB / 411.8 MB, free: 1.199 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.03399, allocations: 88 kB / 411.9 MB, free: 1.113 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001132/0.03513, allocations: 487 kB / 412.4 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.03548, allocations: 410.8 kB / 412.8 MB, free: 240 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.03609, allocations: 387.2 kB / 413.1 MB, free: 15.86 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.038, allocations: 1.277 MB / 414.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.03801, allocations: 0 / 414.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.03801, allocations: 0 / 414.4 MB, free: 14.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.03803, allocations: 0 / 414.4 MB, free: 14.57 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.001975/0.04, allocations: 1.344 MB / 415.8 MB, free: 13.19 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.04005, allocations: 16.03 kB / 415.8 MB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000575/0.04062, allocations: 216 kB / 416 MB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008451/0.04147, allocations: 0.563 MB / 416.6 MB, free: 12.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002276/0.0417, allocations: 407 kB / 417 MB, free: 11.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.04182, allocations: 80.38 kB / 417 MB, free: 11.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.04331, allocations: 1.491 MB / 418.5 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.04333, allocations: 12.12 kB / 418.5 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.04343, allocations: 43.94 kB / 418.6 MB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.106e-05/0.04349, allocations: 37.3 kB / 418.6 MB, free: 9.957 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.04435, allocations: 483 kB / 419.1 MB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004816/0.04917, allocations: 7.248 MB / 426.3 MB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003631/0.04953, allocations: 181.2 kB / 426.5 MB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/0.04968, allocations: 92.23 kB / 426.6 MB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.05089, allocations: 0.7977 MB / 427.4 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.05092, allocations: 45.56 kB / 427.4 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 2.104e-06/0.05093, allocations: 0 / 427.4 MB, free: 0.8008 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001545/0.05247, allocations: 0.8295 MB / 428.3 MB, free: 15.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.05251, allocations: 55.41 kB / 428.3 MB, free: 15.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006917/0.0532, allocations: 0.7953 MB / 429.1 MB, free: 15.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.05323, allocations: 29.7 kB / 429.1 MB, free: 15.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.05357, allocations: 0.6492 MB / 429.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.643e-05/0.05365, allocations: 142.9 kB / 429.9 MB, free: 14.22 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.05389, allocations: 248.4 kB / 430.2 MB, free: 13.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.05407, allocations: 0.5625 MB / 430.7 MB, free: 13.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002212/0.05429, allocations: 118.5 kB / 430.9 MB, free: 13.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.05501, allocations: 1.168 MB / 432 MB, free: 11.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001251/0.05626, allocations: 1.419 MB / 433.4 MB, free: 9.707 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.058e-05/0.05627, allocations: 8 kB / 433.5 MB, free: 9.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001345/0.05762, allocations: 1.021 MB / 434.5 MB, free: 8.672 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.05765, allocations: 20.03 kB / 434.5 MB, free: 8.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.05767, allocations: 28 kB / 434.5 MB, free: 8.625 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.033e-05/0.05771, allocations: 35.98 kB / 434.6 MB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/0.05832, allocations: 275.5 kB / 434.8 MB, free: 8.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.618e-05/0.05836, allocations: 51.8 kB / 434.9 MB, free: 8.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.05886, allocations: 48 kB / 434.9 MB, free: 8.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.7e-05/0.05893, allocations: 75.98 kB / 435 MB, free: 8.148 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.0002343/0.05917, allocations: 260 kB / 435.3 MB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.05929, allocations: 99.42 kB / 435.3 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006009/0.05989, allocations: 380.2 kB / 435.7 MB, free: 7.398 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.0599, allocations: 4 kB / 435.7 MB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.0599, allocations: 4 kB / 435.7 MB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.05991, allocations: 4 kB / 435.7 MB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.06102, allocations: 0.9177 MB / 436.6 MB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.06102, allocations: 0 / 436.6 MB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.06124, allocations: 67.91 kB / 436.7 MB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.06124, allocations: 4 kB / 436.7 MB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.106e-05/0.06126, allocations: 11.98 kB / 436.7 MB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.06127, allocations: 7.938 kB / 436.7 MB, free: 6.309 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.06127, allocations: 3.938 kB / 436.7 MB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.06186, allocations: 0.5414 MB / 437.3 MB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.06202, allocations: 107.5 kB / 437.4 MB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.06209, allocations: 11.95 kB / 437.4 MB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.06233, allocations: 12 kB / 437.4 MB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.06238, allocations: 31.83 kB / 437.4 MB, free: 5.559 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.859e-05/0.06241, allocations: 23.98 kB / 437.5 MB, free: 5.535 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003931/0.06281, allocations: 430.9 kB / 437.9 MB, free: 5.121 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06281, allocations: 0 / 437.9 MB, free: 5.121 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009859/0.06379, allocations: 311.6 kB / 438.2 MB, free: 4.816 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.0004786/0.06427, allocations: 309.1 kB / 438.5 MB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006831/0.06496, allocations: 0.4954 MB / 439 MB, free: 4.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.06496, allocations: 3.938 kB / 439 MB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.06512, allocations: 112.4 kB / 439.1 MB, free: 3.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.06616, allocations: 314.9 kB / 439.4 MB, free: 3.598 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.0682, allocations: 1.267 MB / 440.7 MB, free: 2.266 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.06836, allocations: 195.3 kB / 440.9 MB, free: 2.055 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006089/0.06897, allocations: 275.7 kB / 441.1 MB, free: 1.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.06908, allocations: 68.5 kB / 441.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of SimCode: time 1.623e-06/0.06908, allocations: 0 / 441.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of Templates: time 0.1432/0.2123, allocations: 13.26 MB / 454.5 MB, free: 101.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.4927018489688635]