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.001433/0.001433, allocations: 114.7 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001722/0.001723, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001376/0.001377, allocations: 72.45 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1169, allocations: 62.46 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.003099/0.1201, allocations: 1.716 MB / 483.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1223, allocations: 1.627 MB / 484.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.1224, allocations: 0 / 484.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002584/0.1227, allocations: 35.77 kB / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.123, allocations: 107.5 kB / 485 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.1232, allocations: 79.66 kB / 485 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1234, allocations: 107.7 kB / 485.1 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1235, allocations: 15.94 kB / 485.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.202e-05/0.1236, allocations: 47.77 kB / 485.2 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.1238, allocations: 47.72 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.1238, allocations: 4 kB / 485.2 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.1239, allocations: 107.9 kB / 485.4 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.124, allocations: 23.91 kB / 485.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.878e-05/0.1241, allocations: 39.73 kB / 485.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.1243, allocations: 171.6 kB / 485.6 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1243, allocations: 0 / 485.6 MB, free: 380 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1243, allocations: 0 / 485.6 MB, free: 380 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1244, allocations: 0 / 485.6 MB, free: 380 kB / 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.0005829/0.1249, allocations: 423 kB / 486 MB, free: 15.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.125, allocations: 8.031 kB / 486 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.706e-05/0.125, allocations: 8.844 kB / 486 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.1253, allocations: 224.1 kB / 486.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1253, allocations: 3.938 kB / 486.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.1254, allocations: 4 kB / 486.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000164/0.1255, allocations: 71.39 kB / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.437e-06/0.1256, allocations: 0 / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.1256, allocations: 4 kB / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1256, allocations: 0 / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.276e-05/0.1257, allocations: 19.98 kB / 486.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.126, allocations: 292.8 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1262, allocations: 58.67 kB / 486.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.125e-05/0.1263, allocations: 16.86 kB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1263, allocations: 0 / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.1265, allocations: 71.39 kB / 486.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1265, allocations: 0 / 486.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005375/0.127, allocations: 173.1 kB / 486.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.1271, allocations: 81.05 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.1272, allocations: 162.5 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1273, allocations: 33.64 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.1273, allocations: 100.1 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.1274, allocations: 31.64 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.1274, allocations: 21.7 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.1275, allocations: 322.8 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.579e-05/0.1276, allocations: 23.94 kB / 487.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.069e-05/0.1277, allocations: 46.48 kB / 487.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.1278, allocations: 57.75 kB / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.1278, allocations: 0 / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001733/0.128, allocations: 105.6 kB / 487.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.128, allocations: 8 kB / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.128, allocations: 0 / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.128, allocations: 0 / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.1281, allocations: 15.94 kB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.1281, allocations: 7.938 kB / 487.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.1282, allocations: 3.984 kB / 487.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.1282, allocations: 12.03 kB / 487.9 MB, free: 13.76 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.0001064/0.1283, allocations: 117.8 kB / 488.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.1283, allocations: 11.81 kB / 488.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.1284, allocations: 16.7 kB / 488.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1284, allocations: 384 / 488.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.1284, allocations: 3.938 kB / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1284, allocations: 0 / 488.1 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004738/0.1289, allocations: 403.3 kB / 488.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1289, allocations: 0 / 488.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.31e-05/0.1289, allocations: 11.94 kB / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1289, allocations: 0 / 488.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.1289, allocations: 7.984 kB / 488.5 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.129, allocations: 4 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.129, allocations: 0 / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.1292, allocations: 200.3 kB / 488.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.592e-05/0.1293, allocations: 92.94 kB / 488.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.1293, allocations: 4 kB / 488.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.543e-05/0.1294, allocations: 3.984 kB / 488.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.1294, allocations: 4 kB / 488.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1294, allocations: 8 kB / 488.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.836e-05/0.1295, allocations: 126.3 kB / 488.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.422e-06/0.1295, allocations: 0 / 488.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.1298, allocations: 51.92 kB / 489 MB, free: 12.61 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.001152/0.131, allocations: 0.5502 MB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.1312, allocations: 59.91 kB / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1312, allocations: 0 / 489.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.114e-05/0.1313, allocations: 32.05 kB / 489.6 MB, free: 12.15 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1316, allocations: 30.73 kB / 489.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004066/0.132, allocations: 198.8 kB / 489.8 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.1323, allocations: 0.7002 MB / 490.6 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.85e-05/0.1324, allocations: 17.19 kB / 490.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.1324, allocations: 27.42 kB / 490.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1324, allocations: 0 / 490.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Templates: time 0.005155/0.1376, allocations: 2.347 MB / 492.9 MB, free: 8.797 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 -s cvode -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1)