Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001351/0.001351, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 191.7 kB / 16.25 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.576/1.576, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3542/0.3542, allocations: 37.98 MB / 307.4 MB, free: 10.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 70.41 kB / 374.7 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 56.47 MB / 431.2 MB, free: 6.965 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003295/0.126, allocations: 1.74 MB / 432.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.1274, allocations: 0.7883 MB / 433.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.275e-05/0.1276, allocations: 7.938 kB / 433.7 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003693/0.128, allocations: 83.81 kB / 433.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.1282, allocations: 71.8 kB / 433.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1285, allocations: 71.84 kB / 434 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.1287, allocations: 115.7 kB / 434.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.787e-05/0.1288, allocations: 16.2 kB / 434.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.246e-05/0.1289, allocations: 55.72 kB / 434.1 MB, free: 4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.129, allocations: 59.81 kB / 434.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.77e-05/0.129, allocations: 7.938 kB / 434.2 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.842e-05/0.1291, allocations: 43.97 kB / 434.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.1292, allocations: 23.92 kB / 434.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.1292, allocations: 39.75 kB / 434.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1295, allocations: 123.8 kB / 434.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1295, allocations: 0 / 434.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1295, allocations: 0 / 434.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.1295, allocations: 0 / 434.4 MB, free: 3.707 MB / 366.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.0005377/0.13, allocations: 422.9 kB / 434.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.1301, allocations: 11.89 kB / 434.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.438e-05/0.1301, allocations: 16.75 kB / 434.9 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002097/0.1304, allocations: 216.1 kB / 435.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.1304, allocations: 4.375 kB / 435.1 MB, free: 2.965 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.1304, allocations: 12.12 kB / 435.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1305, allocations: 53.67 kB / 435.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1306, allocations: 0 / 435.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1306, allocations: 0 / 435.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1306, allocations: 3.938 kB / 435.2 MB, free: 2.891 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.864e-05/0.1307, allocations: 23.92 kB / 435.2 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.1311, allocations: 292.7 kB / 435.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.1312, allocations: 62.67 kB / 435.5 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.255e-05/0.1313, allocations: 16.86 kB / 435.6 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.1313, allocations: 7.922 kB / 435.6 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001753/0.1315, allocations: 67.39 kB / 435.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.1315, allocations: 4 kB / 435.6 MB, free: 2.352 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005826/0.1321, allocations: 173.2 kB / 435.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.1322, allocations: 55.39 kB / 435.9 MB, free: 2.109 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.1324, allocations: 210.7 kB / 436.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.1324, allocations: 33.7 kB / 436.1 MB, free: 1.855 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.51e-05/0.1325, allocations: 108 kB / 436.2 MB, free: 1.746 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.1325, allocations: 27.64 kB / 436.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.1326, allocations: 21.72 kB / 436.2 MB, free: 1.691 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1327, allocations: 334.8 kB / 436.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.1328, allocations: 19.98 kB / 436.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.032e-05/0.1329, allocations: 33.7 kB / 436.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.133, allocations: 61.64 kB / 436.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.133, allocations: 4.188 kB / 436.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001757/0.1332, allocations: 101.5 kB / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.1332, allocations: 7.938 kB / 436.8 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.1332, allocations: 4 kB / 436.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1332, allocations: 0 / 436.8 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.1333, allocations: 15.98 kB / 436.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1334, allocations: 0 / 436.8 MB, free: 1.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.632e-05/0.1334, allocations: 7.938 kB / 436.8 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.1334, allocations: 4 kB / 436.8 MB, free: 1.082 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.0001114/0.1335, allocations: 133.8 kB / 437 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.1336, allocations: 15.84 kB / 437 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.613e-05/0.1336, allocations: 21.77 kB / 437 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.1336, allocations: 0 / 437 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.9e-05/0.1337, allocations: 0 / 437 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1337, allocations: 7.875 kB / 437 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.1341, allocations: 395.4 kB / 437.4 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1341, allocations: 0 / 437.4 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/0.1341, allocations: 19.86 kB / 437.4 MB, free: 440 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1342, allocations: 4.031 kB / 437.4 MB, free: 436 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.1342, allocations: 7.938 kB / 437.4 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1342, allocations: 4 kB / 437.4 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1342, allocations: 0 / 437.4 MB, free: 424 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002133/0.1344, allocations: 204.2 kB / 437.6 MB, free: 200 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.1345, allocations: 85.02 kB / 437.7 MB, free: 96 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1345, allocations: 7.938 kB / 437.7 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.91e-05/0.1346, allocations: 11.98 kB / 437.7 MB, free: 76 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.1346, allocations: 3.938 kB / 437.7 MB, free: 72 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.1346, allocations: 4 kB / 437.7 MB, free: 68 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.1348, allocations: 176.3 kB / 437.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1348, allocations: 0 / 437.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1351, allocations: 24 kB / 437.9 MB, free: 15.87 MB / 382.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.001025/0.1361, allocations: 473.6 kB / 438.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.1363, allocations: 59.84 kB / 438.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.1363, allocations: 0 / 438.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.875e-05/0.1364, allocations: 31.98 kB / 438.5 MB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.1367, allocations: 39.91 kB / 438.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.1372, allocations: 282.7 kB / 438.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.1375, allocations: 0.7158 MB / 439.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.276e-05/0.1376, allocations: 21.17 kB / 439.5 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1376, allocations: 15.44 kB / 439.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1376, allocations: 0 / 439.5 MB, free: 14.21 MB / 382.1 MB Notification: Performance of Templates: time 0.004403/0.142, allocations: 1.685 MB / 441.2 MB, free: 12.53 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1)