Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.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.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007777/0.007783, allocations: 100.9 kB / 15.73 MB, free: 6.004 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.00144/0.00144, allocations: 193.3 kB / 16.67 MB, free: 5.922 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.583/1.583, allocations: 205.1 MB / 222.5 MB, free: 12.21 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.2031/0.2031, allocations: 38.01 MB / 307.9 MB, free: 5.965 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.001545/0.001545, allocations: 71.91 kB / 433 MB, free: 14.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.14, allocations: 56.46 MB / 489.5 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004067/0.1441, allocations: 1.757 MB / 491.3 MB, free: 4.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.1459, allocations: 0.887 MB / 492.1 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.1461, allocations: 0 / 492.1 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005551/0.1467, allocations: 315.3 kB / 492.5 MB, free: 2.855 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.0004548/0.1472, allocations: 207.3 kB / 492.7 MB, free: 2.652 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.1476, allocations: 135.7 kB / 492.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004252/0.1481, allocations: 247.3 kB / 493 MB, free: 2.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.263e-05/0.1482, allocations: 17.53 kB / 493 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.1484, allocations: 127.5 kB / 493.2 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002833/0.1487, allocations: 183.6 kB / 493.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.1488, allocations: 8 kB / 493.4 MB, free: 1.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001498/0.1489, allocations: 39.98 kB / 493.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.1491, allocations: 143.6 kB / 493.5 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001702/0.1493, allocations: 150.8 kB / 493.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006011/0.1499, allocations: 374.2 kB / 494.1 MB, free: 1.254 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1499, allocations: 0 / 494.1 MB, free: 1.254 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1499, allocations: 0 / 494.1 MB, free: 1.254 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.1499, allocations: 0 / 494.1 MB, free: 1.254 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.001111/0.1511, allocations: 0.75 MB / 494.8 MB, free: 464 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1511, allocations: 11.89 kB / 494.8 MB, free: 452 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.1512, allocations: 48.61 kB / 494.9 MB, free: 404 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000808/0.152, allocations: 456.4 kB / 495.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.1521, allocations: 384 / 495.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.1521, allocations: 12.12 kB / 495.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.1524, allocations: 87.34 kB / 495.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1524, allocations: 0 / 495.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1524, allocations: 0 / 495.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.1524, allocations: 4 kB / 495.4 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1525, allocations: 31.92 kB / 495.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/0.1531, allocations: 374.4 kB / 495.8 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.1535, allocations: 105.2 kB / 495.9 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.1536, allocations: 49.58 kB / 496 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1536, allocations: 4 kB / 496 MB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.1539, allocations: 105 kB / 496.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.944e-06/0.1539, allocations: 7.938 kB / 496.1 MB, free: 15.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005891/0.1545, allocations: 201.2 kB / 496.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/0.1546, allocations: 81.11 kB / 496.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.1558, allocations: 1.038 MB / 497.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.1559, allocations: 29.7 kB / 497.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.1561, allocations: 232.1 kB / 497.6 MB, free: 13.42 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.162e-05/0.1562, allocations: 23.86 kB / 497.7 MB, free: 13.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-05/0.1563, allocations: 33.7 kB / 497.7 MB, free: 13.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002146/0.1565, allocations: 370.8 kB / 498.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1566, allocations: 27.98 kB / 498.1 MB, free: 12.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1567, allocations: 55.41 kB / 498.1 MB, free: 12.89 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.1569, allocations: 91.86 kB / 498.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1569, allocations: 0 / 498.2 MB, free: 12.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003716/0.1573, allocations: 173.2 kB / 498.4 MB, free: 12.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.1573, allocations: 7.984 kB / 498.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.1573, allocations: 4 kB / 498.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.1574, allocations: 0 / 498.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.1575, allocations: 19.94 kB / 498.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1575, allocations: 7.984 kB / 498.4 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001244/0.1577, allocations: 11.89 kB / 498.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1577, allocations: 12.05 kB / 498.5 MB, free: 12.55 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.0002696/0.158, allocations: 237.5 kB / 498.7 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.532e-05/0.1581, allocations: 47.67 kB / 498.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.558e-05/0.1582, allocations: 63.98 kB / 498.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1582, allocations: 0 / 498.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.1582, allocations: 4 kB / 498.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1582, allocations: 0 / 498.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.1586, allocations: 349.3 kB / 499.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1586, allocations: 0 / 499.1 MB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.1586, allocations: 8 kB / 499.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1586, allocations: 4 kB / 499.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.019e-05/0.1587, allocations: 7.984 kB / 499.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.175e-06/0.1587, allocations: 0 / 499.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1587, allocations: 7.938 kB / 499.2 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.1591, allocations: 197.5 kB / 499.4 MB, free: 11.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/0.1592, allocations: 144.8 kB / 499.5 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.1593, allocations: 7.938 kB / 499.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.139e-05/0.1594, allocations: 8.109 kB / 499.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.658e-05/0.1594, allocations: 4 kB / 499.5 MB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.1595, allocations: 11.98 kB / 499.5 MB, free: 11.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008265/0.1603, allocations: 0.7682 MB / 0.4886 GB, free: 10.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1603, allocations: 0 / 0.4886 GB, free: 10.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1606, allocations: 47.92 kB / 0.4886 GB, free: 10.56 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.00108/0.1617, allocations: 415.5 kB / 0.489 GB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002878/0.162, allocations: 79.91 kB / 0.4891 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.162, allocations: 0 / 0.4891 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.1621, allocations: 39.92 kB / 0.4891 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000491/0.1626, allocations: 78.56 kB / 0.4892 GB, free: 9.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.164, allocations: 0.8658 MB / 0.4901 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004706/0.1645, allocations: 0.8427 MB / 0.4909 GB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.1647, allocations: 54.95 kB / 0.4909 GB, free: 8.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.275e-05/0.1647, allocations: 35.42 kB / 0.491 GB, free: 8.137 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1648, allocations: 4 kB / 0.491 GB, free: 8.133 MB / 382.1 MB Notification: Performance of Templates: time 0.009707/0.1745, allocations: 3.746 MB / 0.4946 GB, free: 4.387 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)