Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, 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.001131/0.001131, allocations: 186.2 kB / 16.25 MB, free: 6.625 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.726/1.726, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.3657/0.3657, allocations: 37.98 MB / 307.4 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.001778/0.001778, allocations: 66.41 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1439, allocations: 56.46 MB / 431.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003564/0.1475, allocations: 2.049 MB / 433.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1489, allocations: 0.8739 MB / 434.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001038/0.1491, allocations: 0 / 434.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.1494, allocations: 43.78 kB / 434.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002232/0.1497, allocations: 59.69 kB / 434.2 MB, free: 3.906 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003009/0.15, allocations: 111.8 kB / 434.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.1503, allocations: 195.4 kB / 434.5 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1504, allocations: 41.91 kB / 434.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1505, allocations: 79.64 kB / 434.7 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1506, allocations: 75.61 kB / 434.7 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.1507, allocations: 15.94 kB / 434.7 MB, free: 3.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.932e-05/0.1508, allocations: 51.98 kB / 434.8 MB, free: 3.348 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.1509, allocations: 35.84 kB / 434.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.838e-05/0.1509, allocations: 79.52 kB / 434.9 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.1512, allocations: 187.4 kB / 435.1 MB, free: 3.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1512, allocations: 0 / 435.1 MB, free: 3.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1512, allocations: 0 / 435.1 MB, free: 3.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.1512, allocations: 4 kB / 435.1 MB, free: 3.047 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009263/0.1522, allocations: 0.5487 MB / 435.6 MB, free: 2.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1522, allocations: 15.89 kB / 435.7 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.1523, allocations: 20.66 kB / 435.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.1526, allocations: 244.8 kB / 435.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.1526, allocations: 8.375 kB / 435.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.1526, allocations: 16.12 kB / 435.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.153, allocations: 147.8 kB / 436.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.1531, allocations: 0 / 436.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.17e-05/0.1531, allocations: 11.98 kB / 436.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.1531, allocations: 3.938 kB / 436.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.1535, allocations: 107.9 kB / 436.2 MB, free: 1.824 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.1542, allocations: 0.5554 MB / 436.8 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006229/0.1548, allocations: 154.6 kB / 436.9 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002325/0.155, allocations: 76.73 kB / 437 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.1551, allocations: 4 kB / 437 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003811/0.1555, allocations: 135.2 kB / 437.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.913e-06/0.1555, allocations: 3.938 kB / 437.1 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.000894/0.1564, allocations: 261.2 kB / 437.4 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.1564, allocations: 59.34 kB / 437.4 MB, free: 500 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.1567, allocations: 215.2 kB / 437.7 MB, free: 276 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.1567, allocations: 33.7 kB / 437.7 MB, free: 236 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1568, allocations: 132.2 kB / 437.8 MB, free: 100 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.618e-05/0.1569, allocations: 35.67 kB / 437.8 MB, free: 64 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.1569, allocations: 33.72 kB / 437.9 MB, free: 24 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1571, allocations: 334.8 kB / 438.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.1574, allocations: 67.94 kB / 438.3 MB, free: 15.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/0.1576, allocations: 108.2 kB / 438.4 MB, free: 15.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.1581, allocations: 193.8 kB / 438.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1581, allocations: 4 kB / 438.6 MB, free: 15.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005916/0.1587, allocations: 255 kB / 438.8 MB, free: 15.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.83e-05/0.1588, allocations: 37.69 kB / 438.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1588, allocations: 0 / 438.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.1588, allocations: 7.938 kB / 438.9 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.159, allocations: 39.91 kB / 438.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.159, allocations: 3.938 kB / 438.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.1592, allocations: 31.81 kB / 438.9 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.1592, allocations: 12 kB / 439 MB, free: 14.89 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001315/0.1594, allocations: 130.7 kB / 439.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.1594, allocations: 19.8 kB / 439.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.648e-05/0.1595, allocations: 25.39 kB / 439.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1595, allocations: 3.938 kB / 439.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1595, allocations: 0 / 439.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1595, allocations: 0 / 439.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002378/0.1597, allocations: 237.4 kB / 439.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1598, allocations: 0 / 439.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.1599, allocations: 31.91 kB / 439.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1599, allocations: 4 kB / 439.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.16, allocations: 4 kB / 439.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.16, allocations: 3.938 kB / 439.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.16, allocations: 0 / 439.4 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008196/0.1608, allocations: 300.7 kB / 439.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.476e-05/0.1609, allocations: 88.95 kB / 439.8 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.1609, allocations: 11.98 kB / 439.8 MB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.1611, allocations: 19.91 kB / 439.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/0.1612, allocations: 15.98 kB / 439.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.292e-05/0.1612, allocations: 8 kB / 439.8 MB, free: 13.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1614, allocations: 168.7 kB / 440 MB, free: 13.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.034e-06/0.1614, allocations: 0 / 440 MB, free: 13.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00025/0.1616, allocations: 35.94 kB / 440 MB, free: 13.7 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008896/0.1625, allocations: 424.9 kB / 440.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005742/0.1631, allocations: 227.3 kB / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1631, allocations: 0 / 440.7 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002398/0.1634, allocations: 79.88 kB / 440.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.1637, allocations: 39.83 kB / 440.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.1644, allocations: 360.4 kB / 441.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.1647, allocations: 0.7202 MB / 441.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.23e-05/0.1648, allocations: 25.52 kB / 441.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.1649, allocations: 27.44 kB / 441.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1649, allocations: 0 / 441.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of Templates: time 0.0062/0.1711, allocations: 2.698 MB / 444.6 MB, free: 9.082 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)