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.00136/0.00136, allocations: 83.08 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001462/0.001462, allocations: 157.6 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.455/1.455, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.2148/0.2148, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 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.953e-06/1.953e-06, allocations: 0 / 442.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.58e-05, allocations: 2.281 kB / 442.6 MB, free: 5.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.2076/0.2077, allocations: 16.21 MB / 458.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008503/0.2162, allocations: 6.483 MB / 465.3 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009135/0.2171, allocations: 29.25 kB / 465.4 MB, free: 6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.2182, allocations: 373.9 kB / 465.7 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.2197, allocations: 0.7186 MB / 466.4 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.2234, allocations: 1.371 MB / 467.8 MB, free: 4.684 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003181/0.2266, allocations: 2.525 MB / 470.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009344/0.2276, allocations: 0.5584 MB / 470.9 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002337/0.2299, allocations: 1.342 MB / 472.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/0.231, allocations: 0.7245 MB / 473 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.2312, allocations: 86.62 kB / 473.1 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.2325, allocations: 492.5 kB / 473.5 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000367/0.2329, allocations: 398.8 kB / 473.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004975/0.2334, allocations: 383.5 kB / 474.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001896/0.2353, allocations: 1.646 MB / 475.9 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2353, allocations: 0 / 475.9 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2353, allocations: 0 / 475.9 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.2353, allocations: 0 / 475.9 MB, free: 0.9375 MB / 366.1 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.002277/0.2376, allocations: 1.223 MB / 477.2 MB, free: 52 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2376, allocations: 10.03 kB / 477.2 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000535/0.2381, allocations: 131 kB / 477.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.2392, allocations: 0.5495 MB / 477.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.2395, allocations: 409.3 kB / 478.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.2397, allocations: 79.25 kB / 478.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.242, allocations: 1.701 MB / 480 MB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.2421, allocations: 11.58 kB / 480 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/0.2422, allocations: 36.38 kB / 480.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-05/0.2422, allocations: 43.67 kB / 480.1 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001689/0.2439, allocations: 0.9676 MB / 481.1 MB, free: 13.17 MB / 382.1 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.006957/0.2509, allocations: 5.809 MB / 486.9 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.2515, allocations: 299.6 kB / 487.2 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002772/0.2518, allocations: 160.5 kB / 487.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/0.2534, allocations: 0.7722 MB / 488.1 MB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.2535, allocations: 45.38 kB / 488.2 MB, free: 7.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.884e-06/0.2535, allocations: 0 / 488.2 MB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00237/0.2558, allocations: 1.033 MB / 489.2 MB, free: 6.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.2559, allocations: 58.91 kB / 489.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009172/0.2568, allocations: 0.7881 MB / 490 MB, free: 6.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.225e-05/0.2568, allocations: 39.14 kB / 490.1 MB, free: 6.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004605/0.2573, allocations: 0.5963 MB / 490.7 MB, free: 5.461 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/0.2574, allocations: 143 kB / 490.8 MB, free: 5.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.2577, allocations: 234.7 kB / 491 MB, free: 5.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.2579, allocations: 386.8 kB / 491.4 MB, free: 4.715 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004445/0.2584, allocations: 242.5 kB / 491.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.2594, allocations: 0.966 MB / 492.6 MB, free: 3.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.2611, allocations: 1.323 MB / 493.9 MB, free: 1.469 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.2611, allocations: 4 kB / 494 MB, free: 1.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001991/0.2631, allocations: 1.201 MB / 495.2 MB, free: 264 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.097e-05/0.2631, allocations: 19.94 kB / 495.2 MB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-05/0.2632, allocations: 26.38 kB / 495.2 MB, free: 220 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.833e-05/0.2632, allocations: 40.06 kB / 495.2 MB, free: 180 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008815/0.2641, allocations: 283.4 kB / 495.5 MB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.902e-05/0.2641, allocations: 51.78 kB / 495.6 MB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007048/0.2648, allocations: 48 kB / 495.6 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.2649, allocations: 76 kB / 495.7 MB, free: 15.73 MB / 398.1 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.000472/0.2654, allocations: 329.1 kB / 496 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.2656, allocations: 79.53 kB / 496.1 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009777/0.2665, allocations: 493.9 kB / 496.6 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.2666, allocations: 0 / 496.6 MB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2666, allocations: 4 kB / 496.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.2666, allocations: 7.922 kB / 496.6 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001657/0.2682, allocations: 0.961 MB / 497.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.2682, allocations: 0 / 497.5 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003174/0.2685, allocations: 67.91 kB / 497.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.2685, allocations: 4 kB / 497.6 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.2686, allocations: 8 kB / 497.6 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.615e-05/0.2686, allocations: 7.984 kB / 497.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2686, allocations: 4 kB / 497.6 MB, free: 13.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.2697, allocations: 0.6374 MB / 498.3 MB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.2699, allocations: 103.5 kB / 498.4 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.27, allocations: 17.03 kB / 498.4 MB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.2704, allocations: 15.98 kB / 498.4 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.776e-05/0.2704, allocations: 23.91 kB / 498.4 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/0.2705, allocations: 27.97 kB / 498.5 MB, free: 12.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006706/0.2712, allocations: 498.9 kB / 498.9 MB, free: 12.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2712, allocations: 0 / 498.9 MB, free: 12.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001265/0.2724, allocations: 303.6 kB / 499.2 MB, free: 12.07 MB / 398.1 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.0006182/0.273, allocations: 318.6 kB / 499.5 MB, free: 11.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.2742, allocations: 0.6181 MB / 0.4884 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2742, allocations: 0 / 0.4884 GB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.2744, allocations: 134.4 kB / 0.4886 GB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001548/0.276, allocations: 310 kB / 0.4889 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.2783, allocations: 1.398 MB / 0.4902 GB, free: 9.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.2788, allocations: 401 kB / 0.4906 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007737/0.2796, allocations: 285.2 kB / 0.4909 GB, free: 8.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.2797, allocations: 68.48 kB / 0.491 GB, free: 8.516 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2797, allocations: 0 / 0.491 GB, free: 8.516 MB / 398.1 MB Notification: Performance of Templates: time 0.02491/0.3046, allocations: 13.18 MB / 0.5038 GB, free: 11.57 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.320383686572313]