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.001101/0.001101, allocations: 92.98 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001533/0.001533, allocations: 203.4 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.8 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002681, allocations: 12 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1109, allocations: 63.56 MB / 483.1 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.002115/0.1131, allocations: 1.446 MB / 484.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002476/0.1156, allocations: 1.577 MB / 486.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.169e-05/0.1157, allocations: 3.938 kB / 486.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.116, allocations: 31.89 kB / 486.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003357/0.1163, allocations: 75.75 kB / 486.2 MB, free: 1.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1166, allocations: 67.81 kB / 486.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1168, allocations: 103.7 kB / 486.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1169, allocations: 15.98 kB / 486.4 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.436e-05/0.117, allocations: 39.73 kB / 486.4 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.1172, allocations: 43.77 kB / 486.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1172, allocations: 0 / 486.5 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002288/0.1174, allocations: 103.9 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.938e-05/0.1175, allocations: 15.92 kB / 486.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.541e-05/0.1176, allocations: 61.48 kB / 486.7 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000291/0.1179, allocations: 167.8 kB / 486.8 MB, free: 400 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1179, allocations: 4 kB / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1179, allocations: 0 / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1179, allocations: 0 / 486.8 MB, free: 396 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.0005968/0.1185, allocations: 407.2 kB / 487.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1185, allocations: 16.81 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.1186, allocations: 8.844 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002499/0.1189, allocations: 212 kB / 487.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1189, allocations: 7.938 kB / 487.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.1189, allocations: 4 kB / 487.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001723/0.1191, allocations: 67.39 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1191, allocations: 0 / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.1191, allocations: 4 kB / 487.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.1191, allocations: 4 kB / 487.6 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.365e-05/0.1192, allocations: 19.92 kB / 487.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1196, allocations: 292.9 kB / 487.9 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.1198, allocations: 58.62 kB / 487.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.374e-05/0.1198, allocations: 20.84 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1199, allocations: 4 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.12, allocations: 71.33 kB / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1201, allocations: 0 / 488 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005387/0.1206, allocations: 173.1 kB / 488.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.1207, allocations: 81.05 kB / 488.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1208, allocations: 166.5 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1209, allocations: 25.7 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.452e-05/0.1209, allocations: 100.1 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.121, allocations: 23.66 kB / 488.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.121, allocations: 17.7 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.1211, allocations: 322.8 kB / 488.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.629e-05/0.1212, allocations: 20 kB / 488.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.1213, allocations: 42.56 kB / 489 MB, free: 14.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.1214, allocations: 61.64 kB / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1214, allocations: 0 / 489 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.1216, allocations: 109.6 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1216, allocations: 10.33 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1216, allocations: 3.938 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.1217, allocations: 0 / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.141e-05/0.1218, allocations: 16 kB / 489.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1218, allocations: 3.938 kB / 489.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.1218, allocations: 8 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1219, allocations: 3.984 kB / 489.2 MB, free: 13.8 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.0001012/0.122, allocations: 121.9 kB / 489.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.122, allocations: 11.81 kB / 489.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.997e-05/0.122, allocations: 12.72 kB / 489.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1221, allocations: 7.969 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1221, allocations: 3.938 kB / 489.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1221, allocations: 4.375 kB / 489.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000448/0.1225, allocations: 395.3 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.1226, allocations: 4 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.1226, allocations: 19.91 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.1226, allocations: 0 / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.1226, allocations: 4 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1226, allocations: 192 / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1226, allocations: 0 / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.1229, allocations: 204.2 kB / 489.9 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.1229, allocations: 88.95 kB / 490 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.123, allocations: 11.98 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.773e-05/0.123, allocations: 4 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.1231, allocations: 4 kB / 490 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1231, allocations: 7.984 kB / 490.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001111/0.1232, allocations: 124.5 kB / 490.2 MB, free: 12.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1232, allocations: 3.938 kB / 490.2 MB, free: 12.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003118/0.1235, allocations: 51.98 kB / 490.2 MB, free: 12.63 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.001236/0.1248, allocations: 0.5291 MB / 490.8 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.125, allocations: 63.95 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.125, allocations: 3.938 kB / 490.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.152e-05/0.1251, allocations: 27.98 kB / 490.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1254, allocations: 35.98 kB / 490.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.1258, allocations: 225.9 kB / 491.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.1261, allocations: 0.7004 MB / 491.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.461e-05/0.1262, allocations: 21.17 kB / 491.8 MB, free: 11.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.671e-05/0.1263, allocations: 23.42 kB / 491.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1263, allocations: 0 / 491.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of Templates: time 0.005697/0.132, allocations: 2.268 MB / 494.1 MB, free: 8.875 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)