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/ModelicaServices trunk/package.mo", uses=false) 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/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 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.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/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001718/0.001719, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.444/2.444, allocations: 227.4 MB / 246.9 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.433/0.433, allocations: 46.11 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 76.75 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1996, allocations: 62.45 MB / 479.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.005338/0.205, allocations: 1.903 MB / 481.8 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.2076, allocations: 1.048 MB / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.2077, allocations: 0 / 482.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004511/0.2082, allocations: 63.8 kB / 483 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00049/0.2088, allocations: 99.58 kB / 483 MB, free: 2.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008344/0.2096, allocations: 191.1 kB / 483.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003856/0.21, allocations: 183.5 kB / 483.4 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002037/0.2102, allocations: 33.53 kB / 483.4 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001756/0.2104, allocations: 71.69 kB / 483.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002227/0.2106, allocations: 99.56 kB / 483.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.2107, allocations: 8 kB / 483.6 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.2109, allocations: 39.94 kB / 483.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.211, allocations: 35.89 kB / 483.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.2112, allocations: 67.58 kB / 483.8 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.2115, allocations: 135.9 kB / 483.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.138e-06/0.2115, allocations: 8 kB / 483.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2115, allocations: 0 / 483.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2115, allocations: 4 kB / 483.9 MB, free: 1.723 MB / 350.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.001547/0.2131, allocations: 0.5643 MB / 484.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.2132, allocations: 16.86 kB / 484.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.62e-05/0.2133, allocations: 20.75 kB / 484.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.2136, allocations: 232.9 kB / 484.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.2137, allocations: 8.375 kB / 484.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.111e-05/0.2137, allocations: 8.125 kB / 484.8 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006783/0.2144, allocations: 149.5 kB / 484.9 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2144, allocations: 3.938 kB / 484.9 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.39e-05/0.2145, allocations: 4 kB / 484.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2145, allocations: 0 / 484.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000917/0.2154, allocations: 167.8 kB / 485.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2166, allocations: 436.4 kB / 485.5 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.2176, allocations: 198.4 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/0.2182, allocations: 96.75 kB / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.2182, allocations: 0 / 485.8 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008404/0.2191, allocations: 167.3 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.915e-06/0.2191, allocations: 3.938 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.005137/0.2242, allocations: 0.8398 MB / 486.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.2243, allocations: 59.34 kB / 486.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003719/0.2247, allocations: 241.5 kB / 487.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.292e-05/0.2248, allocations: 29.7 kB / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.2249, allocations: 128 kB / 487.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.203e-05/0.225, allocations: 39.48 kB / 487.3 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.2251, allocations: 33.7 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.2253, allocations: 334.8 kB / 487.6 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000964/0.2263, allocations: 175.8 kB / 487.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000941/0.2273, allocations: 171.8 kB / 488 MB, free: 13.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.2291, allocations: 382.5 kB / 488.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2291, allocations: 4 kB / 488.4 MB, free: 13.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002114/0.2312, allocations: 468.4 kB / 488.8 MB, free: 12.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.05e-05/0.2313, allocations: 59.41 kB / 488.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2313, allocations: 0 / 488.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.2314, allocations: 0 / 488.9 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005711/0.2319, allocations: 75.84 kB / 488.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.401e-05/0.232, allocations: 8.031 kB / 489 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000566/0.2325, allocations: 71.84 kB / 489 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.2326, allocations: 0 / 489 MB, free: 12.33 MB / 366.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.0002316/0.2328, allocations: 133.8 kB / 489.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.2329, allocations: 15.81 kB / 489.2 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002109/0.235, allocations: 430.6 kB / 489.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.235, allocations: 0 / 489.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.2351, allocations: 3.938 kB / 489.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2351, allocations: 0 / 489.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002519/0.2376, allocations: 0.7207 MB / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.2376, allocations: 0 / 490.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.2382, allocations: 71.83 kB / 490.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.2382, allocations: 4.5 kB / 490.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.2382, allocations: 8 kB / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2382, allocations: 4 kB / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2383, allocations: 0 / 490.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.2403, allocations: 486.9 kB / 490.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.832e-05/0.2404, allocations: 96.84 kB / 491 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.2405, allocations: 11.94 kB / 491 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.241, allocations: 63.91 kB / 491 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.2413, allocations: 43.92 kB / 491.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.2413, allocations: 4 kB / 491.1 MB, free: 10.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002617/0.2416, allocations: 184.5 kB / 491.3 MB, free: 9.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.2416, allocations: 3.938 kB / 491.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005358/0.2421, allocations: 51.98 kB / 491.3 MB, free: 9.918 MB / 366.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.001469/0.2436, allocations: 402.5 kB / 491.7 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002191/0.2458, allocations: 478.3 kB / 492.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.2458, allocations: 0 / 492.2 MB, free: 9.168 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001015/0.2469, allocations: 187.8 kB / 492.4 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006769/0.2476, allocations: 36.64 kB / 492.4 MB, free: 8.945 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.2491, allocations: 434.3 kB / 492.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004548/0.2496, allocations: 0.7321 MB / 493.6 MB, free: 7.734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.2498, allocations: 23.36 kB / 493.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2498, allocations: 0 / 493.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of Templates: time 0.009352/0.2592, allocations: 3.274 MB / 496.9 MB, free: 4.441 MB / 366.1 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)