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.001632/0.001632, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001927/0.001927, allocations: 189 kB / 16.13 MB, free: 6.652 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.729/1.729, allocations: 205.1 MB / 222 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.3592/0.3592, allocations: 37.97 MB / 307.3 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.001383/0.001383, allocations: 71.12 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1433, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003989/0.1473, allocations: 1.736 MB / 432.8 MB, free: 5.324 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.1488, allocations: 0.7961 MB / 433.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.923e-05/0.1489, allocations: 3.938 kB / 433.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.1494, allocations: 31.89 kB / 433.6 MB, free: 4.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.1496, allocations: 47.83 kB / 433.6 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003144/0.1499, allocations: 79.78 kB / 433.7 MB, free: 4.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1501, allocations: 95.69 kB / 433.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1503, allocations: 12.22 kB / 433.8 MB, free: 4.254 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1504, allocations: 39.78 kB / 433.9 MB, free: 4.215 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.41e-05/0.1505, allocations: 31.8 kB / 433.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.1505, allocations: 0 / 433.9 MB, free: 4.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.1507, allocations: 39.97 kB / 433.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.1507, allocations: 19.92 kB / 433.9 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.666e-05/0.1508, allocations: 35.73 kB / 434 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.151, allocations: 115.9 kB / 434.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1511, allocations: 0 / 434.1 MB, free: 3.977 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1511, allocations: 4 kB / 434.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1511, allocations: 0 / 434.1 MB, free: 3.973 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.0006337/0.1517, allocations: 407 kB / 434.5 MB, free: 3.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1518, allocations: 12.03 kB / 434.5 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.1518, allocations: 12.75 kB / 434.5 MB, free: 3.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.1521, allocations: 204.1 kB / 434.7 MB, free: 3.266 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.1521, allocations: 4.375 kB / 434.7 MB, free: 3.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1522, allocations: 4.125 kB / 434.7 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1523, allocations: 57.67 kB / 434.8 MB, free: 3.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1523, allocations: 4 kB / 434.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1524, allocations: 3.984 kB / 434.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1524, allocations: 0 / 434.8 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.854e-05/0.1525, allocations: 23.94 kB / 434.8 MB, free: 3.164 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004203/0.1529, allocations: 284.9 kB / 435.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1531, allocations: 54.69 kB / 435.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.1531, allocations: 20.84 kB / 435.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.1532, allocations: 0 / 435.2 MB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.1534, allocations: 79.27 kB / 435.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.522e-06/0.1534, allocations: 0 / 435.2 MB, free: 2.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005706/0.154, allocations: 173.2 kB / 435.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1541, allocations: 55.41 kB / 435.5 MB, free: 2.418 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.1543, allocations: 178.2 kB / 435.6 MB, free: 2.234 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.1543, allocations: 33.69 kB / 435.7 MB, free: 2.195 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.1544, allocations: 100.1 kB / 435.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.18e-05/0.1544, allocations: 23.7 kB / 435.8 MB, free: 2.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.1544, allocations: 21.72 kB / 435.8 MB, free: 2.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1546, allocations: 326.8 kB / 436.1 MB, free: 1.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.639e-05/0.1547, allocations: 19.98 kB / 436.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.84e-05/0.1547, allocations: 49.62 kB / 436.2 MB, free: 1.641 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001111/0.1549, allocations: 57.66 kB / 436.3 MB, free: 1.578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1549, allocations: 3.984 kB / 436.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.1551, allocations: 93.5 kB / 436.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.1551, allocations: 8 kB / 436.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1551, allocations: 3.938 kB / 436.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1551, allocations: 8.016 kB / 436.4 MB, free: 1.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.952e-05/0.1552, allocations: 19.98 kB / 436.4 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1552, allocations: 4 kB / 436.4 MB, free: 1.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.1553, allocations: 3.938 kB / 436.4 MB, free: 1.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.1553, allocations: 4 kB / 436.4 MB, free: 1.426 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 9.741e-05/0.1554, allocations: 125.8 kB / 436.5 MB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.1554, allocations: 11.91 kB / 436.5 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.1555, allocations: 12.72 kB / 436.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1555, allocations: 0 / 436.6 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.1555, allocations: 4 kB / 436.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1555, allocations: 7.922 kB / 436.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004191/0.156, allocations: 391.3 kB / 436.9 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.156, allocations: 0 / 436.9 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.156, allocations: 11.94 kB / 437 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.156, allocations: 0 / 437 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.1561, allocations: 7.938 kB / 437 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.1561, allocations: 0 / 437 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1561, allocations: 4.031 kB / 437 MB, free: 0.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1563, allocations: 200.2 kB / 437.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.1564, allocations: 93.31 kB / 437.3 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.1564, allocations: 3.938 kB / 437.3 MB, free: 476 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.1565, allocations: 12 kB / 437.3 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.1565, allocations: 3.984 kB / 437.3 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.1565, allocations: 12 kB / 437.3 MB, free: 448 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001179/0.1567, allocations: 144.1 kB / 437.4 MB, free: 304 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1567, allocations: 3.938 kB / 437.4 MB, free: 300 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1569, allocations: 23.98 kB / 437.5 MB, free: 276 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.0009936/0.1579, allocations: 465.7 kB / 437.9 MB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001774/0.1581, allocations: 63.95 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1581, allocations: 3.938 kB / 438 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.853e-05/0.1582, allocations: 20 kB / 438 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.1586, allocations: 31.97 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.159, allocations: 237.3 kB / 438.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1593, allocations: 0.7043 MB / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.886e-05/0.1594, allocations: 20.88 kB / 439 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.1594, allocations: 19.44 kB / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1594, allocations: 0 / 439 MB, free: 14.68 MB / 382.1 MB Notification: Performance of Templates: time 0.00433/0.1638, allocations: 1.648 MB / 440.7 MB, free: 13.04 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)