Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, 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.001599/0.001599, allocations: 190.6 kB / 16.25 MB, free: 6.637 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.742/1.742, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.3688/0.3688, allocations: 37.98 MB / 307.4 MB, free: 10.16 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.001485/0.001485, allocations: 74.33 kB / 374.8 MB, free: 15.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1428, allocations: 56.46 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003765/0.1466, allocations: 1.732 MB / 432.9 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1481, allocations: 0.7961 MB / 433.7 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.953e-05/0.1482, allocations: 3.938 kB / 433.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003888/0.1487, allocations: 39.89 kB / 433.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1489, allocations: 43.83 kB / 433.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.1492, allocations: 71.86 kB / 433.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.1495, allocations: 103.7 kB / 434 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1496, allocations: 12.22 kB / 434 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1497, allocations: 39.8 kB / 434 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.1498, allocations: 39.77 kB / 434.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1499, allocations: 4 kB / 434.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.15, allocations: 40 kB / 434.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.18e-05/0.1501, allocations: 19.92 kB / 434.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.732e-05/0.1502, allocations: 35.78 kB / 434.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002697/0.1505, allocations: 111.9 kB / 434.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1505, allocations: 0 / 434.3 MB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1505, allocations: 3.938 kB / 434.3 MB, free: 3.859 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.656e-05/0.1505, allocations: 0 / 434.3 MB, free: 3.859 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.0007945/0.1513, allocations: 418.9 kB / 434.7 MB, free: 3.402 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.1514, allocations: 11.89 kB / 434.7 MB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.361e-05/0.1515, allocations: 12.75 kB / 434.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.1518, allocations: 204.1 kB / 434.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.1519, allocations: 8.375 kB / 434.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.877e-05/0.1519, allocations: 8.109 kB / 434.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.1521, allocations: 53.67 kB / 435 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1521, allocations: 0 / 435 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1522, allocations: 0 / 435 MB, free: 3.066 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1522, allocations: 4 kB / 435 MB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.031e-05/0.1523, allocations: 19.92 kB / 435 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000582/0.1529, allocations: 284.9 kB / 435.3 MB, free: 2.715 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1531, allocations: 58.67 kB / 435.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.1531, allocations: 24.84 kB / 435.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.1532, allocations: 0 / 435.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.1534, allocations: 71.33 kB / 435.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1534, allocations: 0 / 435.5 MB, free: 2.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000627/0.154, allocations: 181.2 kB / 435.6 MB, free: 2.355 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.1541, allocations: 55.41 kB / 435.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1543, allocations: 182.2 kB / 435.9 MB, free: 2.102 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.1543, allocations: 29.7 kB / 435.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.1544, allocations: 108 kB / 436 MB, free: 1.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1544, allocations: 23.7 kB / 436 MB, free: 1.934 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.1545, allocations: 17.72 kB / 436 MB, free: 1.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.1546, allocations: 330.8 kB / 436.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.1547, allocations: 23.98 kB / 436.4 MB, free: 1.555 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-05/0.1548, allocations: 33.7 kB / 436.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.1549, allocations: 61.64 kB / 436.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1549, allocations: 0 / 436.5 MB, free: 1.449 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001972/0.1551, allocations: 105.4 kB / 436.6 MB, free: 1.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.1551, allocations: 8.031 kB / 436.6 MB, free: 1.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.1552, allocations: 4 kB / 436.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.1552, allocations: 0 / 436.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.1553, allocations: 15.98 kB / 436.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.1553, allocations: 192 / 436.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.859e-05/0.1554, allocations: 7.938 kB / 436.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.1554, allocations: 11.94 kB / 436.6 MB, free: 1.293 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.0001264/0.1555, allocations: 121.8 kB / 436.7 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.1556, allocations: 7.906 kB / 436.8 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.603e-05/0.1556, allocations: 16.72 kB / 436.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.1556, allocations: 7.984 kB / 436.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.1557, allocations: 0 / 436.8 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.403e-05/0.1557, allocations: 3.938 kB / 436.8 MB, free: 1.129 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005354/0.1562, allocations: 383.3 kB / 437.2 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1562, allocations: 4 kB / 437.2 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.203e-05/0.1563, allocations: 11.94 kB / 437.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1563, allocations: 4.031 kB / 437.2 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.1563, allocations: 3.938 kB / 437.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1563, allocations: 0 / 437.2 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1563, allocations: 7.984 kB / 437.2 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1566, allocations: 204.2 kB / 437.4 MB, free: 456 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.1567, allocations: 81.02 kB / 437.5 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.1567, allocations: 12.31 kB / 437.5 MB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.1568, allocations: 4 kB / 437.5 MB, free: 340 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.1568, allocations: 7.984 kB / 437.5 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.1568, allocations: 11.94 kB / 437.5 MB, free: 320 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.157, allocations: 144 kB / 437.6 MB, free: 176 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.157, allocations: 3.938 kB / 437.6 MB, free: 172 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1573, allocations: 24 kB / 437.7 MB, free: 148 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.001374/0.1587, allocations: 469.9 kB / 438.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002532/0.1589, allocations: 67.91 kB / 438.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1589, allocations: 0 / 438.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.159, allocations: 27.92 kB / 438.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.1595, allocations: 43.91 kB / 438.3 MB, free: 15.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/0.1601, allocations: 239.1 kB / 438.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004434/0.1605, allocations: 0.7041 MB / 439.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.1606, allocations: 13.2 kB / 439.2 MB, free: 14.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.1607, allocations: 15.42 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1607, allocations: 4 kB / 439.2 MB, free: 14.54 MB / 382.1 MB Notification: Performance of Templates: time 0.004871/0.1656, allocations: 1.671 MB / 440.9 MB, free: 12.87 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1)