Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001257/0.001257, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001306/0.001306, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.363/1.363, allocations: 230.3 MB / 258 MB, free: 8.258 MB / 206.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.2082/0.2082, allocations: 46.9 MB / 361.3 MB, free: 4.449 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.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 75.88 kB / 0.4971 GB, free: 7.566 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2771, allocations: 66.03 MB / 0.5616 GB, free: 4.637 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003108/0.2802, allocations: 1.874 MB / 0.5634 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001575/0.2818, allocations: 1.041 MB / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.363e-05/0.2818, allocations: 0 / 0.5644 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.2821, allocations: 67.72 kB / 0.5645 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003053/0.2824, allocations: 119.4 kB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.2827, allocations: 163 kB / 0.5647 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.283, allocations: 203.3 kB / 0.5649 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.267e-05/0.2831, allocations: 21.39 kB / 0.5649 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.2832, allocations: 79.75 kB / 0.565 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.2834, allocations: 115.6 kB / 0.5651 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.985e-05/0.2834, allocations: 12 kB / 0.5651 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.889e-05/0.2835, allocations: 40 kB / 0.5652 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.099e-05/0.2836, allocations: 47.88 kB / 0.5652 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.165e-05/0.2837, allocations: 67.59 kB / 0.5653 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002548/0.2839, allocations: 186.1 kB / 0.5655 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2839, allocations: 0 / 0.5655 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2839, allocations: 3.938 kB / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.2839, allocations: 0 / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00108/0.285, allocations: 0.5121 MB / 0.566 GB, free: 52 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.992e-05/0.285, allocations: 8.031 kB / 0.566 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.2851, allocations: 20.8 kB / 0.566 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.2854, allocations: 166.2 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.2854, allocations: 4.375 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.2854, allocations: 8.375 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005179/0.2859, allocations: 145.8 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.2859, allocations: 4 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.2859, allocations: 7.984 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.2859, allocations: 0 / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007576/0.2867, allocations: 159.8 kB / 0.5665 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.2872, allocations: 339.6 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008459/0.2881, allocations: 194.3 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004014/0.2885, allocations: 92.75 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.2885, allocations: 4 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005595/0.289, allocations: 163.2 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.2891, allocations: 4 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.003845/0.2929, allocations: 0.8205 MB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.2929, allocations: 51.41 kB / 0.5681 GB, free: 13.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.2932, allocations: 247.9 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.203e-05/0.2932, allocations: 25.7 kB / 0.5683 GB, free: 13.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.188e-05/0.2933, allocations: 132.1 kB / 0.5685 GB, free: 13.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.311e-05/0.2934, allocations: 43.83 kB / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.2935, allocations: 37.7 kB / 0.5685 GB, free: 13.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2936, allocations: 334.8 kB / 0.5689 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007533/0.2944, allocations: 164.4 kB / 0.569 GB, free: 12.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007512/0.2951, allocations: 173.8 kB / 0.5692 GB, free: 12.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.2965, allocations: 363.8 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2965, allocations: 0 / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001615/0.2982, allocations: 458.6 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.749e-05/0.2982, allocations: 63.39 kB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.2982, allocations: 3.938 kB / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2982, allocations: 0 / 0.57 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.2987, allocations: 71.91 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.2987, allocations: 0 / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.2991, allocations: 71.84 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.2991, allocations: 4 kB / 0.5702 GB, free: 11.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001418/0.2992, allocations: 138.9 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.2993, allocations: 19.86 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.3009, allocations: 402.7 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.3009, allocations: 4 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3009, allocations: 3.984 kB / 0.5707 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3009, allocations: 3.938 kB / 0.5707 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001846/0.3027, allocations: 0.6808 MB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3028, allocations: 0 / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.3031, allocations: 67.91 kB / 0.5715 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3031, allocations: 0 / 0.5715 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.3032, allocations: 3.938 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.696e-06/0.3032, allocations: 8 kB / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3032, allocations: 0 / 0.5715 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.3047, allocations: 485.8 kB / 0.5719 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.574e-05/0.3048, allocations: 11.91 kB / 0.5719 GB, free: 9.656 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.3048, allocations: 19.92 kB / 0.572 GB, free: 9.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.3052, allocations: 55.91 kB / 0.572 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.3054, allocations: 51.92 kB / 0.5721 GB, free: 9.531 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3054, allocations: 4 kB / 0.5721 GB, free: 9.527 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.3056, allocations: 184.6 kB / 0.5722 GB, free: 9.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3056, allocations: 0 / 0.5722 GB, free: 9.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.3059, allocations: 44 kB / 0.5723 GB, free: 9.305 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001426/0.3073, allocations: 392.2 kB / 0.5727 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.3089, allocations: 462.3 kB / 0.5731 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3089, allocations: 3.938 kB / 0.5731 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00077/0.3097, allocations: 183.7 kB / 0.5733 GB, free: 8.395 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.3101, allocations: 44.56 kB / 0.5733 GB, free: 8.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009844/0.311, allocations: 361.4 kB / 0.5737 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3114, allocations: 0.724 MB / 0.5744 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.3115, allocations: 21.42 kB / 0.5744 GB, free: 7.203 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.132e-05/0.3116, allocations: 23.42 kB / 0.5744 GB, free: 7.18 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3116, allocations: 0 / 0.5744 GB, free: 7.18 MB / 414.1 MB Notification: Performance of Templates: time 0.007518/0.3191, allocations: 3.655 MB / 0.578 GB, free: 3.539 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.652036174200475] Failed to read output from testmodel.py, exit status != 0: 0.32726232521235943 0.34083561799999995 0.053918631 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fed569657b0>