Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72",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.001323/0.001323, allocations: 107 kB / 17.33 MB, free: 6.023 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.001322/0.001322, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.468/1.468, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2217/0.2217, allocations: 44.17 MB / 336.2 MB, free: 2.949 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001442, allocations: 68.94 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1495, allocations: 60.82 MB / 468.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003709/0.1532, allocations: 1.85 MB / 470.7 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1548, allocations: 0.9433 MB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.052e-05/0.1549, allocations: 11.88 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005407/0.1554, allocations: 303.4 kB / 471.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003327/0.1558, allocations: 191.5 kB / 472.1 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.1562, allocations: 158.9 kB / 472.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000284/0.1565, allocations: 243.4 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.493e-05/0.1565, allocations: 13.55 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.1567, allocations: 123.6 kB / 472.6 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.157, allocations: 211.4 kB / 472.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.157, allocations: 8 kB / 472.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1571, allocations: 39.98 kB / 472.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1573, allocations: 135.6 kB / 473 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.1574, allocations: 150.7 kB / 473.2 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.1577, allocations: 359 kB / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.1578, allocations: 0 / 473.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1578, allocations: 4 kB / 473.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1578, allocations: 0 / 473.5 MB, free: 9.902 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.0008846/0.1587, allocations: 0.723 MB / 474.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1587, allocations: 8.031 kB / 474.3 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.311e-05/0.1588, allocations: 42.73 kB / 474.3 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.1588, allocations: 48.28 kB / 474.4 MB, free: 9.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000516/0.1594, allocations: 443.8 kB / 474.8 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.1594, allocations: 12.36 kB / 474.8 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1594, allocations: 11.94 kB / 474.8 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1596, allocations: 83.31 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1596, allocations: 0 / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1597, allocations: 7.969 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1597, allocations: 0 / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.1598, allocations: 31.92 kB / 474.9 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.1603, allocations: 374.4 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.1606, allocations: 113.1 kB / 475.4 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.307e-05/0.1607, allocations: 41.69 kB / 475.4 MB, free: 7.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.1607, allocations: 3.984 kB / 475.4 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002659/0.161, allocations: 109 kB / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 2.986e-06/0.161, allocations: 0 / 475.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005662/0.1616, allocations: 193 kB / 475.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.1616, allocations: 85.03 kB / 475.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.1627, allocations: 1.042 MB / 476.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.1627, allocations: 25.7 kB / 476.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1629, allocations: 236.1 kB / 477.1 MB, free: 6.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.163, allocations: 31.55 kB / 477.2 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.163, allocations: 25.72 kB / 477.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.1632, allocations: 370.8 kB / 477.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.67e-05/0.1633, allocations: 27.98 kB / 477.6 MB, free: 5.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.418e-05/0.1634, allocations: 55.42 kB / 477.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.1636, allocations: 91.34 kB / 477.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1636, allocations: 3.938 kB / 477.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002801/0.1638, allocations: 169.7 kB / 477.9 MB, free: 5.254 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.1639, allocations: 4 kB / 477.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1639, allocations: 0 / 477.9 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1639, allocations: 4 kB / 477.9 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.164, allocations: 23.92 kB / 477.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.164, allocations: 0 / 477.9 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1641, allocations: 19.89 kB / 477.9 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.1642, allocations: 4 kB / 477.9 MB, free: 5.199 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.0002063/0.1644, allocations: 221.7 kB / 478.2 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.1644, allocations: 59.33 kB / 478.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.953e-05/0.1645, allocations: 60 kB / 478.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1645, allocations: 0 / 478.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.1646, allocations: 0 / 478.3 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.1646, allocations: 3.938 kB / 478.3 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.165, allocations: 345.3 kB / 478.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.165, allocations: 3.984 kB / 478.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.738e-05/0.165, allocations: 8 kB / 478.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.165, allocations: 0 / 478.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.165, allocations: 4 kB / 478.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.165, allocations: 0 / 478.6 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1651, allocations: 4 kB / 478.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003476/0.1654, allocations: 209.2 kB / 478.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.1656, allocations: 132.5 kB / 479 MB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.1657, allocations: 4 kB / 479 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.834e-05/0.1658, allocations: 4 kB / 479 MB, free: 4.059 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/0.1658, allocations: 15.98 kB / 479 MB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.1658, allocations: 4.094 kB / 479 MB, free: 4.039 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008277/0.1667, allocations: 0.776 MB / 479.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1667, allocations: 0 / 479.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.167, allocations: 44 kB / 479.8 MB, free: 3.223 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.001545/0.1685, allocations: 1.043 MB / 480.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002688/0.1688, allocations: 99.7 kB / 481 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1688, allocations: 0 / 481 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.1689, allocations: 39.98 kB / 481 MB, free: 2.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.1694, allocations: 71.95 kB / 481.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007017/0.1764, allocations: 4.692 MB / 485.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005852/0.177, allocations: 0.8465 MB / 486.6 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001652/0.1772, allocations: 50.95 kB / 486.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002238/0.1774, allocations: 151.4 kB / 486.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1774, allocations: 0 / 486.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0265/0.204, allocations: 8.652 MB / 495.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.2042, allocations: 235.1 kB / 495.7 MB, free: 3.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.925/2.129, allocations: 0 / 495.7 MB, free: 3.453 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)