Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001415/0.001415, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.598/1.598, allocations: 205.1 MB / 222 MB, free: 4.746 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.3363/0.3363, allocations: 37.98 MB / 307.3 MB, free: 10.07 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.001345/0.001345, allocations: 59.92 kB / 374.6 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1307, allocations: 56.47 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003202/0.1339, allocations: 1.689 MB / 432.7 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1352, allocations: 0.7805 MB / 433.5 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.59e-05/0.1353, allocations: 0 / 433.5 MB, free: 4.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003845/0.1357, allocations: 83.83 kB / 433.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.1359, allocations: 71.73 kB / 433.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002192/0.1361, allocations: 75.83 kB / 433.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1363, allocations: 95.64 kB / 433.8 MB, free: 4.246 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.635e-05/0.1364, allocations: 7.984 kB / 433.8 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.824e-05/0.1365, allocations: 43.83 kB / 433.9 MB, free: 4.195 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1366, allocations: 59.81 kB / 433.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.1366, allocations: 0 / 433.9 MB, free: 4.137 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.387e-05/0.1367, allocations: 23.98 kB / 433.9 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.1368, allocations: 19.92 kB / 434 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.432e-05/0.1368, allocations: 39.69 kB / 434 MB, free: 4.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001817/0.137, allocations: 99.92 kB / 434.1 MB, free: 3.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.137, allocations: 4 kB / 434.1 MB, free: 3.953 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.137, allocations: 0 / 434.1 MB, free: 3.953 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.137, allocations: 0 / 434.1 MB, free: 3.953 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005421/0.1376, allocations: 414.9 kB / 434.5 MB, free: 3.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.1376, allocations: 8.031 kB / 434.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.1377, allocations: 12.84 kB / 434.5 MB, free: 3.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.1379, allocations: 216.7 kB / 434.7 MB, free: 3.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.138, allocations: 8.375 kB / 434.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.138, allocations: 4.125 kB / 434.8 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1381, allocations: 49.61 kB / 434.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1381, allocations: 4 kB / 434.8 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1382, allocations: 0 / 434.8 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.84e-06/0.1382, allocations: 0 / 434.8 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.1382, allocations: 19.98 kB / 434.8 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002037/0.1385, allocations: 177.7 kB / 435 MB, free: 2.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.1387, allocations: 54.61 kB / 435.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.592e-05/0.1387, allocations: 24.73 kB / 435.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1387, allocations: 0 / 435.1 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.139, allocations: 67.39 kB / 435.1 MB, free: 2.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.139, allocations: 0 / 435.1 MB, free: 2.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.00029/0.1393, allocations: 97.56 kB / 435.2 MB, free: 2.648 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.1393, allocations: 51.41 kB / 435.3 MB, free: 2.586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.1395, allocations: 210.3 kB / 435.5 MB, free: 2.371 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.833e-05/0.1396, allocations: 25.7 kB / 435.5 MB, free: 2.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.1396, allocations: 108.1 kB / 435.6 MB, free: 2.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.846e-05/0.1397, allocations: 19.75 kB / 435.6 MB, free: 2.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.1397, allocations: 21.72 kB / 435.7 MB, free: 2.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1399, allocations: 322.8 kB / 436 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.716e-05/0.1399, allocations: 15.92 kB / 436 MB, free: 1.844 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-05/0.14, allocations: 29.7 kB / 436 MB, free: 1.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.165e-05/0.1401, allocations: 37.72 kB / 436.1 MB, free: 1.766 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1401, allocations: 4.25 kB / 436.1 MB, free: 1.762 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001561/0.1403, allocations: 93.45 kB / 436.2 MB, free: 1.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1403, allocations: 4 kB / 436.2 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1403, allocations: 0 / 436.2 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1403, allocations: 7.984 kB / 436.2 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.984e-05/0.1404, allocations: 12 kB / 436.2 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.1404, allocations: 0 / 436.2 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.1405, allocations: 11.89 kB / 436.2 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1405, allocations: 0 / 436.2 MB, free: 1.629 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 (7): * Single equations (assignments): 7 * 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.0001014/0.1406, allocations: 133.8 kB / 436.3 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.1406, allocations: 11.89 kB / 436.3 MB, free: 1.477 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.362e-05/0.1407, allocations: 17.16 kB / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1407, allocations: 0 / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1407, allocations: 0 / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1407, allocations: 0 / 436.4 MB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.1408, allocations: 193.5 kB / 436.5 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1408, allocations: 0 / 436.5 MB, free: 1.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.967e-05/0.1409, allocations: 7.938 kB / 436.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1409, allocations: 0 / 436.5 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1409, allocations: 4 kB / 436.6 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1409, allocations: 4 kB / 436.6 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1409, allocations: 3.984 kB / 436.6 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1411, allocations: 116.8 kB / 436.7 MB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.1412, allocations: 85.02 kB / 436.8 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1412, allocations: 0 / 436.8 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.808e-05/0.1413, allocations: 7.984 kB / 436.8 MB, free: 0.9531 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.1413, allocations: 8 kB / 436.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.1413, allocations: 0 / 436.8 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.1415, allocations: 160.2 kB / 436.9 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1415, allocations: 0 / 436.9 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000205/0.1417, allocations: 19.98 kB / 436.9 MB, free: 0.7695 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000945/0.1426, allocations: 410.3 kB / 437.3 MB, free: 396 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.1428, allocations: 39.92 kB / 437.4 MB, free: 356 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1428, allocations: 4.062 kB / 437.4 MB, free: 352 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.273e-05/0.1429, allocations: 23.98 kB / 437.4 MB, free: 328 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.1432, allocations: 27.86 kB / 437.4 MB, free: 300 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.1436, allocations: 239.6 kB / 437.7 MB, free: 36 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.1439, allocations: 0.7004 MB / 438.4 MB, free: 15.31 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.775e-05/0.144, allocations: 8.562 kB / 438.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.516e-05/0.144, allocations: 19.42 kB / 438.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.144, allocations: 0 / 438.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of Templates: time 0.004471/0.1485, allocations: 1.441 MB / 439.8 MB, free: 13.84 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)