Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001673/0.001673, 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.275/1.275, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001294, allocations: 104.8 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3513/0.3513, allocations: 44.83 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3191, allocations: 62.02 MB / 0.5152 GB, free: 37.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003065/0.3222, allocations: 1.912 MB / 0.517 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.3237, allocations: 1.036 MB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.3238, allocations: 3.719 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.3241, allocations: 70.08 kB / 0.5181 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.3245, allocations: 96.66 kB / 0.5182 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.325, allocations: 186.2 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002541/0.3253, allocations: 193.3 kB / 0.5186 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.3254, allocations: 21.27 kB / 0.5186 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.3256, allocations: 70.23 kB / 0.5186 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.3257, allocations: 104.7 kB / 0.5187 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.433e-05/0.3257, allocations: 5.875 kB / 0.5187 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3259, allocations: 46.67 kB / 0.5188 GB, free: 35.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.553e-05/0.326, allocations: 38.53 kB / 0.5188 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.565e-05/0.326, allocations: 66 kB / 0.5189 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.3263, allocations: 183.9 kB / 0.5191 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3263, allocations: 0 / 0.5191 GB, free: 35.36 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3263, allocations: 3.938 kB / 0.5191 GB, free: 35.36 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.3263, allocations: 0 / 0.5191 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.00101/0.3273, allocations: 0.5644 MB / 0.5196 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.3274, allocations: 11.59 kB / 0.5196 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.625e-05/0.3275, allocations: 21.25 kB / 0.5197 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.3277, allocations: 240.1 kB / 0.5199 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3277, allocations: 3.125 kB / 0.5199 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.3278, allocations: 9.938 kB / 0.5199 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.3282, allocations: 149.1 kB / 0.52 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.3283, allocations: 0 / 0.52 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.3283, allocations: 7.375 kB / 0.52 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3283, allocations: 2.875 kB / 0.52 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006741/0.329, allocations: 160.9 kB / 0.5202 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007621/0.3297, allocations: 431.8 kB / 0.5206 GB, free: 34.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.3305, allocations: 201.4 kB / 0.5208 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.3308, allocations: 98.22 kB / 0.5209 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.3309, allocations: 3.938 kB / 0.5209 GB, free: 34.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005228/0.3314, allocations: 162.2 kB / 0.5211 GB, free: 34.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.3314, allocations: 0 / 0.5211 GB, free: 34.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.003457/0.3349, allocations: 0.8355 MB / 0.5219 GB, free: 33.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.3349, allocations: 58.19 kB / 0.5219 GB, free: 33.81 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.3351, allocations: 247.6 kB / 0.5222 GB, free: 33.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.396e-05/0.3352, allocations: 32.58 kB / 0.5222 GB, free: 33.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.149e-05/0.3352, allocations: 119.7 kB / 0.5223 GB, free: 33.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.3353, allocations: 42.95 kB / 0.5223 GB, free: 33.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.59e-05/0.3353, allocations: 36.11 kB / 0.5224 GB, free: 33.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.3354, allocations: 330.9 kB / 0.5227 GB, free: 33.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/0.3361, allocations: 172.8 kB / 0.5229 GB, free: 33.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.3367, allocations: 179.8 kB / 0.523 GB, free: 33.08 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.338, allocations: 378.2 kB / 0.5234 GB, free: 32.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.338, allocations: 0 / 0.5234 GB, free: 32.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00142/0.3394, allocations: 469.8 kB / 0.5238 GB, free: 32.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.591e-05/0.3395, allocations: 62.45 kB / 0.5239 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3395, allocations: 0 / 0.5239 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.3395, allocations: 0 / 0.5239 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.3399, allocations: 75.59 kB / 0.524 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3399, allocations: 7.219 kB / 0.524 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.3403, allocations: 60.53 kB / 0.524 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.421e-05/0.3403, allocations: 2.719 kB / 0.524 GB, free: 32.71 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.0001081/0.3405, allocations: 146.8 kB / 0.5242 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.57e-05/0.3405, allocations: 24.06 kB / 0.5242 GB, free: 32.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.3419, allocations: 412.7 kB / 0.5246 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.3419, allocations: 2.625 kB / 0.5246 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.342, allocations: 3.938 kB / 0.5246 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.342, allocations: 7.422 kB / 0.5246 GB, free: 32.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001601/0.3436, allocations: 0.7227 MB / 0.5253 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.3436, allocations: 0 / 0.5253 GB, free: 32.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00035/0.3439, allocations: 66.44 kB / 0.5254 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.344, allocations: 10.3 kB / 0.5254 GB, free: 32.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.344, allocations: 7.938 kB / 0.5254 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.344, allocations: 2.844 kB / 0.5254 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.344, allocations: 0 / 0.5254 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/0.3464, allocations: 1.244 MB / 0.5266 GB, free: 31.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.3464, allocations: 94.58 kB / 0.5267 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.3465, allocations: 10.27 kB / 0.5267 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.3469, allocations: 53.31 kB / 0.5268 GB, free: 31.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.3471, allocations: 55.23 kB / 0.5268 GB, free: 31.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3471, allocations: 3.094 kB / 0.5268 GB, free: 31.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001683/0.3473, allocations: 188.3 kB / 0.527 GB, free: 30.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3473, allocations: 4 kB / 0.527 GB, free: 30.97 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004513/0.3477, allocations: 45.69 kB / 0.5271 GB, free: 30.96 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.001031/0.3488, allocations: 411.2 kB / 0.5274 GB, free: 30.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.3503, allocations: 481.9 kB / 0.5279 GB, free: 30.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3503, allocations: 6.719 kB / 0.5279 GB, free: 30.56 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007036/0.351, allocations: 184 kB / 0.5281 GB, free: 30.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.3514, allocations: 39.97 kB / 0.5281 GB, free: 30.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009838/0.3524, allocations: 0.5449 MB / 0.5287 GB, free: 30.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.3526, allocations: 0.7357 MB / 0.5294 GB, free: 29.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.3527, allocations: 35.02 kB / 0.5294 GB, free: 29.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.426e-05/0.3528, allocations: 23.25 kB / 0.5294 GB, free: 29.39 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.3528, allocations: 0 / 0.5294 GB, free: 29.39 MB / 378.7 MB Notification: Performance of Templates: time 0.007551/0.3604, allocations: 3.281 MB / 0.5326 GB, free: 29.12 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1)