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.001804/0.001804, allocations: 112 kB / 17.98 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002494/0.002494, allocations: 209.8 kB / 18.92 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.667/1.667, allocations: 227.4 MB / 247.1 MB, free: 10.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2592/0.2592, allocations: 46.09 MB / 344.4 MB, free: 11.66 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003025/0.003026, allocations: 72.44 kB / 417.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1825, allocations: 62.45 MB / 480.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.00638/0.1889, allocations: 1.899 MB / 482.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.1919, allocations: 1.041 MB / 483.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.1921, allocations: 0 / 483.1 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.1926, allocations: 55.78 kB / 483.2 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006586/0.1933, allocations: 107.6 kB / 483.3 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009838/0.1944, allocations: 198.9 kB / 483.4 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005068/0.1949, allocations: 199.4 kB / 483.6 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.1951, allocations: 21.56 kB / 483.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.1953, allocations: 83.67 kB / 483.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002805/0.1956, allocations: 111.6 kB / 483.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.1957, allocations: 12 kB / 483.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1959, allocations: 47.92 kB / 483.9 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.196, allocations: 35.89 kB / 483.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.1962, allocations: 75.58 kB / 484 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003707/0.1966, allocations: 140 kB / 484.2 MB, free: 1.578 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1966, allocations: 4 kB / 484.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1966, allocations: 0 / 484.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.1966, allocations: 0 / 484.2 MB, free: 1.574 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.001893/0.1985, allocations: 0.5682 MB / 484.7 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.1986, allocations: 8.031 kB / 484.7 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.1987, allocations: 28.69 kB / 484.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.1992, allocations: 236.9 kB / 485 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.1992, allocations: 384 / 485 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.44e-05/0.1993, allocations: 20.06 kB / 485 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007956/0.2001, allocations: 141.5 kB / 485.2 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.2002, allocations: 7.938 kB / 485.2 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.591e-05/0.2002, allocations: 0 / 485.2 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.2002, allocations: 4 kB / 485.2 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001284/0.2015, allocations: 171.7 kB / 485.3 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.2029, allocations: 424.5 kB / 485.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.2042, allocations: 198.4 kB / 485.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/0.2049, allocations: 96.75 kB / 486 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-05/0.205, allocations: 4 kB / 486 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009258/0.2059, allocations: 163.2 kB / 486.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.106e-06/0.2059, allocations: 0 / 486.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.006349/0.2123, allocations: 0.8438 MB / 487 MB, free: 14.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.2124, allocations: 55.34 kB / 487.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004636/0.2129, allocations: 245.5 kB / 487.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.213, allocations: 37.64 kB / 487.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.2131, allocations: 124 kB / 487.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.064e-05/0.2132, allocations: 35.55 kB / 487.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.2134, allocations: 33.7 kB / 487.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.2136, allocations: 334.8 kB / 487.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.2148, allocations: 171.8 kB / 488.1 MB, free: 13.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.216, allocations: 175.8 kB / 488.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002305/0.2184, allocations: 375.8 kB / 488.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.2184, allocations: 4 kB / 488.6 MB, free: 12.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.002643/0.2211, allocations: 470.9 kB / 489.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.2212, allocations: 67.95 kB / 489.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.848e-06/0.2212, allocations: 0 / 489.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.2212, allocations: 0 / 489.1 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.2219, allocations: 67.84 kB / 489.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.222, allocations: 4.047 kB / 489.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007154/0.2227, allocations: 71.84 kB / 489.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.2228, allocations: 15.92 kB / 489.3 MB, free: 12.17 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.0002816/0.2231, allocations: 129.8 kB / 489.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.2232, allocations: 19.8 kB / 489.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002918/0.2261, allocations: 430.6 kB / 489.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.2261, allocations: 0 / 489.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.2262, allocations: 3.938 kB / 489.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.2262, allocations: 0 / 489.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00302/0.2292, allocations: 0.7207 MB / 490.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.2292, allocations: 0 / 490.6 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006536/0.2299, allocations: 71.84 kB / 490.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.2299, allocations: 3.938 kB / 490.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.889e-05/0.23, allocations: 3.984 kB / 490.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.547e-06/0.23, allocations: 4 kB / 490.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.23, allocations: 4 kB / 490.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.2326, allocations: 490.4 kB / 491.1 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2328, allocations: 92.86 kB / 491.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.413e-05/0.2329, allocations: 7.984 kB / 491.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007081/0.2336, allocations: 63.91 kB / 491.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002625/0.2339, allocations: 47.94 kB / 491.3 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.234, allocations: 8 kB / 491.4 MB, free: 9.996 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003176/0.2343, allocations: 184.4 kB / 491.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.2343, allocations: 0 / 491.5 MB, free: 9.816 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005974/0.2349, allocations: 51.98 kB / 491.6 MB, free: 9.766 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.001765/0.2367, allocations: 402.1 kB / 492 MB, free: 9.504 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002955/0.2397, allocations: 486.3 kB / 492.5 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2397, allocations: 0 / 492.5 MB, free: 9.004 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00132/0.241, allocations: 191.7 kB / 492.6 MB, free: 8.816 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007164/0.2418, allocations: 32.58 kB / 492.7 MB, free: 8.781 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.2435, allocations: 436.6 kB / 493.1 MB, free: 8.324 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004782/0.244, allocations: 0.7279 MB / 493.8 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.2442, allocations: 27.42 kB / 493.9 MB, free: 7.543 MB / 366.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2442, allocations: 0 / 493.9 MB, free: 7.543 MB / 366.1 MB Notification: Performance of Templates: time 0.01/0.2542, allocations: 3.283 MB / 497.1 MB, free: 4.273 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)