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.001605/0.001605, allocations: 107.4 kB / 17.98 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001884, allocations: 213.8 kB / 18.92 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247.1 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.12 MB / 344.5 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 76.02 kB / 417.8 MB, free: 20 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1155, allocations: 62.44 MB / 480.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003609/0.1192, allocations: 1.801 MB / 482 MB, free: 3.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002746/0.122, allocations: 1.592 MB / 483.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.1221, allocations: 3.938 kB / 483.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.1224, allocations: 31.91 kB / 483.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.1228, allocations: 87.67 kB / 483.7 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.123, allocations: 59.88 kB / 483.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.1232, allocations: 107.7 kB / 483.9 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.1233, allocations: 12 kB / 483.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.702e-05/0.1234, allocations: 51.72 kB / 484 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.1236, allocations: 43.77 kB / 484 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.1236, allocations: 4 kB / 484 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001964/0.1238, allocations: 111.9 kB / 484.1 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.705e-05/0.1239, allocations: 19.92 kB / 484.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.124, allocations: 35.78 kB / 484.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1242, allocations: 128 kB / 484.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1242, allocations: 4 kB / 484.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1242, allocations: 0 / 484.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1242, allocations: 0 / 484.3 MB, free: 1.438 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.0006037/0.1248, allocations: 419.1 kB / 484.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1249, allocations: 8.031 kB / 484.7 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.1249, allocations: 12.84 kB / 484.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.1252, allocations: 208.6 kB / 484.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.1252, allocations: 11.94 kB / 484.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1252, allocations: 7.938 kB / 485 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1254, allocations: 71.38 kB / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1254, allocations: 0 / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1254, allocations: 0 / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.1254, allocations: 0 / 485 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.601e-05/0.1255, allocations: 19.98 kB / 485 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003809/0.1259, allocations: 288.8 kB / 485.3 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.1261, allocations: 58.67 kB / 485.4 MB, free: 204 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.608e-05/0.1262, allocations: 20.84 kB / 485.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.1262, allocations: 0 / 485.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.1264, allocations: 71.33 kB / 485.5 MB, free: 96 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1264, allocations: 4 kB / 485.5 MB, free: 92 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005691/0.127, allocations: 181.1 kB / 485.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/0.1271, allocations: 85.03 kB / 485.7 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1273, allocations: 163.8 kB / 485.9 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.1273, allocations: 33.7 kB / 485.9 MB, free: 15.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.1274, allocations: 92.14 kB / 486 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.1274, allocations: 27.64 kB / 486 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.1275, allocations: 25.72 kB / 486.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.1276, allocations: 322.8 kB / 486.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.056e-05/0.1277, allocations: 19.98 kB / 486.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.58e-05/0.1278, allocations: 46.56 kB / 486.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.1279, allocations: 57.64 kB / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1279, allocations: 0 / 486.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002071/0.1281, allocations: 101.6 kB / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.1282, allocations: 4 kB / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1282, allocations: 384 / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1282, allocations: 0 / 486.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.1283, allocations: 23.92 kB / 486.6 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.1283, allocations: 7.938 kB / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.1284, allocations: 0 / 486.6 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.1284, allocations: 4 kB / 486.6 MB, free: 14.84 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.0001126/0.1285, allocations: 128.4 kB / 486.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.736e-05/0.1285, allocations: 15.84 kB / 486.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.306e-05/0.1286, allocations: 12.72 kB / 486.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.1286, allocations: 3.984 kB / 486.8 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1286, allocations: 7.875 kB / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1286, allocations: 0 / 486.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004903/0.1291, allocations: 399.5 kB / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1291, allocations: 0 / 487.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.1292, allocations: 15.92 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1292, allocations: 4.031 kB / 487.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1292, allocations: 4 kB / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1292, allocations: 3.938 kB / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1292, allocations: 0 / 487.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.1295, allocations: 200.3 kB / 487.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.1295, allocations: 92.94 kB / 487.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.721e-05/0.1296, allocations: 8 kB / 487.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.1297, allocations: 4 kB / 487.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.572e-05/0.1297, allocations: 7.984 kB / 487.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.1297, allocations: 192 / 487.5 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1299, allocations: 130.5 kB / 487.7 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1299, allocations: 3.938 kB / 487.7 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.1302, allocations: 43.98 kB / 487.7 MB, free: 13.67 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.001898/0.1321, allocations: 0.5411 MB / 488.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1323, allocations: 59.92 kB / 488.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1323, allocations: 0 / 488.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.803e-05/0.1324, allocations: 27.98 kB / 488.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003611/0.1328, allocations: 31.91 kB / 488.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.1333, allocations: 256.5 kB / 488.6 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.1337, allocations: 0.7041 MB / 489.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.1337, allocations: 23.42 kB / 489.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1337, allocations: 0 / 489.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of Templates: time 0.004882/0.1386, allocations: 2.398 MB / 491.7 MB, free: 9.766 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)