Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.00129/0.00129, allocations: 103.9 kB / 17.63 MB, free: 5.344 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.001278/0.001278, allocations: 192 kB / 18.56 MB, free: 4.434 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.464/1.464, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2203/0.2203, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00245/0.002451, allocations: 76.89 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1422, allocations: 60.81 MB / 469.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003197/0.1455, allocations: 1.797 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.147, allocations: 0.9588 MB / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.958e-05/0.1471, allocations: 0 / 472.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004753/0.1476, allocations: 311.3 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.148, allocations: 219.3 kB / 472.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00041/0.1484, allocations: 163.2 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003059/0.1488, allocations: 243.4 kB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.1488, allocations: 13.55 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001631/0.149, allocations: 127.6 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1492, allocations: 199.5 kB / 473.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.677e-05/0.1493, allocations: 4 kB / 473.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001098/0.1494, allocations: 43.98 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.1495, allocations: 135.6 kB / 473.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.1497, allocations: 146.8 kB / 473.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000385/0.15, allocations: 363 kB / 474 MB, free: 9.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1501, allocations: 0 / 474 MB, free: 9.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1501, allocations: 0 / 474 MB, free: 9.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1501, allocations: 0 / 474 MB, free: 9.559 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.0009842/0.1511, allocations: 0.723 MB / 474.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.1511, allocations: 12.03 kB / 474.8 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.699e-05/0.1512, allocations: 38.73 kB / 474.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.1512, allocations: 52.28 kB / 474.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.1518, allocations: 443.9 kB / 475.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1518, allocations: 384 / 475.3 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1518, allocations: 11.94 kB / 475.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.152, allocations: 83.3 kB / 475.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.152, allocations: 7.938 kB / 475.4 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.1521, allocations: 8 kB / 475.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.1521, allocations: 0 / 475.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.1522, allocations: 23.98 kB / 475.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1526, allocations: 374.4 kB / 475.8 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/0.1529, allocations: 113.1 kB / 475.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.433e-05/0.153, allocations: 45.69 kB / 476 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.153, allocations: 3.984 kB / 476 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.1533, allocations: 120.9 kB / 476.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.1533, allocations: 0 / 476.1 MB, free: 7.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.000477/0.1538, allocations: 189.4 kB / 476.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.1538, allocations: 85.11 kB / 476.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009968/0.1548, allocations: 1.03 MB / 477.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1549, allocations: 29.7 kB / 477.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.155, allocations: 232 kB / 477.6 MB, free: 5.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.1551, allocations: 35.55 kB / 477.7 MB, free: 5.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.1551, allocations: 33.7 kB / 477.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1553, allocations: 366.8 kB / 478.1 MB, free: 5.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.071e-05/0.1554, allocations: 28.11 kB / 478.1 MB, free: 5.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.663e-05/0.1555, allocations: 55.42 kB / 478.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.1557, allocations: 95.34 kB / 478.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.1557, allocations: 3.938 kB / 478.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002941/0.156, allocations: 161 kB / 478.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.156, allocations: 4 kB / 478.4 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.1561, allocations: 4 kB / 478.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1561, allocations: 0 / 478.4 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.1562, allocations: 32.05 kB / 478.4 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.1562, allocations: 3.984 kB / 478.4 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.957e-05/0.1563, allocations: 11.89 kB / 478.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1563, allocations: 4 kB / 478.4 MB, free: 4.852 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.0001976/0.1565, allocations: 233.6 kB / 478.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.1566, allocations: 51.34 kB / 478.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.213e-05/0.1567, allocations: 56 kB / 478.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1567, allocations: 4 kB / 478.8 MB, free: 4.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1567, allocations: 4 kB / 478.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1568, allocations: 0 / 478.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.157, allocations: 349.3 kB / 479.1 MB, free: 4.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.157, allocations: 4.125 kB / 479.1 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.1571, allocations: 8 kB / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1571, allocations: 0 / 479.1 MB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.1571, allocations: 4 kB / 479.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1571, allocations: 4 kB / 479.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1571, allocations: 0 / 479.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.1575, allocations: 205.2 kB / 479.3 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.1576, allocations: 136.5 kB / 479.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.442e-05/0.1576, allocations: 0 / 479.5 MB, free: 3.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.1577, allocations: 11.98 kB / 479.5 MB, free: 3.699 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1578, allocations: 7.938 kB / 479.5 MB, free: 3.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1578, allocations: 7.984 kB / 479.5 MB, free: 3.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007527/0.1586, allocations: 0.7682 MB / 480.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1586, allocations: 4.094 kB / 480.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1588, allocations: 43.94 kB / 480.3 MB, free: 2.871 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.001421/0.1603, allocations: 1.044 MB / 481.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.1605, allocations: 87.89 kB / 481.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1606, allocations: 7.875 kB / 481.5 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1607, allocations: 39.92 kB / 481.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.1611, allocations: 75.33 kB / 481.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005865/0.167, allocations: 4.634 MB / 486.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004659/0.1675, allocations: 0.8465 MB / 487.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000132/0.1676, allocations: 55.44 kB / 487.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001917/0.1678, allocations: 143.4 kB / 487.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1678, allocations: 0 / 487.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.1975, allocations: 8.769 MB / 496 MB, free: 3.285 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/7.932, allocations: 7.938 kB / 496 MB, free: 3.277 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1)