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.0009061/0.0009061, allocations: 82.64 kB / 21.42 MB, free: 3.074 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.000896/0.000896, allocations: 172.1 kB / 24.82 MB, free: 8.773 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 0.9576/0.9576, allocations: 177.1 MB / 205.3 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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.2533/0.2533, allocations: 32.8 MB / 294.6 MB, free: 1.258 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.273e-06/1.273e-06, allocations: 0 / 376.5 MB, free: 4.441 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.916e-05, allocations: 2.312 kB / 376.5 MB, free: 4.438 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.006566/0.006585, allocations: 7.966 MB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003336/0.009921, allocations: 2.457 MB / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004663/0.01039, allocations: 31.75 kB / 386.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005579/0.01094, allocations: 250.3 kB / 387.2 MB, free: 9.688 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.01199, allocations: 0.6716 MB / 387.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.0139, allocations: 1.013 MB / 388.8 MB, free: 7.996 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002035/0.01594, allocations: 2.485 MB / 391.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008443/0.01678, allocations: 0.5966 MB / 391.9 MB, free: 4.895 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.01826, allocations: 1.142 MB / 393.1 MB, free: 3.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000915/0.01918, allocations: 0.7363 MB / 393.8 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.01935, allocations: 84 kB / 393.9 MB, free: 2.93 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.01983, allocations: 223.6 kB / 394.1 MB, free: 2.711 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002678/0.0201, allocations: 402.8 kB / 394.5 MB, free: 2.316 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.02043, allocations: 387.2 kB / 394.9 MB, free: 1.938 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.02165, allocations: 1.012 MB / 395.9 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.02165, allocations: 0 / 395.9 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.02166, allocations: 0 / 395.9 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.02167, allocations: 0 / 395.9 MB, free: 0.9219 MB / 362.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.00131/0.02298, allocations: 1.279 MB / 397.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.02301, allocations: 8.031 kB / 397.2 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000339/0.02335, allocations: 231.9 kB / 397.4 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/0.0239, allocations: 0.5318 MB / 397.9 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001658/0.02406, allocations: 407 kB / 398.3 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.524e-05/0.02416, allocations: 88.31 kB / 398.4 MB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009142/0.02507, allocations: 1.395 MB / 399.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.02509, allocations: 4.125 kB / 399.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/0.02515, allocations: 47.94 kB / 399.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.0252, allocations: 45.23 kB / 399.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.02563, allocations: 401.5 kB / 400.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003723/0.02935, allocations: 7.244 MB / 407.5 MB, free: 4.562 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002087/0.02956, allocations: 161.2 kB / 407.7 MB, free: 4.395 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.655e-05/0.02964, allocations: 76.28 kB / 407.8 MB, free: 4.316 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006921/0.03033, allocations: 0.737 MB / 408.5 MB, free: 3.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.03036, allocations: 45.56 kB / 408.6 MB, free: 3.516 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 2.655e-06/0.03036, allocations: 3.984 kB / 408.6 MB, free: 3.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009283/0.03129, allocations: 0.6893 MB / 409.3 MB, free: 2.785 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.219e-05/0.03131, allocations: 55.41 kB / 409.3 MB, free: 2.719 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.03182, allocations: 0.787 MB / 410.1 MB, free: 1.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.03184, allocations: 33.7 kB / 410.1 MB, free: 1.871 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002657/0.03211, allocations: 0.6569 MB / 410.8 MB, free: 1.207 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.03218, allocations: 146.9 kB / 410.9 MB, free: 1.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.03235, allocations: 256.2 kB / 411.2 MB, free: 0.8047 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.03251, allocations: 0.5663 MB / 411.7 MB, free: 232 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/0.03261, allocations: 90.53 kB / 411.8 MB, free: 140 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005091/0.03312, allocations: 1.168 MB / 413 MB, free: 14.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000773/0.03389, allocations: 1.385 MB / 414.4 MB, free: 12.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.0339, allocations: 8 kB / 414.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0008387/0.03474, allocations: 0.9504 MB / 415.3 MB, free: 11.63 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.03476, allocations: 18.03 kB / 415.4 MB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.03477, allocations: 28 kB / 415.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.03481, allocations: 36 kB / 415.4 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.03521, allocations: 271.5 kB / 415.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.469e-05/0.03523, allocations: 51.8 kB / 415.7 MB, free: 11.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003251/0.03556, allocations: 51.98 kB / 415.8 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/0.03561, allocations: 68 kB / 415.9 MB, free: 11.12 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.0001985/0.03581, allocations: 257.2 kB / 416.1 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.04e-05/0.03589, allocations: 95.42 kB / 416.2 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/0.03653, allocations: 371.4 kB / 416.6 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.03653, allocations: 4 kB / 416.6 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.03654, allocations: 0 / 416.6 MB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.03654, allocations: 4 kB / 416.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007595/0.0373, allocations: 0.78 MB / 417.3 MB, free: 9.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.0373, allocations: 4 kB / 417.4 MB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.03745, allocations: 67.91 kB / 417.4 MB, free: 9.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.03745, allocations: 7.938 kB / 417.4 MB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.03747, allocations: 11.98 kB / 417.4 MB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.03747, allocations: 12.19 kB / 417.5 MB, free: 9.441 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.03747, allocations: 3.938 kB / 417.5 MB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003725/0.03785, allocations: 0.5098 MB / 418 MB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.03797, allocations: 107.4 kB / 418.1 MB, free: 8.777 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.03801, allocations: 8 kB / 418.1 MB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.03816, allocations: 15.94 kB / 418.1 MB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.517e-05/0.03819, allocations: 27.89 kB / 418.1 MB, free: 8.727 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.03822, allocations: 19.98 kB / 418.1 MB, free: 8.707 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002189/0.03844, allocations: 410.8 kB / 418.5 MB, free: 8.312 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03844, allocations: 0 / 418.5 MB, free: 8.312 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005861/0.03902, allocations: 235.9 kB / 418.8 MB, free: 8.082 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.0002198/0.03924, allocations: 175 kB / 418.9 MB, free: 7.902 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004331/0.03967, allocations: 480.7 kB / 419.4 MB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.03968, allocations: 384 / 419.4 MB, free: 7.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.894e-05/0.03977, allocations: 99.44 kB / 419.5 MB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007194/0.04048, allocations: 312.4 kB / 419.8 MB, free: 7.039 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.04189, allocations: 1.282 MB / 421.1 MB, free: 5.691 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.042, allocations: 195.3 kB / 421.3 MB, free: 5.48 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003186/0.04232, allocations: 166 kB / 421.4 MB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.04279, allocations: 369.9 kB / 421.8 MB, free: 4.957 MB / 394.7 MB Notification: Performance of SimCode: time 7.52e-07/0.04279, allocations: 0 / 421.8 MB, free: 4.957 MB / 394.7 MB Notification: Performance of Templates: time 0.01529/0.05809, allocations: 12.7 MB / 434.5 MB, free: 8.477 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 240] 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","",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.2035810500383377]