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.001315/0.001315, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.001626/0.001626, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9838/0.9838, allocations: 177 MB / 204.8 MB, free: 5.602 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.2709/0.2709, allocations: 34.86 MB / 296.3 MB, free: 0.5352 MB / 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.974e-06/1.974e-06, allocations: 0 / 378.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.777e-05, allocations: 3.297 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.007084/0.007112, allocations: 8.05 MB / 386.8 MB, free: 10 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.01029, allocations: 2.48 MB / 389.3 MB, free: 7.512 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003798/0.01067, allocations: 27.75 kB / 389.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005648/0.01123, allocations: 246.3 kB / 389.5 MB, free: 7.242 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009391/0.01217, allocations: 0.6716 MB / 390.2 MB, free: 6.566 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001675/0.01385, allocations: 1.013 MB / 391.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002484/0.01633, allocations: 2.489 MB / 393.7 MB, free: 3.055 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001026/0.01736, allocations: 0.6005 MB / 394.3 MB, free: 2.438 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.0188, allocations: 1.138 MB / 395.5 MB, free: 1.297 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000824/0.01962, allocations: 0.7285 MB / 396.2 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.01975, allocations: 88 kB / 396.3 MB, free: 492 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004581/0.02021, allocations: 223.6 kB / 396.5 MB, free: 268 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002866/0.0205, allocations: 398.9 kB / 396.9 MB, free: 15.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003397/0.02084, allocations: 391.2 kB / 397.3 MB, free: 15.49 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.02186, allocations: 1.024 MB / 398.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.02186, allocations: 3.938 kB / 398.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.02186, allocations: 0 / 398.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.02187, allocations: 0 / 398.3 MB, free: 14.46 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.001787/0.02366, allocations: 1.295 MB / 399.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.0237, allocations: 8.031 kB / 399.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003981/0.0241, allocations: 220 kB / 399.8 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.02476, allocations: 0.5591 MB / 400.4 MB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000196/0.02495, allocations: 407 kB / 400.8 MB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.02506, allocations: 100.3 kB / 400.9 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.02622, allocations: 1.487 MB / 402.4 MB, free: 9.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.02624, allocations: 8.125 kB / 402.4 MB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.113e-05/0.02631, allocations: 43.94 kB / 402.4 MB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.81e-05/0.02636, allocations: 37.3 kB / 402.4 MB, free: 9.883 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006693/0.02703, allocations: 475 kB / 402.9 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004472/0.0315, allocations: 7.244 MB / 410.1 MB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003173/0.03182, allocations: 189.2 kB / 410.3 MB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.03194, allocations: 96.22 kB / 410.4 MB, free: 1.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000826/0.03277, allocations: 0.7311 MB / 411.2 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.0328, allocations: 45.78 kB / 411.2 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.813e-06/0.0328, allocations: 0 / 411.2 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.001309/0.03411, allocations: 0.8202 MB / 412 MB, free: 15.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.03415, allocations: 59.34 kB / 412.1 MB, free: 15.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005774/0.03472, allocations: 0.7798 MB / 412.9 MB, free: 15.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.03475, allocations: 37.7 kB / 412.9 MB, free: 15.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005577/0.03531, allocations: 0.6569 MB / 413.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/0.03538, allocations: 138.9 kB / 413.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.03557, allocations: 252.4 kB / 413.9 MB, free: 13.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.03573, allocations: 0.5625 MB / 414.5 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.0359, allocations: 118.5 kB / 414.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006599/0.03656, allocations: 1.176 MB / 415.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009343/0.03749, allocations: 1.412 MB / 417.2 MB, free: 9.707 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.0375, allocations: 8 kB / 417.2 MB, free: 9.699 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001045/0.03855, allocations: 1.017 MB / 418.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.03858, allocations: 16 kB / 418.2 MB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.0386, allocations: 24 kB / 418.3 MB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.77e-05/0.03864, allocations: 36 kB / 418.3 MB, free: 8.605 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004744/0.03911, allocations: 279.5 kB / 418.6 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.764e-05/0.03914, allocations: 51.78 kB / 418.6 MB, free: 8.281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.03948, allocations: 52 kB / 418.7 MB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.03954, allocations: 72 kB / 418.7 MB, free: 8.16 MB / 394.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.0002052/0.03975, allocations: 260.2 kB / 419 MB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.03983, allocations: 99.42 kB / 419.1 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.0403, allocations: 384.3 kB / 419.5 MB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002788/0.04058, allocations: 4 kB / 419.5 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.04058, allocations: 0 / 419.5 MB, free: 7.402 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.04059, allocations: 4 kB / 419.5 MB, free: 7.398 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009418/0.04153, allocations: 0.9061 MB / 420.4 MB, free: 6.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.04154, allocations: 4 kB / 420.4 MB, free: 6.418 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001698/0.04171, allocations: 75.89 kB / 420.5 MB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.04171, allocations: 0 / 420.5 MB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.04173, allocations: 12 kB / 420.5 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.04173, allocations: 4.188 kB / 420.5 MB, free: 6.328 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.04173, allocations: 11.88 kB / 420.5 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004832/0.04222, allocations: 0.5334 MB / 421 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.04235, allocations: 107.4 kB / 421.1 MB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.539e-05/0.04239, allocations: 11.94 kB / 421.1 MB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.04257, allocations: 19.98 kB / 421.2 MB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.04261, allocations: 31.84 kB / 421.2 MB, free: 5.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.04264, allocations: 19.97 kB / 421.2 MB, free: 5.551 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000336/0.04298, allocations: 443 kB / 421.6 MB, free: 5.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.04298, allocations: 0 / 421.6 MB, free: 5.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006527/0.04363, allocations: 235.9 kB / 421.9 MB, free: 4.895 MB / 394.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.0002989/0.04393, allocations: 174.9 kB / 422 MB, free: 4.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.04453, allocations: 0.493 MB / 422.5 MB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.04454, allocations: 4 kB / 422.5 MB, free: 4.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.04465, allocations: 107.8 kB / 422.6 MB, free: 4.109 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007763/0.04543, allocations: 316.1 kB / 423 MB, free: 3.805 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.04706, allocations: 1.271 MB / 424.2 MB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.04718, allocations: 199.3 kB / 424.4 MB, free: 2.254 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004667/0.04765, allocations: 272.7 kB / 424.7 MB, free: 1.988 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.04774, allocations: 64.48 kB / 424.8 MB, free: 1.926 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/0.04774, allocations: 0 / 424.8 MB, free: 1.926 MB / 394.7 MB Notification: Performance of Templates: time 0.0139/0.06164, allocations: 11.53 MB / 436.3 MB, free: 6.648 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.5970408977009356]