Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.001351, 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.001519/0.001519, allocations: 195.9 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.661/1.661, allocations: 205.1 MB / 222 MB, free: 4.766 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.4216/0.4216, allocations: 37.99 MB / 307.3 MB, free: 9.984 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.001412/0.001412, allocations: 74.41 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1481, allocations: 56.46 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003303/0.1514, allocations: 1.821 MB / 432.8 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001451/0.1529, allocations: 0.8779 MB / 433.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.153, allocations: 0 / 433.7 MB, free: 4.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005733/0.1536, allocations: 303.4 kB / 434 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.1539, allocations: 199.5 kB / 434.2 MB, free: 3.844 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.1543, allocations: 127.8 kB / 434.3 MB, free: 3.719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.1546, allocations: 235.4 kB / 434.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.1547, allocations: 21.52 kB / 434.6 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.1549, allocations: 115.5 kB / 434.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002332/0.1551, allocations: 195.5 kB / 434.9 MB, free: 3.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.735e-05/0.1552, allocations: 4 kB / 434.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.1553, allocations: 31.98 kB / 434.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001615/0.1554, allocations: 135.6 kB / 435.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.1556, allocations: 154.7 kB / 435.2 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004096/0.156, allocations: 355 kB / 435.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.156, allocations: 0 / 435.6 MB, free: 2.492 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.156, allocations: 4 kB / 435.6 MB, free: 2.488 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.156, allocations: 0 / 435.6 MB, free: 2.488 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009823/0.157, allocations: 0.7191 MB / 436.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.1571, allocations: 8.031 kB / 436.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.568e-05/0.1572, allocations: 52.28 kB / 436.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005851/0.1578, allocations: 451.8 kB / 436.8 MB, free: 1.176 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1578, allocations: 4.312 kB / 436.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.1578, allocations: 8.125 kB / 436.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.1581, allocations: 87.36 kB / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1581, allocations: 0 / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.1581, allocations: 0 / 436.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.1581, allocations: 4 kB / 436.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.1582, allocations: 31.92 kB / 436.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004225/0.1587, allocations: 370.4 kB / 437.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002788/0.159, allocations: 105.2 kB / 437.4 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1591, allocations: 45.58 kB / 437.4 MB, free: 456 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1591, allocations: 8 kB / 437.4 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003537/0.1595, allocations: 105 kB / 437.5 MB, free: 324 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.051e-06/0.1595, allocations: 0 / 437.5 MB, free: 324 kB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005252/0.16, allocations: 197 kB / 437.7 MB, free: 120 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/0.1601, allocations: 85.05 kB / 437.8 MB, free: 16 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.1612, allocations: 1.03 MB / 438.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.1612, allocations: 37.7 kB / 438.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.1614, allocations: 228.1 kB / 439.1 MB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.1614, allocations: 39.47 kB / 439.1 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.413e-05/0.1615, allocations: 29.7 kB / 439.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1617, allocations: 366.8 kB / 439.5 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.279e-05/0.1618, allocations: 27.98 kB / 439.6 MB, free: 14.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.225e-05/0.1619, allocations: 59.42 kB / 439.6 MB, free: 14.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.162, allocations: 91.84 kB / 439.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.162, allocations: 4 kB / 439.7 MB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003003/0.1624, allocations: 161 kB / 439.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1624, allocations: 4 kB / 439.9 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.1624, allocations: 8.062 kB / 439.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1624, allocations: 3.984 kB / 439.9 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.1626, allocations: 19.94 kB / 439.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.1626, allocations: 4 kB / 439.9 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1627, allocations: 19.83 kB / 439.9 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.1627, allocations: 4 kB / 439.9 MB, free: 13.83 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002422/0.163, allocations: 229.6 kB / 440.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.849e-05/0.163, allocations: 51.33 kB / 440.2 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.68e-05/0.1631, allocations: 64 kB / 440.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.1631, allocations: 3.938 kB / 440.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.1632, allocations: 4 kB / 440.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.1632, allocations: 0 / 440.3 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.1635, allocations: 341.4 kB / 440.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1635, allocations: 0 / 440.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.1635, allocations: 7.938 kB / 440.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1636, allocations: 4 kB / 440.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1636, allocations: 0 / 440.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1636, allocations: 0 / 440.6 MB, free: 13.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.1636, allocations: 11.97 kB / 440.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1639, allocations: 205.3 kB / 440.8 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.1641, allocations: 140.5 kB / 441 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.57e-05/0.1641, allocations: 0 / 441 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.1642, allocations: 7.984 kB / 441 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.1643, allocations: 8.094 kB / 441 MB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.1643, allocations: 15.92 kB / 441 MB, free: 12.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007468/0.1651, allocations: 0.7682 MB / 441.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1651, allocations: 0 / 441.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1653, allocations: 47.98 kB / 441.8 MB, free: 11.85 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.0009012/0.1662, allocations: 414.6 kB / 442.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002641/0.1665, allocations: 80.03 kB / 442.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1665, allocations: 4.062 kB / 442.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.1666, allocations: 48.23 kB / 442.3 MB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.1671, allocations: 74 kB / 442.4 MB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.1684, allocations: 0.9542 MB / 443.4 MB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004486/0.1689, allocations: 0.8429 MB / 444.2 MB, free: 9.406 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.169, allocations: 54.95 kB / 444.3 MB, free: 9.352 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.1691, allocations: 35.42 kB / 444.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1691, allocations: 0 / 444.3 MB, free: 9.316 MB / 382.1 MB Notification: Performance of Templates: time 0.007842/0.1769, allocations: 3.563 MB / 447.9 MB, free: 5.758 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)