Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001066/0.001066, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.3962/0.3962, allocations: 38.03 MB / 308.4 MB, free: 10.42 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.0008347/0.0008349, allocations: 16 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1373, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002357/0.1397, allocations: 1.555 MB / 435.5 MB, free: 4.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1409, allocations: 0.7731 MB / 436.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.419e-05/0.1411, allocations: 0 / 436.3 MB, free: 3.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002674/0.1413, allocations: 35.83 kB / 436.3 MB, free: 3.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1415, allocations: 55.8 kB / 436.3 MB, free: 3.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.1418, allocations: 87.72 kB / 436.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002082/0.142, allocations: 91.81 kB / 436.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1422, allocations: 21.48 kB / 436.5 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.771e-05/0.1423, allocations: 47.77 kB / 436.6 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.1424, allocations: 43.72 kB / 436.6 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.1424, allocations: 4 kB / 436.6 MB, free: 2.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.41e-05/0.1425, allocations: 27.98 kB / 436.7 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.547e-05/0.1425, allocations: 23.86 kB / 436.7 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.1426, allocations: 41.64 kB / 436.7 MB, free: 2.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1428, allocations: 112 kB / 436.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1428, allocations: 0 / 436.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1428, allocations: 0 / 436.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1428, allocations: 0 / 436.8 MB, free: 2.641 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006652/0.1435, allocations: 460.4 kB / 437.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1435, allocations: 8.031 kB / 437.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.679e-05/0.1436, allocations: 19.77 kB / 437.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.1439, allocations: 219.6 kB / 437.5 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.1439, allocations: 4 kB / 437.5 MB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.144, allocations: 11.91 kB / 437.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.1442, allocations: 112.2 kB / 437.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1442, allocations: 0 / 437.7 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1443, allocations: 3.984 kB / 437.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1443, allocations: 0 / 437.7 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000151/0.1444, allocations: 55.92 kB / 437.7 MB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.1452, allocations: 0.5087 MB / 438.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003702/0.1456, allocations: 106.5 kB / 438.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.1456, allocations: 0 / 438.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003039/0.1459, allocations: 83.38 kB / 438.4 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.1459, allocations: 3.938 kB / 438.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004741/0.1464, allocations: 145.5 kB / 438.6 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.014e-05/0.1465, allocations: 59.41 kB / 438.6 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.1467, allocations: 187.4 kB / 438.8 MB, free: 476 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.394e-05/0.1468, allocations: 29.7 kB / 438.8 MB, free: 440 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.1469, allocations: 112 kB / 438.9 MB, free: 324 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.147, allocations: 23.7 kB / 439 MB, free: 300 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.147, allocations: 8.312 kB / 439 MB, free: 292 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002418/0.1472, allocations: 322.8 kB / 439.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.881e-05/0.1473, allocations: 35.98 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001359/0.1475, allocations: 64.27 kB / 439.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1476, allocations: 35.94 kB / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1476, allocations: 0 / 439.4 MB, free: 15.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003013/0.1479, allocations: 145.3 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.148, allocations: 8 kB / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.148, allocations: 0 / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.148, allocations: 128 / 439.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1481, allocations: 31.92 kB / 439.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.1481, allocations: 4 kB / 439.6 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.1482, allocations: 19.83 kB / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1482, allocations: 4 kB / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.1484, allocations: 130.8 kB / 439.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.1484, allocations: 15.77 kB / 439.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.085e-05/0.1485, allocations: 17.39 kB / 439.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1485, allocations: 8 kB / 439.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.1485, allocations: 0 / 439.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1485, allocations: 0 / 439.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.1487, allocations: 205.6 kB / 440 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1487, allocations: 0 / 440 MB, free: 15.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.894e-05/0.1488, allocations: 15.98 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1488, allocations: 0 / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1488, allocations: 3.953 kB / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1488, allocations: 0 / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1488, allocations: 0 / 440 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.1492, allocations: 200.8 kB / 440.2 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.1493, allocations: 88.98 kB / 440.3 MB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1493, allocations: 3.938 kB / 440.3 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.1494, allocations: 15.94 kB / 440.3 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.1494, allocations: 8.062 kB / 440.3 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.866e-05/0.1495, allocations: 7.984 kB / 440.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1496, allocations: 133.2 kB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1496, allocations: 0 / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000232/0.1498, allocations: 36.02 kB / 440.5 MB, free: 14.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009461/0.1508, allocations: 425.9 kB / 440.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.151, allocations: 83.91 kB / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.151, allocations: 0 / 441 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001019/0.1512, allocations: 39.91 kB / 441 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.1514, allocations: 36.09 kB / 441.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.1519, allocations: 297.8 kB / 441.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.1522, allocations: 0.7201 MB / 442.1 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.391e-05/0.1523, allocations: 17.42 kB / 442.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.1524, allocations: 15.44 kB / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1524, allocations: 0 / 442.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of Templates: time 0.004217/0.1566, allocations: 1.728 MB / 443.8 MB, free: 11.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) Environment - environmentSimulation: