Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 110.5 kB / 17.32 MB, free: 6.008 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.001036/0.001036, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 222.9 MB / 241.9 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2358/0.2358, allocations: 44.18 MB / 336.3 MB, free: 2.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 61.09 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1449, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003366/0.1484, allocations: 1.842 MB / 470.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.1499, allocations: 0.955 MB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.15, allocations: 4 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.1506, allocations: 287.4 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.151, allocations: 195.5 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005236/0.1515, allocations: 150.2 kB / 472.3 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003555/0.1519, allocations: 239.4 kB / 472.5 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.917e-05/0.152, allocations: 21.53 kB / 472.5 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001854/0.1522, allocations: 123.5 kB / 472.6 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.1524, allocations: 200 kB / 472.8 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.698e-05/0.1524, allocations: 8 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1526, allocations: 43.98 kB / 472.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.1527, allocations: 132.6 kB / 473 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.1529, allocations: 138.8 kB / 473.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.1532, allocations: 362.9 kB / 473.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1533, allocations: 0 / 473.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1533, allocations: 0 / 473.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.1533, allocations: 8 kB / 473.5 MB, free: 9.922 MB / 350.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.0008678/0.1542, allocations: 0.7075 MB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1542, allocations: 12.03 kB / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.1543, allocations: 30.75 kB / 474.2 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.1543, allocations: 52.27 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/0.1549, allocations: 443.8 kB / 474.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1549, allocations: 384 / 474.7 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.1549, allocations: 11.94 kB / 474.7 MB, free: 8.578 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1552, allocations: 83.36 kB / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.1552, allocations: 0 / 474.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1552, allocations: 4 kB / 474.8 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1552, allocations: 7.938 kB / 474.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1553, allocations: 31.91 kB / 474.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.1557, allocations: 374.3 kB / 475.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003088/0.156, allocations: 109.2 kB / 475.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.875e-05/0.1561, allocations: 45.62 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.1562, allocations: 0 / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.1565, allocations: 109 kB / 475.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.1565, allocations: 0 / 475.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004788/0.157, allocations: 197.4 kB / 475.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.157, allocations: 77.11 kB / 475.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009932/0.158, allocations: 1.007 MB / 476.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.1581, allocations: 29.7 kB / 476.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.1582, allocations: 228.1 kB / 477 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.1583, allocations: 35.56 kB / 477.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.1583, allocations: 29.7 kB / 477.1 MB, free: 6.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1585, allocations: 370.8 kB / 477.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.303e-05/0.1586, allocations: 24.11 kB / 477.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.661e-05/0.1587, allocations: 63.42 kB / 477.5 MB, free: 5.613 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/0.1589, allocations: 91.34 kB / 477.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1589, allocations: 3.938 kB / 477.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002856/0.1592, allocations: 161 kB / 477.8 MB, free: 5.344 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1592, allocations: 8 kB / 477.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1592, allocations: 4.062 kB / 477.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.1592, allocations: 0 / 477.8 MB, free: 5.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.1594, allocations: 31.92 kB / 477.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1594, allocations: 0 / 477.8 MB, free: 5.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.417e-05/0.1595, allocations: 11.89 kB / 477.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.1595, allocations: 4 kB / 477.8 MB, free: 5.285 MB / 350.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.0001975/0.1597, allocations: 225.7 kB / 478.1 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.918e-05/0.1598, allocations: 47.42 kB / 478.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.898e-05/0.1599, allocations: 59.84 kB / 478.2 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1599, allocations: 4 kB / 478.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.1599, allocations: 0 / 478.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1599, allocations: 0 / 478.2 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.1602, allocations: 333.4 kB / 478.5 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1602, allocations: 4.125 kB / 478.5 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.774e-05/0.1602, allocations: 19.86 kB / 478.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.1603, allocations: 4 kB / 478.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1603, allocations: 0 / 478.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1603, allocations: 0 / 478.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1603, allocations: 0 / 478.5 MB, free: 4.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.1606, allocations: 205.2 kB / 478.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001224/0.1607, allocations: 140.5 kB / 478.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.1608, allocations: 7.984 kB / 478.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.078e-05/0.1609, allocations: 4 kB / 478.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.1609, allocations: 11.98 kB / 478.9 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.161, allocations: 8 kB / 478.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008584/0.1618, allocations: 0.7448 MB / 479.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1618, allocations: 0 / 479.6 MB, free: 3.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002695/0.1621, allocations: 40 kB / 479.7 MB, free: 3.348 MB / 350.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.001542/0.1637, allocations: 1.06 MB / 480.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002725/0.1639, allocations: 87.83 kB / 480.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.164, allocations: 0 / 480.8 MB, free: 2.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.1641, allocations: 35.98 kB / 480.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.1645, allocations: 76.5 kB / 480.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005591/0.1701, allocations: 4.583 MB / 485.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.1705, allocations: 0.8426 MB / 486.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.1707, allocations: 55.44 kB / 486.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.1709, allocations: 147.4 kB / 486.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1709, allocations: 0 / 486.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.1951, allocations: 8.491 MB / 495 MB, free: 4.109 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/0.1954, allocations: 236.5 kB / 495.3 MB, free: 3.855 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.017/2.213, allocations: 0 / 495.3 MB, free: 3.855 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)