Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001932/0.001932, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.761/1.761, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.09 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.00144/0.00144, allocations: 70.62 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1338, allocations: 56.46 MB / 431.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00335/0.1372, allocations: 1.728 MB / 432.9 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1385, allocations: 0.8038 MB / 433.7 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.1386, allocations: 0 / 433.7 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.139, allocations: 79.83 kB / 433.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002494/0.1393, allocations: 71.72 kB / 433.9 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1395, allocations: 79.86 kB / 434 MB, free: 4.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.1397, allocations: 107.7 kB / 434.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.288e-05/0.1398, allocations: 12.22 kB / 434.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.977e-05/0.1399, allocations: 55.77 kB / 434.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.14, allocations: 51.83 kB / 434.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.14, allocations: 7.984 kB / 434.2 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.215e-05/0.1401, allocations: 39.98 kB / 434.2 MB, free: 3.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.542e-05/0.1402, allocations: 27.86 kB / 434.3 MB, free: 3.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.325e-05/0.1403, allocations: 39.73 kB / 434.3 MB, free: 3.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1405, allocations: 111.9 kB / 434.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1405, allocations: 4 kB / 434.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1405, allocations: 0 / 434.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1405, allocations: 0 / 434.4 MB, free: 3.727 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.0005317/0.141, allocations: 418.9 kB / 434.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1411, allocations: 11.89 kB / 434.8 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.1412, allocations: 16.84 kB / 434.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002416/0.1414, allocations: 212.8 kB / 435.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.1414, allocations: 8.297 kB / 435.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1415, allocations: 8.125 kB / 435.1 MB, free: 2.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.1416, allocations: 53.67 kB / 435.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1416, allocations: 0 / 435.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1416, allocations: 0 / 435.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1416, allocations: 0 / 435.1 MB, free: 2.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.326e-05/0.1417, allocations: 23.98 kB / 435.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.1421, allocations: 284.9 kB / 435.4 MB, free: 2.57 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.1423, allocations: 58.61 kB / 435.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.76e-05/0.1424, allocations: 20.86 kB / 435.5 MB, free: 2.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1424, allocations: 4 kB / 435.5 MB, free: 2.477 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.1426, allocations: 67.39 kB / 435.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1427, allocations: 0 / 435.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000562/0.1432, allocations: 181.3 kB / 435.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.1433, allocations: 59.34 kB / 435.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.1435, allocations: 214.3 kB / 436 MB, free: 1.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.1435, allocations: 25.7 kB / 436 MB, free: 1.895 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.675e-05/0.1436, allocations: 108.1 kB / 436.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.1436, allocations: 23.66 kB / 436.2 MB, free: 1.762 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/0.1437, allocations: 21.72 kB / 436.2 MB, free: 1.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1438, allocations: 338.7 kB / 436.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.823e-05/0.1439, allocations: 19.94 kB / 436.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.526e-05/0.144, allocations: 33.7 kB / 436.6 MB, free: 1.336 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.1441, allocations: 65.77 kB / 436.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1441, allocations: 0 / 436.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002007/0.1443, allocations: 101.5 kB / 436.7 MB, free: 1.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.777e-05/0.1443, allocations: 8 kB / 436.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1444, allocations: 0 / 436.7 MB, free: 1.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1444, allocations: 3.984 kB / 436.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.817e-05/0.1445, allocations: 19.98 kB / 436.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.1445, allocations: 8.141 kB / 436.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.1445, allocations: 3.938 kB / 436.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.1446, allocations: 7.938 kB / 436.8 MB, free: 1.109 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.0001077/0.1447, allocations: 133.9 kB / 436.9 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.1447, allocations: 11.81 kB / 436.9 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.022e-05/0.1448, allocations: 21.39 kB / 437 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1448, allocations: 0 / 437 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1448, allocations: 0 / 437 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1448, allocations: 3.938 kB / 437 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.1452, allocations: 387.3 kB / 437.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1452, allocations: 0 / 437.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.128e-05/0.1453, allocations: 16.02 kB / 437.4 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1453, allocations: 0 / 437.4 MB, free: 488 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.1453, allocations: 7.938 kB / 437.4 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1453, allocations: 0 / 437.4 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1453, allocations: 0 / 437.4 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.1456, allocations: 208.1 kB / 437.6 MB, free: 252 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.385e-05/0.1456, allocations: 85.02 kB / 437.6 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1457, allocations: 15.92 kB / 437.7 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.1457, allocations: 4 kB / 437.7 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.685e-05/0.1458, allocations: 4.188 kB / 437.7 MB, free: 124 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.1458, allocations: 7.984 kB / 437.7 MB, free: 116 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001494/0.146, allocations: 160.2 kB / 437.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.146, allocations: 0 / 437.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1462, allocations: 20 kB / 437.9 MB, free: 15.94 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.001017/0.1472, allocations: 477.4 kB / 438.3 MB, free: 15.49 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1474, allocations: 59.91 kB / 438.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1474, allocations: 0 / 438.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-05/0.1475, allocations: 35.92 kB / 438.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1479, allocations: 39.91 kB / 438.5 MB, free: 15.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005137/0.1484, allocations: 266.9 kB / 438.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1487, allocations: 0.708 MB / 439.4 MB, free: 14.33 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.163e-05/0.1488, allocations: 17.19 kB / 439.4 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.1488, allocations: 19.42 kB / 439.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1488, allocations: 0 / 439.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of Templates: time 0.004314/0.1531, allocations: 1.681 MB / 441.1 MB, free: 12.62 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1)