Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00115/0.001151, allocations: 196.5 kB / 16.14 MB, free: 6.703 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.574/1.574, allocations: 205.1 MB / 222 MB, free: 4.961 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.3858/0.3858, allocations: 37.98 MB / 307.3 MB, free: 9.918 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.001551/0.001551, allocations: 71.91 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1403, allocations: 56.47 MB / 431 MB, free: 7.051 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003709/0.144, allocations: 1.728 MB / 432.8 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002058/0.1461, allocations: 1.387 MB / 434.1 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.1462, allocations: 0 / 434.1 MB, free: 3.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.1467, allocations: 39.83 kB / 434.2 MB, free: 3.871 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.147, allocations: 43.78 kB / 434.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.1474, allocations: 75.84 kB / 434.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1476, allocations: 99.69 kB / 434.4 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1477, allocations: 20.2 kB / 434.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.1478, allocations: 35.8 kB / 434.5 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.148, allocations: 47.77 kB / 434.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.269e-05/0.1481, allocations: 0 / 434.5 MB, free: 3.555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001776/0.1483, allocations: 59.97 kB / 434.6 MB, free: 3.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.1483, allocations: 15.92 kB / 434.6 MB, free: 3.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.735e-05/0.1484, allocations: 31.8 kB / 434.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003261/0.1487, allocations: 135.9 kB / 434.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1488, allocations: 4 kB / 434.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1488, allocations: 0 / 434.7 MB, free: 3.312 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1488, allocations: 0 / 434.7 MB, free: 3.312 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006605/0.1494, allocations: 410.9 kB / 435.1 MB, free: 2.863 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.1495, allocations: 12.03 kB / 435.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.1496, allocations: 8.844 kB / 435.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.1499, allocations: 204.7 kB / 435.4 MB, free: 2.605 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1499, allocations: 7.938 kB / 435.4 MB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.1499, allocations: 7.984 kB / 435.4 MB, free: 2.59 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.1501, allocations: 71.39 kB / 435.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1502, allocations: 3.938 kB / 435.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1502, allocations: 8 kB / 435.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1502, allocations: 0 / 435.5 MB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001058/0.1503, allocations: 31.95 kB / 435.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.1508, allocations: 288.8 kB / 435.8 MB, free: 2.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.151, allocations: 78.67 kB / 435.8 MB, free: 2.047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.466e-05/0.1511, allocations: 28.78 kB / 435.9 MB, free: 2.016 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.1511, allocations: 3.984 kB / 435.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/0.1514, allocations: 71.38 kB / 436 MB, free: 1.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.655e-06/0.1514, allocations: 4 kB / 436 MB, free: 1.926 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006182/0.152, allocations: 201.2 kB / 436.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.799e-05/0.1521, allocations: 81.05 kB / 436.2 MB, free: 1.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.1523, allocations: 158.4 kB / 436.4 MB, free: 1.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.1523, allocations: 25.7 kB / 436.4 MB, free: 1.426 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.155e-05/0.1523, allocations: 96.14 kB / 436.5 MB, free: 1.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.1524, allocations: 27.64 kB / 436.5 MB, free: 1.301 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.1524, allocations: 25.7 kB / 436.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1526, allocations: 326.9 kB / 436.9 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.886e-05/0.1526, allocations: 27.92 kB / 436.9 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.732e-05/0.1527, allocations: 50.5 kB / 437 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1529, allocations: 65.7 kB / 437 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1529, allocations: 0 / 437 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002064/0.1531, allocations: 113.5 kB / 437.1 MB, free: 0.668 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.1531, allocations: 8 kB / 437.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1531, allocations: 0 / 437.1 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1531, allocations: 3.938 kB / 437.1 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.1532, allocations: 23.92 kB / 437.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1533, allocations: 480 / 437.2 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.1533, allocations: 11.91 kB / 437.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.1533, allocations: 4 kB / 437.2 MB, free: 0.6172 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 (11): * Single equations (assignments): 11 * 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 9.95e-05/0.1534, allocations: 117.8 kB / 437.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.1535, allocations: 19.94 kB / 437.3 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/0.1535, allocations: 20.64 kB / 437.3 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1535, allocations: 0 / 437.3 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.1536, allocations: 0 / 437.3 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1536, allocations: 0 / 437.3 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.1541, allocations: 415.3 kB / 437.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1541, allocations: 0 / 437.7 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.205e-05/0.1541, allocations: 11.94 kB / 437.7 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1541, allocations: 7.969 kB / 437.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1541, allocations: 4 kB / 437.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.1542, allocations: 3.984 kB / 437.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1542, allocations: 0 / 437.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/0.1544, allocations: 220.2 kB / 438 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.1545, allocations: 85.02 kB / 438.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.1545, allocations: 0 / 438.1 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.752e-05/0.1546, allocations: 15.98 kB / 438.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.1547, allocations: 4 kB / 438.1 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.1547, allocations: 8 kB / 438.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.1548, allocations: 123.9 kB / 438.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1548, allocations: 0 / 438.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.1551, allocations: 35.89 kB / 438.2 MB, free: 15.44 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 (9): * Single equations (assignments): 7 * 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.00113/0.1563, allocations: 0.5088 MB / 438.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1565, allocations: 67.86 kB / 438.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1565, allocations: 4.062 kB / 438.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.1566, allocations: 39.91 kB / 438.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.157, allocations: 31.97 kB / 438.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004595/0.1574, allocations: 220.8 kB / 439.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1577, allocations: 0.7004 MB / 439.8 MB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.787e-05/0.1578, allocations: 20.78 kB / 439.8 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.1578, allocations: 19.44 kB / 439.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1578, allocations: 4 kB / 439.9 MB, free: 13.79 MB / 382.1 MB Notification: Performance of Templates: time 0.005099/0.1629, allocations: 1.981 MB / 441.8 MB, free: 11.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)