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.001581/0.001581, allocations: 114 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.211/0.211, allocations: 46.11 MB / 343.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 77.62 kB / 417.1 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1301, allocations: 62.44 MB / 479.5 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003654/0.1338, allocations: 1.793 MB / 481.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.1364, allocations: 1.592 MB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.1365, allocations: 0 / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.1369, allocations: 35.83 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004065/0.1373, allocations: 83.75 kB / 483 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.1376, allocations: 71.8 kB / 483.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.1378, allocations: 99.7 kB / 483.2 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.138, allocations: 19.97 kB / 483.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.1381, allocations: 43.78 kB / 483.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.1382, allocations: 47.72 kB / 483.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.1383, allocations: 7.984 kB / 483.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.1385, allocations: 104 kB / 483.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.1386, allocations: 27.84 kB / 483.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.82e-05/0.1387, allocations: 35.8 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.139, allocations: 167.8 kB / 483.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.139, allocations: 0 / 483.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.139, allocations: 0 / 483.6 MB, free: 1.492 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.139, allocations: 0 / 483.6 MB, free: 1.492 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.0006291/0.1397, allocations: 423 kB / 484 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1397, allocations: 8.031 kB / 484 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.922e-05/0.1398, allocations: 16.83 kB / 484 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000254/0.1401, allocations: 216.6 kB / 484.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.1401, allocations: 7.938 kB / 484.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.1401, allocations: 0 / 484.3 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.1403, allocations: 67.39 kB / 484.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1403, allocations: 0 / 484.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1403, allocations: 4 kB / 484.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1403, allocations: 0 / 484.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.543e-05/0.1404, allocations: 19.98 kB / 484.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004761/0.1409, allocations: 292.8 kB / 484.6 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.1411, allocations: 54.69 kB / 484.7 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.1412, allocations: 20.84 kB / 484.7 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.1412, allocations: 4 kB / 484.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.1414, allocations: 71.33 kB / 484.8 MB, free: 144 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.063e-06/0.1415, allocations: 0 / 484.8 MB, free: 144 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006534/0.1421, allocations: 173.4 kB / 485 MB, free: 15.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.1422, allocations: 84.98 kB / 485 MB, free: 15.86 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1424, allocations: 169.5 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.1424, allocations: 29.64 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.81e-05/0.1425, allocations: 100.1 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.531e-05/0.1425, allocations: 31.64 kB / 485.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.1426, allocations: 25.7 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1427, allocations: 314.8 kB / 485.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/0.1428, allocations: 23.98 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.1429, allocations: 42.56 kB / 485.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001312/0.143, allocations: 61.67 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.143, allocations: 3.938 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002216/0.1433, allocations: 97.59 kB / 485.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1433, allocations: 4 kB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1433, allocations: 0 / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.1433, allocations: 4.359 kB / 485.9 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1434, allocations: 19.94 kB / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.1435, allocations: 3.938 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.1435, allocations: 8 kB / 486 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1435, allocations: 8.031 kB / 486 MB, free: 14.88 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 0.0001121/0.1437, allocations: 121.8 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.1437, allocations: 7.906 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.129e-05/0.1438, allocations: 12.72 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1438, allocations: 0 / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.1438, allocations: 7.938 kB / 486.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1438, allocations: 3.984 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.1443, allocations: 399.2 kB / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1443, allocations: 0 / 486.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.1444, allocations: 11.94 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1444, allocations: 3.984 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1444, allocations: 8 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1444, allocations: 3.938 kB / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1444, allocations: 0 / 486.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.1447, allocations: 200.3 kB / 486.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.1447, allocations: 92.95 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1448, allocations: 0 / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.1449, allocations: 4 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.1449, allocations: 7.984 kB / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.1449, allocations: 8 kB / 486.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.1451, allocations: 123.4 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1451, allocations: 0 / 487 MB, free: 13.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003279/0.1454, allocations: 47.92 kB / 487 MB, free: 13.73 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.00131/0.1467, allocations: 0.5474 MB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002357/0.147, allocations: 59.91 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.147, allocations: 0 / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.019e-05/0.1471, allocations: 28.06 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1475, allocations: 35.91 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.1479, allocations: 222.8 kB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.1483, allocations: 0.7079 MB / 488.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.577e-05/0.1484, allocations: 17.17 kB / 488.6 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.1484, allocations: 23.42 kB / 488.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1484, allocations: 0 / 488.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of Templates: time 0.005423/0.1538, allocations: 2.349 MB / 491 MB, free: 9.895 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)