Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001586/0.001585, allocations: 193.6 kB / 16.25 MB, free: 6.621 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.507/1.507, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.3293/0.3293, allocations: 37.98 MB / 307.4 MB, free: 10.08 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.001822/0.001822, allocations: 74.41 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.149, allocations: 56.46 MB / 431.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003655/0.1527, allocations: 1.732 MB / 432.9 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.154, allocations: 0.8 MB / 433.7 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.734e-05/0.1541, allocations: 0 / 433.7 MB, free: 4.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003589/0.1545, allocations: 43.83 kB / 433.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.1548, allocations: 51.83 kB / 433.8 MB, free: 4.309 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.155, allocations: 71.84 kB / 433.9 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.1552, allocations: 91.7 kB / 434 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001169/0.1553, allocations: 20.2 kB / 434 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.158e-05/0.1554, allocations: 39.78 kB / 434.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.741e-05/0.1555, allocations: 31.86 kB / 434.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.1555, allocations: 8 kB / 434.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.777e-05/0.1556, allocations: 47.92 kB / 434.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.812e-05/0.1557, allocations: 23.91 kB / 434.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.232e-05/0.1558, allocations: 39.67 kB / 434.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.156, allocations: 115.9 kB / 434.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.156, allocations: 0 / 434.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.156, allocations: 0 / 434.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.156, allocations: 0 / 434.3 MB, free: 3.828 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005845/0.1566, allocations: 414.9 kB / 434.7 MB, free: 3.375 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1567, allocations: 11.89 kB / 434.7 MB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.927e-05/0.1567, allocations: 12.84 kB / 434.7 MB, free: 3.352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.157, allocations: 216.7 kB / 435 MB, free: 3.102 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.157, allocations: 4.359 kB / 435 MB, free: 3.098 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.157, allocations: 8.125 kB / 435 MB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1572, allocations: 53.67 kB / 435 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.1572, allocations: 0 / 435 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.1572, allocations: 0 / 435 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.1572, allocations: 0 / 435 MB, free: 3.031 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.514e-05/0.1573, allocations: 19.98 kB / 435 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003979/0.1577, allocations: 292.8 kB / 435.3 MB, free: 2.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1579, allocations: 54.62 kB / 435.4 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.158, allocations: 24.84 kB / 435.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.158, allocations: 0 / 435.4 MB, free: 2.586 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.1582, allocations: 67.39 kB / 435.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.1582, allocations: 0 / 435.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005576/0.1587, allocations: 177.1 kB / 435.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.1588, allocations: 55.41 kB / 435.7 MB, free: 2.262 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.159, allocations: 191.3 kB / 435.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.159, allocations: 25.7 kB / 435.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.1591, allocations: 112.1 kB / 436 MB, free: 1.922 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.238e-05/0.1591, allocations: 31.69 kB / 436 MB, free: 1.891 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.1592, allocations: 17.72 kB / 436.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1593, allocations: 330.8 kB / 436.4 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.637e-05/0.1594, allocations: 19.98 kB / 436.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.35e-05/0.1594, allocations: 37.7 kB / 436.4 MB, free: 1.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1595, allocations: 57.72 kB / 436.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1596, allocations: 0 / 436.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001788/0.1597, allocations: 97.52 kB / 436.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1598, allocations: 8 kB / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1598, allocations: 192 / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1598, allocations: 0 / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.1599, allocations: 23.86 kB / 436.6 MB, free: 1.277 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.1599, allocations: 4.375 kB / 436.6 MB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.587e-05/0.16, allocations: 11.84 kB / 436.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.16, allocations: 4 kB / 436.6 MB, free: 1.258 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 (10): * Single equations (assignments): 10 * 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.00011/0.1601, allocations: 133.8 kB / 436.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1601, allocations: 19.89 kB / 436.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.233e-05/0.1602, allocations: 17.34 kB / 436.8 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-06/0.1602, allocations: 0 / 436.8 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1602, allocations: 4 kB / 436.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1602, allocations: 3.938 kB / 436.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.1606, allocations: 395.3 kB / 437.2 MB, free: 0.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1606, allocations: 4 kB / 437.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.1607, allocations: 8 kB / 437.2 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1607, allocations: 0 / 437.2 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1607, allocations: 3.938 kB / 437.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1607, allocations: 0 / 437.2 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1607, allocations: 4 kB / 437.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002235/0.1609, allocations: 208.2 kB / 437.4 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.161, allocations: 85 kB / 437.5 MB, free: 288 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.161, allocations: 7.938 kB / 437.5 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.566e-05/0.1611, allocations: 0 / 437.5 MB, free: 280 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.1611, allocations: 11.98 kB / 437.5 MB, free: 268 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.1611, allocations: 4 kB / 437.5 MB, free: 264 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1613, allocations: 152.9 kB / 437.7 MB, free: 112 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1613, allocations: 0 / 437.7 MB, free: 112 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000248/0.1615, allocations: 20 kB / 437.7 MB, free: 92 kB / 366.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 (8): * Single equations (assignments): 6 * 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.001051/0.1626, allocations: 483.1 kB / 438.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1628, allocations: 63.89 kB / 438.2 MB, free: 15.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1628, allocations: 4.062 kB / 438.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.78e-05/0.1629, allocations: 31.92 kB / 438.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1633, allocations: 31.78 kB / 438.3 MB, free: 15.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.1637, allocations: 255.2 kB / 438.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000294/0.164, allocations: 0.708 MB / 439.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.308e-05/0.1641, allocations: 21.17 kB / 439.3 MB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.351e-05/0.1641, allocations: 15.44 kB / 439.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1641, allocations: 0 / 439.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of Templates: time 0.004185/0.1683, allocations: 1.682 MB / 441 MB, free: 12.79 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)