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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001697/0.001697, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001064/0.001064, allocations: 101.3 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3625/0.3625, allocations: 44.84 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 68.17 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3158/0.3169, allocations: 62.02 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.002798/0.3198, allocations: 1.916 MB / 0.517 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.3211, allocations: 1.008 MB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.197e-05/0.3211, allocations: 3.938 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002176/0.3214, allocations: 58.88 kB / 0.5181 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002353/0.3216, allocations: 101.5 kB / 0.5182 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.3219, allocations: 143.5 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.3221, allocations: 188.4 kB / 0.5185 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.3222, allocations: 25.14 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.947e-05/0.3223, allocations: 73.7 kB / 0.5186 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.3224, allocations: 101.2 kB / 0.5187 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.3225, allocations: 8.688 kB / 0.5187 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.882e-05/0.3226, allocations: 32.66 kB / 0.5187 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.995e-05/0.3226, allocations: 34.78 kB / 0.5187 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.656e-05/0.3227, allocations: 67.25 kB / 0.5188 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.3229, allocations: 185.4 kB / 0.519 GB, free: 35.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3229, allocations: 7.938 kB / 0.519 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.323, allocations: 0 / 0.519 GB, free: 35.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.323, allocations: 0 / 0.519 GB, free: 35.36 MB / 378.7 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.0009244/0.3239, allocations: 0.5567 MB / 0.5195 GB, free: 34.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3239, allocations: 7.688 kB / 0.5195 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.541e-05/0.324, allocations: 18.09 kB / 0.5196 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.3242, allocations: 241 kB / 0.5198 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.3242, allocations: 7.281 kB / 0.5198 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.237e-05/0.3243, allocations: 9.938 kB / 0.5198 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/0.3247, allocations: 147 kB / 0.5199 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3248, allocations: 0 / 0.5199 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3248, allocations: 2.938 kB / 0.52 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.3248, allocations: 4 kB / 0.52 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.3255, allocations: 162 kB / 0.5201 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.3259, allocations: 370.4 kB / 0.5205 GB, free: 34.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007005/0.3266, allocations: 195.5 kB / 0.5206 GB, free: 34.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.3269, allocations: 91.02 kB / 0.5207 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.115e-05/0.327, allocations: 2.875 kB / 0.5207 GB, free: 34.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005016/0.3275, allocations: 163.3 kB / 0.5209 GB, free: 34.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.3275, allocations: 3.938 kB / 0.5209 GB, free: 34.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.003309/0.3308, allocations: 0.8169 MB / 0.5217 GB, free: 33.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.3308, allocations: 58.19 kB / 0.5218 GB, free: 33.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.331, allocations: 241.5 kB / 0.522 GB, free: 33.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3311, allocations: 28.58 kB / 0.522 GB, free: 33.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.3311, allocations: 123.4 kB / 0.5221 GB, free: 33.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.709e-05/0.3312, allocations: 36.67 kB / 0.5222 GB, free: 33.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.642e-05/0.3312, allocations: 40.42 kB / 0.5222 GB, free: 33.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.61e-05/0.3313, allocations: 331.4 kB / 0.5225 GB, free: 33.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006497/0.332, allocations: 164.5 kB / 0.5227 GB, free: 33.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006251/0.3326, allocations: 167.7 kB / 0.5228 GB, free: 33.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.3338, allocations: 370.5 kB / 0.5232 GB, free: 32.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3338, allocations: 0 / 0.5232 GB, free: 32.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001349/0.3352, allocations: 453.7 kB / 0.5236 GB, free: 32.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.53e-05/0.3353, allocations: 62.31 kB / 0.5237 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3353, allocations: 0 / 0.5237 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3353, allocations: 112 / 0.5237 GB, free: 32.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.3357, allocations: 76.61 kB / 0.5238 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.3357, allocations: 10.31 kB / 0.5238 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.3361, allocations: 63.47 kB / 0.5238 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.3361, allocations: 9.188 kB / 0.5238 GB, free: 32.73 MB / 378.7 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.0001352/0.3363, allocations: 139.5 kB / 0.524 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.3363, allocations: 15.97 kB / 0.524 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/0.3378, allocations: 395.6 kB / 0.5244 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.3378, allocations: 3.156 kB / 0.5244 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3378, allocations: 7.938 kB / 0.5244 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3378, allocations: 7.406 kB / 0.5244 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001562/0.3394, allocations: 0.7027 MB / 0.5251 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3394, allocations: 0 / 0.5251 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/0.3397, allocations: 74.92 kB / 0.5251 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.3397, allocations: 4.5 kB / 0.5251 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.3398, allocations: 2.969 kB / 0.5251 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.3398, allocations: 0 / 0.5251 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3398, allocations: 0 / 0.5251 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002147/0.3419, allocations: 1.235 MB / 0.5263 GB, free: 31.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.973e-05/0.342, allocations: 91.95 kB / 0.5264 GB, free: 31.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.342, allocations: 10.09 kB / 0.5264 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003864/0.3424, allocations: 60.06 kB / 0.5265 GB, free: 31.14 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.3426, allocations: 43.78 kB / 0.5265 GB, free: 31.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.3426, allocations: 13.92 kB / 0.5266 GB, free: 31.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.3428, allocations: 182.7 kB / 0.5267 GB, free: 31.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3428, allocations: 0 / 0.5267 GB, free: 31.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003936/0.3432, allocations: 45.19 kB / 0.5268 GB, free: 31.01 MB / 378.7 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.000812/0.344, allocations: 405.1 kB / 0.5272 GB, free: 30.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.3454, allocations: 482.8 kB / 0.5276 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3454, allocations: 0 / 0.5276 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006617/0.3461, allocations: 181 kB / 0.5278 GB, free: 30.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.3465, allocations: 33.61 kB / 0.5278 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.3474, allocations: 0.5249 MB / 0.5283 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.3475, allocations: 0.7314 MB / 0.529 GB, free: 29.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001102/0.3476, allocations: 24.03 kB / 0.5291 GB, free: 29.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.21e-05/0.3477, allocations: 19.75 kB / 0.5291 GB, free: 29.45 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3477, allocations: 0 / 0.5291 GB, free: 29.45 MB / 378.7 MB Notification: Performance of Templates: time 0.007436/0.3552, allocations: 3.248 MB / 0.5323 GB, free: 29.19 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test33.makefile (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)