Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.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.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 105.2 kB / 17.63 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.001668/0.001668, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2318/0.2318, allocations: 46.1 MB / 344.1 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 78.53 kB / 417.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1258, allocations: 62.44 MB / 480 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003087/0.1289, allocations: 1.727 MB / 481.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002228/0.1312, allocations: 1.619 MB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.1313, allocations: 4 kB / 483.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1316, allocations: 39.77 kB / 483.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.1319, allocations: 103.5 kB / 483.5 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.1322, allocations: 79.66 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001634/0.1324, allocations: 103.7 kB / 483.7 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1325, allocations: 11.98 kB / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.242e-05/0.1326, allocations: 47.78 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1327, allocations: 47.77 kB / 483.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.1328, allocations: 4 kB / 483.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.133, allocations: 107.9 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.38e-05/0.133, allocations: 27.92 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.1331, allocations: 31.8 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.1333, allocations: 167.8 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1334, allocations: 0 / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1334, allocations: 0 / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1334, allocations: 0 / 484.1 MB, free: 1.094 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005566/0.1339, allocations: 423 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.134, allocations: 12.03 kB / 484.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.134, allocations: 8.844 kB / 484.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.1344, allocations: 223.6 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1344, allocations: 3.938 kB / 484.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.1344, allocations: 11.98 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.1346, allocations: 67.33 kB / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1346, allocations: 0 / 484.9 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.1346, allocations: 3.938 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1346, allocations: 4 kB / 484.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.605e-05/0.1347, allocations: 15.98 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1351, allocations: 285 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1353, allocations: 62.61 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.1354, allocations: 20.84 kB / 485.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1354, allocations: 4 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.1357, allocations: 67.39 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1357, allocations: 0 / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000553/0.1362, allocations: 181.1 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.1363, allocations: 85.05 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.1365, allocations: 158.5 kB / 485.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1366, allocations: 29.7 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.666e-05/0.1366, allocations: 96.05 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1367, allocations: 31.64 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.1367, allocations: 21.72 kB / 485.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.137, allocations: 326.8 kB / 486.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.747e-05/0.137, allocations: 19.92 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1371, allocations: 42.56 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1372, allocations: 61.73 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1372, allocations: 4 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001826/0.1374, allocations: 97.47 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1374, allocations: 6.5 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1374, allocations: 0 / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1375, allocations: 4 kB / 486.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.434e-05/0.1376, allocations: 19.98 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1376, allocations: 3.938 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.1376, allocations: 4 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1377, allocations: 4.031 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 9.404e-05/0.1378, allocations: 125.8 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.1378, allocations: 15.81 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.1378, allocations: 12.88 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1378, allocations: 4 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1379, allocations: 3.938 kB / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1379, allocations: 0 / 486.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.1383, allocations: 399.3 kB / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1383, allocations: 192 / 487 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.449e-05/0.1383, allocations: 15.92 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1383, allocations: 3.938 kB / 487.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.1384, allocations: 4 kB / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1384, allocations: 0 / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1384, allocations: 0 / 487.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.1386, allocations: 208.2 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.1387, allocations: 92.94 kB / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.509e-05/0.1387, allocations: 0 / 487.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.1388, allocations: 8.375 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.1388, allocations: 7.984 kB / 487.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1388, allocations: 7.984 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002009/0.139, allocations: 126.3 kB / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.139, allocations: 0 / 487.5 MB, free: 13.37 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002929/0.1393, allocations: 47.98 kB / 487.5 MB, free: 13.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001228/0.1406, allocations: 0.5311 MB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.1408, allocations: 55.92 kB / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1408, allocations: 0 / 488.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.096e-05/0.1409, allocations: 35.98 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.1412, allocations: 43.83 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.1416, allocations: 194.9 kB / 488.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.1419, allocations: 0.7041 MB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.264e-05/0.142, allocations: 17.12 kB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.142, allocations: 23.42 kB / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1421, allocations: 0 / 489.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of Templates: time 0.00516/0.1472, allocations: 2.351 MB / 491.5 MB, free: 9.512 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)