Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008345/0.008345, allocations: 102 kB / 15.73 MB, free: 6.039 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.001342/0.001342, allocations: 194.2 kB / 16.67 MB, free: 5.961 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.598/1.598, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2221/0.2221, allocations: 38.01 MB / 307.9 MB, free: 5.969 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.001693/0.001693, allocations: 75.89 kB / 433 MB, free: 14.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1545, allocations: 56.46 MB / 489.5 MB, free: 5.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004833/0.1594, allocations: 1.757 MB / 491.3 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1615, allocations: 0.8792 MB / 492.1 MB, free: 3.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001958/0.1617, allocations: 3.938 kB / 492.1 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007591/0.1625, allocations: 307.3 kB / 492.4 MB, free: 2.969 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005732/0.1631, allocations: 195.4 kB / 492.6 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005413/0.1636, allocations: 139.7 kB / 492.8 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005613/0.1642, allocations: 239.3 kB / 493 MB, free: 2.406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.1644, allocations: 21.52 kB / 493 MB, free: 2.387 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.1647, allocations: 123.6 kB / 493.1 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.165, allocations: 188 kB / 493.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.434e-05/0.1651, allocations: 8 kB / 493.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1652, allocations: 51.92 kB / 493.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002131/0.1655, allocations: 132.5 kB / 493.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.1656, allocations: 142.8 kB / 493.7 MB, free: 1.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006911/0.1663, allocations: 354.8 kB / 494 MB, free: 1.406 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.072e-05/0.1664, allocations: 4 kB / 494 MB, free: 1.402 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1664, allocations: 0 / 494 MB, free: 1.402 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.1664, allocations: 0 / 494 MB, free: 1.402 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.001364/0.1678, allocations: 0.7113 MB / 494.7 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.1678, allocations: 15.89 kB / 494.7 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.168, allocations: 52.28 kB / 494.8 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000945/0.1689, allocations: 443.9 kB / 495.2 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1689, allocations: 384 / 495.2 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.169, allocations: 12.12 kB / 495.2 MB, free: 92 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1692, allocations: 87.3 kB / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1693, allocations: 0 / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.1693, allocations: 0 / 495.3 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1693, allocations: 8 kB / 495.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.1694, allocations: 31.97 kB / 495.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005198/0.1699, allocations: 370.3 kB / 495.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.1702, allocations: 109.2 kB / 495.8 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.43e-05/0.1704, allocations: 45.64 kB / 495.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.1704, allocations: 0 / 495.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002239/0.1706, allocations: 105 kB / 496 MB, free: 15.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1706, allocations: 3.938 kB / 496 MB, free: 15.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005711/0.1712, allocations: 204.9 kB / 496.2 MB, free: 15.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001935/0.1714, allocations: 77.11 kB / 496.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.1728, allocations: 1.007 MB / 497.3 MB, free: 13.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.1728, allocations: 25.7 kB / 497.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.1731, allocations: 224.1 kB / 497.5 MB, free: 13.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.1732, allocations: 39.62 kB / 497.5 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.1732, allocations: 29.7 kB / 497.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002198/0.1735, allocations: 370.8 kB / 497.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.647e-05/0.1735, allocations: 27.98 kB / 498 MB, free: 13.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1737, allocations: 51.42 kB / 498 MB, free: 13.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003292/0.174, allocations: 95.34 kB / 498.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.174, allocations: 0 / 498.1 MB, free: 13.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003177/0.1743, allocations: 169.3 kB / 498.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.1744, allocations: 4 kB / 498.3 MB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1744, allocations: 4.125 kB / 498.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.1744, allocations: 0 / 498.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.1745, allocations: 35.97 kB / 498.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.1746, allocations: 0 / 498.3 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1747, allocations: 12.05 kB / 498.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.1747, allocations: 4 kB / 498.3 MB, free: 12.79 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.0002472/0.1749, allocations: 229.5 kB / 498.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.965e-05/0.175, allocations: 55.33 kB / 498.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.419e-05/0.1751, allocations: 55.84 kB / 498.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1751, allocations: 4 kB / 498.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.1751, allocations: 0 / 498.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1751, allocations: 0 / 498.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.1755, allocations: 337.3 kB / 499 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1755, allocations: 4 kB / 499 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.514e-05/0.1755, allocations: 8 kB / 499 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1755, allocations: 3.984 kB / 499 MB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/0.1756, allocations: 7.938 kB / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1756, allocations: 3.984 kB / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1756, allocations: 0 / 499 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.176, allocations: 205.2 kB / 499.2 MB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.1762, allocations: 136.5 kB / 499.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.592e-05/0.1762, allocations: 7.938 kB / 499.4 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.1763, allocations: 7.984 kB / 499.4 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.1764, allocations: 15.92 kB / 499.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.1764, allocations: 4 kB / 499.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009277/0.1773, allocations: 0.7448 MB / 0.4884 GB, free: 10.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1773, allocations: 0 / 0.4884 GB, free: 10.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002917/0.1776, allocations: 44 kB / 0.4885 GB, free: 10.84 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.001138/0.1788, allocations: 419.3 kB / 0.4889 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.1791, allocations: 83.89 kB / 0.4889 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1791, allocations: 0 / 0.4889 GB, free: 10.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1792, allocations: 39.92 kB / 0.489 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.1797, allocations: 74.06 kB / 0.489 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.1813, allocations: 0.8431 MB / 0.4899 GB, free: 9.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005958/0.1819, allocations: 0.8349 MB / 0.4907 GB, free: 8.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001561/0.182, allocations: 63.42 kB / 0.4907 GB, free: 8.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.1821, allocations: 35.42 kB / 0.4908 GB, free: 8.441 MB / 382.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1821, allocations: 0 / 0.4908 GB, free: 8.441 MB / 382.1 MB Notification: Performance of Templates: time 0.009489/0.1916, allocations: 3.778 MB / 0.4945 GB, free: 4.664 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)