Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_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.001048/0.001048, allocations: 106.1 kB / 15.98 MB, free: 6.348 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.001049/0.001049, allocations: 194.7 kB / 16.91 MB, free: 6.191 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.603/1.603, allocations: 205.1 MB / 222.8 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3675/0.3675, allocations: 43.49 MB / 313.6 MB, free: 8.297 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: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 67.91 kB / 382.3 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1491, allocations: 57.79 MB / 440.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003959/0.1531, allocations: 1.838 MB / 442 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.1549, allocations: 0.8742 MB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.155, allocations: 0 / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007085/0.1557, allocations: 287.4 kB / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.1562, allocations: 195.5 kB / 443.3 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.1566, allocations: 127.8 kB / 443.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003543/0.157, allocations: 239.4 kB / 443.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.086e-05/0.1571, allocations: 17.55 kB / 443.7 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001953/0.1573, allocations: 131.5 kB / 443.8 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002733/0.1576, allocations: 196 kB / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1576, allocations: 4 kB / 444 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.1578, allocations: 55.97 kB / 444.1 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001663/0.1579, allocations: 128.6 kB / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.1582, allocations: 154.8 kB / 444.3 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.1587, allocations: 351 kB / 444.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1587, allocations: 0 / 444.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1587, allocations: 0 / 444.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.1587, allocations: 3.984 kB / 444.7 MB, free: 9.789 MB / 382.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.0011/0.1598, allocations: 0.7185 MB / 445.4 MB, free: 9.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.1599, allocations: 11.89 kB / 445.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.1599, allocations: 38.73 kB / 445.4 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.16, allocations: 48.38 kB / 445.5 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005888/0.1606, allocations: 443.7 kB / 445.9 MB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1606, allocations: 8.375 kB / 445.9 MB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.1606, allocations: 3.938 kB / 445.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.1609, allocations: 87.34 kB / 446 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1609, allocations: 4 kB / 446 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.1609, allocations: 0 / 446 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1609, allocations: 4 kB / 446 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.161, allocations: 35.91 kB / 446.1 MB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.1615, allocations: 366.4 kB / 446.4 MB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000275/0.1618, allocations: 113.1 kB / 446.5 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001063/0.1619, allocations: 37.7 kB / 446.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.1619, allocations: 0 / 446.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003116/0.1622, allocations: 109 kB / 446.7 MB, free: 7.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 3.286e-06/0.1622, allocations: 4 kB / 446.7 MB, free: 7.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004931/0.1627, allocations: 193 kB / 446.9 MB, free: 7.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.811e-05/0.1628, allocations: 85.05 kB / 447 MB, free: 7.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.1639, allocations: 1.007 MB / 448 MB, free: 6.266 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1639, allocations: 29.7 kB / 448 MB, free: 6.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.1641, allocations: 232 kB / 448.2 MB, free: 6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.135e-05/0.1641, allocations: 27.66 kB / 448.2 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.762e-05/0.1642, allocations: 25.7 kB / 448.3 MB, free: 5.941 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1644, allocations: 374.8 kB / 448.6 MB, free: 5.566 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.636e-05/0.1645, allocations: 27.98 kB / 448.7 MB, free: 5.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.275e-05/0.1646, allocations: 51.42 kB / 448.7 MB, free: 5.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001827/0.1648, allocations: 95.84 kB / 448.8 MB, free: 5.371 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1648, allocations: 3.938 kB / 448.8 MB, free: 5.367 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000274/0.1651, allocations: 161 kB / 449 MB, free: 5.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1651, allocations: 8 kB / 449 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.175e-05/0.1651, allocations: 7.922 kB / 449 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1651, allocations: 0 / 449 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.1653, allocations: 23.94 kB / 449 MB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1653, allocations: 3.984 kB / 449 MB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.898e-05/0.1654, allocations: 15.95 kB / 449 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1654, allocations: 8 kB / 449 MB, free: 5.137 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.0003056/0.1657, allocations: 221.7 kB / 449.2 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.072e-05/0.1658, allocations: 47.34 kB / 449.3 MB, free: 4.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.307e-05/0.1659, allocations: 59.84 kB / 449.4 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1659, allocations: 0 / 449.4 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1659, allocations: 0 / 449.4 MB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1659, allocations: 3.984 kB / 449.4 MB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.1662, allocations: 345.3 kB / 449.7 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.1662, allocations: 7.938 kB / 449.7 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.548e-05/0.1662, allocations: 7.984 kB / 449.7 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1663, allocations: 4 kB / 449.7 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1663, allocations: 0 / 449.7 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1663, allocations: 4 kB / 449.7 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1663, allocations: 0 / 449.7 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.1667, allocations: 201.4 kB / 449.9 MB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.1669, allocations: 144.5 kB / 450.1 MB, free: 4.012 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.167, allocations: 7.922 kB / 450.1 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.582e-05/0.1671, allocations: 4 kB / 450.1 MB, free: 4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.1671, allocations: 11.98 kB / 450.1 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.1672, allocations: 4 kB / 450.1 MB, free: 3.984 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008742/0.168, allocations: 0.7526 MB / 450.8 MB, free: 3.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.168, allocations: 0 / 450.8 MB, free: 3.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002643/0.1683, allocations: 40 kB / 450.9 MB, free: 3.195 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.001577/0.1699, allocations: 1.057 MB / 451.9 MB, free: 2.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.1702, allocations: 91.83 kB / 452 MB, free: 2.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1702, allocations: 4.125 kB / 452 MB, free: 2.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1703, allocations: 39.97 kB / 452.1 MB, free: 2.016 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005312/0.1708, allocations: 74.06 kB / 452.1 MB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2283/0.3991, allocations: 4.562 MB / 456.7 MB, free: 47.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.3994, allocations: 0.8404 MB / 457.5 MB, free: 46.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001495/0.3996, allocations: 51.7 kB / 457.6 MB, free: 46.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.3997, allocations: 145.6 kB / 457.7 MB, free: 46.73 MB / 382.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3997, allocations: 0 / 457.7 MB, free: 46.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.4187, allocations: 8.473 MB / 466.2 MB, free: 45.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002879/0.419, allocations: 249.3 kB / 466.4 MB, free: 45.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.489, allocations: 0 / 466.4 MB, free: 45.68 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1)