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.001452/0.001452, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.00204/0.00204, allocations: 161.7 kB / 23.52 MB, free: 0.9219 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 1.403/1.403, allocations: 158.6 MB / 185.3 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.2164/0.2164, allocations: 32.37 MB / 270 MB, free: 14.78 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 1.573e-06/1.573e-06, allocations: 0 / 346.9 MB, free: 9.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/2.801e-05, allocations: 6.25 kB / 346.9 MB, free: 9.812 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01616/0.01619, allocations: 16.09 MB / 363 MB, free: 9.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.02696, allocations: 6.47 MB / 369.5 MB, free: 3.164 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.02801, allocations: 35.69 kB / 369.5 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001343/0.02935, allocations: 373.5 kB / 369.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.03189, allocations: 0.7105 MB / 370.6 MB, free: 2.047 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004223/0.03611, allocations: 1.378 MB / 372 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003895/0.04, allocations: 2.513 MB / 374.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.04135, allocations: 0.6005 MB / 375.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.04435, allocations: 1.332 MB / 376.4 MB, free: 12.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.04571, allocations: 0.7245 MB / 377.2 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001881/0.0459, allocations: 88 kB / 377.2 MB, free: 11.38 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.04745, allocations: 490.9 kB / 377.7 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005213/0.04797, allocations: 390.9 kB / 378.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00066/0.04863, allocations: 391.2 kB / 378.5 MB, free: 10.13 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002641/0.05127, allocations: 1.593 MB / 380.1 MB, free: 8.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.05128, allocations: 0 / 380.1 MB, free: 8.535 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.05128, allocations: 0 / 380.1 MB, free: 8.535 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.05129, allocations: 7.938 kB / 380.1 MB, free: 8.527 MB / 314.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.002864/0.05416, allocations: 1.229 MB / 381.3 MB, free: 7.262 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.0542, allocations: 8.031 kB / 381.3 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006871/0.05488, allocations: 220 kB / 381.5 MB, free: 7.039 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.05604, allocations: 0.5759 MB / 382.1 MB, free: 6.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003816/0.05642, allocations: 411 kB / 382.5 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/0.05659, allocations: 84.38 kB / 382.6 MB, free: 5.887 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.05919, allocations: 1.757 MB / 384.4 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/0.05921, allocations: 12.12 kB / 384.4 MB, free: 3.871 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.05933, allocations: 39.94 kB / 384.4 MB, free: 3.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.809e-05/0.0594, allocations: 49.23 kB / 384.5 MB, free: 3.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002018/0.06142, allocations: 0.961 MB / 385.4 MB, free: 2.824 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007712/0.06913, allocations: 5.845 MB / 391.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000626/0.06976, allocations: 293.6 kB / 391.5 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002992/0.07005, allocations: 153.4 kB / 391.7 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002048/0.0721, allocations: 0.7822 MB / 392.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.07215, allocations: 38.8 kB / 392.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.07215, allocations: 0 / 392.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.002618/0.07477, allocations: 1.046 MB / 393.6 MB, free: 10.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.07482, allocations: 55.41 kB / 393.6 MB, free: 10.31 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.07591, allocations: 0.7888 MB / 394.4 MB, free: 9.516 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/0.07596, allocations: 33.7 kB / 394.4 MB, free: 9.477 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005314/0.07649, allocations: 0.5957 MB / 395 MB, free: 8.875 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.07664, allocations: 146.9 kB / 395.2 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003267/0.07697, allocations: 242.7 kB / 395.4 MB, free: 8.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002509/0.07722, allocations: 386.7 kB / 395.8 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.07768, allocations: 246.5 kB / 396 MB, free: 7.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.07887, allocations: 0.9622 MB / 397 MB, free: 6.539 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.08095, allocations: 1.322 MB / 398.3 MB, free: 4.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.08096, allocations: 8 kB / 398.3 MB, free: 4.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002222/0.08318, allocations: 1.263 MB / 399.6 MB, free: 3.578 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.168e-05/0.08322, allocations: 16 kB / 399.6 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.711e-05/0.08325, allocations: 28 kB / 399.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.079e-05/0.0833, allocations: 32 kB / 399.7 MB, free: 3.504 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008733/0.08418, allocations: 283.4 kB / 399.9 MB, free: 3.227 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.722e-05/0.08423, allocations: 51.8 kB / 400 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.08492, allocations: 52.39 kB / 400 MB, free: 3.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.08503, allocations: 80 kB / 400.1 MB, free: 3.047 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.0005031/0.08553, allocations: 333.1 kB / 400.4 MB, free: 2.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.08571, allocations: 95.42 kB / 400.5 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009865/0.0867, allocations: 487.5 kB / 401 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.0867, allocations: 0 / 401 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.08671, allocations: 8 kB / 401 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.08671, allocations: 0 / 401 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001775/0.08849, allocations: 0.9524 MB / 402 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.0885, allocations: 4 kB / 402 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/0.08881, allocations: 71.84 kB / 402 MB, free: 1.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.08882, allocations: 4 kB / 402 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.943e-05/0.08885, allocations: 11.98 kB / 402.1 MB, free: 1.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.08886, allocations: 12.17 kB / 402.1 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.08886, allocations: 0 / 402.1 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.08995, allocations: 0.6489 MB / 402.7 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000261/0.09022, allocations: 111.5 kB / 402.8 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.438e-05/0.0903, allocations: 8 kB / 402.8 MB, free: 216 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/0.09069, allocations: 15.98 kB / 402.9 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.813e-05/0.09075, allocations: 35.83 kB / 402.9 MB, free: 164 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.0908, allocations: 23.98 kB / 402.9 MB, free: 140 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007183/0.09152, allocations: 0.4912 MB / 403.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.09152, allocations: 4.062 kB / 403.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001211/0.09273, allocations: 299.6 kB / 403.7 MB, free: 15.36 MB / 346.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.0007528/0.09348, allocations: 337.8 kB / 404 MB, free: 15.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.09473, allocations: 0.6143 MB / 404.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.09474, allocations: 0 / 404.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002653/0.095, allocations: 139.7 kB / 404.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.09649, allocations: 318.5 kB / 405.1 MB, free: 13.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.09917, allocations: 1.42 MB / 406.5 MB, free: 12.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.09967, allocations: 393 kB / 406.9 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000836/0.1005, allocations: 290 kB / 407.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.1007, allocations: 68.5 kB / 407.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of SimCode: time 1.162e-06/0.1007, allocations: 0 / 407.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of Templates: time 0.02581/0.1265, allocations: 13.31 MB / 420.6 MB, free: 14.52 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.141908854013309]