Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009821/0.0009821, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009444/0.0009444, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8451/0.8451, allocations: 158.6 MB / 185.6 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.119/0.119, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 4 kB / 347.7 MB, free: 9.465 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.951e-05, allocations: 8.281 kB / 347.7 MB, free: 9.457 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.005667/0.005697, allocations: 7.965 MB / 355.6 MB, free: 1.449 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002936/0.008633, allocations: 2.48 MB / 358.1 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003653/0.008998, allocations: 31.75 kB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005545/0.009553, allocations: 234.4 kB / 358.4 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009412/0.01049, allocations: 0.6677 MB / 359 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.01211, allocations: 1.032 MB / 360.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00191/0.01402, allocations: 2.493 MB / 362.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006616/0.01468, allocations: 0.6005 MB / 363.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.01587, allocations: 1.15 MB / 364.3 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007429/0.01661, allocations: 0.7207 MB / 365 MB, free: 8.004 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.01673, allocations: 88 kB / 365.1 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003978/0.01713, allocations: 219.6 kB / 365.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002551/0.01738, allocations: 406.8 kB / 365.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.01768, allocations: 383.2 kB / 366.1 MB, free: 6.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009642/0.01865, allocations: 1.016 MB / 367.1 MB, free: 5.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.01865, allocations: 0 / 367.1 MB, free: 5.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01865, allocations: 0 / 367.1 MB, free: 5.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.879e-06/0.01866, allocations: 0 / 367.1 MB, free: 5.91 MB / 298.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.001463/0.02012, allocations: 1.295 MB / 368.4 MB, free: 4.574 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.02016, allocations: 8.031 kB / 368.4 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003973/0.02056, allocations: 224 kB / 368.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.02121, allocations: 0.5553 MB / 369.2 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.02141, allocations: 411 kB / 369.6 MB, free: 3.293 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.02152, allocations: 88.33 kB / 369.7 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.02285, allocations: 1.537 MB / 371.2 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.02287, allocations: 8.125 kB / 371.2 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.773e-05/0.02295, allocations: 39.94 kB / 371.3 MB, free: 1.316 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.922e-05/0.023, allocations: 45.3 kB / 371.3 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007049/0.0237, allocations: 467 kB / 371.8 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004709/0.02841, allocations: 7.264 MB / 379 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.02872, allocations: 181.9 kB / 379.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.02884, allocations: 94.55 kB / 379.3 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008572/0.0297, allocations: 0.735 MB / 380 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.02973, allocations: 41.62 kB / 380.1 MB, free: 8.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.984e-06/0.02973, allocations: 0 / 380.1 MB, free: 8.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001307/0.03104, allocations: 0.8302 MB / 380.9 MB, free: 7.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.03107, allocations: 55.62 kB / 381 MB, free: 7.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/0.03164, allocations: 0.776 MB / 381.7 MB, free: 6.465 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.03167, allocations: 37.64 kB / 381.8 MB, free: 6.422 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00031/0.03198, allocations: 0.653 MB / 382.4 MB, free: 5.758 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.271e-05/0.03206, allocations: 142.9 kB / 382.6 MB, free: 5.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/0.03225, allocations: 252.4 kB / 382.8 MB, free: 5.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.03241, allocations: 0.5664 MB / 383.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.03258, allocations: 118.5 kB / 383.5 MB, free: 4.672 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00365/0.03623, allocations: 1.172 MB / 384.7 MB, free: 3.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/0.03734, allocations: 1.419 MB / 386.1 MB, free: 1.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/0.03735, allocations: 8 kB / 386.1 MB, free: 1.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001674/0.03903, allocations: 1.021 MB / 387.1 MB, free: 56 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.03906, allocations: 16 kB / 387.1 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.03909, allocations: 24 kB / 387.2 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/0.03943, allocations: 36.05 kB / 387.2 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00079/0.04022, allocations: 283.4 kB / 387.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-05/0.04027, allocations: 47.8 kB / 387.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006221/0.04089, allocations: 48.41 kB / 387.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.04099, allocations: 83.98 kB / 387.6 MB, free: 15.53 MB / 330.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.0002988/0.04129, allocations: 263.9 kB / 387.9 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.04144, allocations: 91.47 kB / 388 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007225/0.04216, allocations: 382.6 kB / 388.4 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.04217, allocations: 11.98 kB / 388.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.04217, allocations: 0 / 388.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.04218, allocations: 0 / 388.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001505/0.04369, allocations: 0.9134 MB / 389.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.04369, allocations: 0 / 389.3 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.04396, allocations: 67.91 kB / 389.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.04397, allocations: 4.188 kB / 389.4 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.044, allocations: 15.98 kB / 389.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/0.044, allocations: 7.984 kB / 389.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.04401, allocations: 7.938 kB / 389.4 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/0.0447, allocations: 0.5253 MB / 389.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002075/0.0449, allocations: 107.5 kB / 390 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.04498, allocations: 8 kB / 390 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.04528, allocations: 16 kB / 390.1 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.04533, allocations: 27.89 kB / 390.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.04538, allocations: 32 kB / 390.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004918/0.04587, allocations: 438.9 kB / 390.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.04587, allocations: 3.938 kB / 390.5 MB, free: 12.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001111/0.04698, allocations: 239.9 kB / 390.8 MB, free: 12.27 MB / 330.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.0005291/0.04751, allocations: 204.6 kB / 391 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000893/0.04841, allocations: 0.4885 MB / 391.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.04841, allocations: 0 / 391.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.0486, allocations: 101.1 kB / 391.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.04988, allocations: 322.8 kB / 391.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/0.05242, allocations: 1.279 MB / 393.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.05256, allocations: 203.3 kB / 393.4 MB, free: 9.609 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004843/0.05305, allocations: 268.1 kB / 393.6 MB, free: 9.348 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.81e-05/0.05314, allocations: 72.42 kB / 393.7 MB, free: 9.277 MB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.05315, allocations: 8 kB / 393.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of Templates: time 0.01377/0.06692, allocations: 11.57 MB / 405.3 MB, free: 13.8 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.2263711490668356]