Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.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.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",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.0008495/0.0008494, allocations: 97.48 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000846/0.0008462, allocations: 176.6 kB / 16.92 MB, free: 6.68 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.504/1.504, allocations: 205.4 MB / 223.1 MB, free: 5.555 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.3521/0.3521, allocations: 43.58 MB / 315 MB, free: 8.809 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.0006251/0.0006248, allocations: 16 kB / 384.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1466, allocations: 58.86 MB / 443.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002153/0.1488, allocations: 1.495 MB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1503, allocations: 0.8548 MB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001183/0.1504, allocations: 4 kB / 445.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005351/0.151, allocations: 291.4 kB / 446.2 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003337/0.1513, allocations: 199.5 kB / 446.4 MB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000403/0.1517, allocations: 135.8 kB / 446.5 MB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002744/0.152, allocations: 227.4 kB / 446.7 MB, free: 9.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.584e-05/0.1521, allocations: 13.55 kB / 446.8 MB, free: 9.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.1522, allocations: 115.5 kB / 446.9 MB, free: 9.223 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.1525, allocations: 184 kB / 447 MB, free: 9.043 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1525, allocations: 4 kB / 447 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.94e-05/0.1526, allocations: 47.97 kB / 447.1 MB, free: 8.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.1528, allocations: 136.5 kB / 447.2 MB, free: 8.859 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001421/0.1529, allocations: 164.5 kB / 447.4 MB, free: 8.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.1532, allocations: 346.9 kB / 447.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1533, allocations: 0 / 447.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1533, allocations: 0 / 447.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1533, allocations: 0 / 447.7 MB, free: 8.352 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.0008665/0.1541, allocations: 0.6533 MB / 448.4 MB, free: 7.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1542, allocations: 8.031 kB / 448.4 MB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.318e-05/0.1542, allocations: 54.61 kB / 448.4 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.993e-05/0.1543, allocations: 44.38 kB / 448.5 MB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.1549, allocations: 443.8 kB / 448.9 MB, free: 7.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.1549, allocations: 4.359 kB / 448.9 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.1549, allocations: 7.938 kB / 448.9 MB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.1551, allocations: 79.38 kB / 449 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1551, allocations: 0 / 449 MB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1551, allocations: 3.984 kB / 449 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1551, allocations: 4 kB / 449 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1553, allocations: 31.92 kB / 449 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003716/0.1556, allocations: 370.4 kB / 449.4 MB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.1559, allocations: 113.1 kB / 449.5 MB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.156, allocations: 41.7 kB / 449.6 MB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.156, allocations: 4 kB / 449.6 MB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002423/0.1563, allocations: 109 kB / 449.7 MB, free: 6.203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 3.216e-06/0.1563, allocations: 8 kB / 449.7 MB, free: 6.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004559/0.1567, allocations: 189 kB / 449.9 MB, free: 6.004 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1568, allocations: 81.11 kB / 449.9 MB, free: 5.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.158, allocations: 1.007 MB / 450.9 MB, free: 4.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.158, allocations: 29.7 kB / 451 MB, free: 4.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.1582, allocations: 232 kB / 451.2 MB, free: 4.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.1582, allocations: 23.66 kB / 451.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1582, allocations: 21.7 kB / 451.2 MB, free: 4.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1584, allocations: 370.8 kB / 451.6 MB, free: 4.199 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.149e-05/0.1585, allocations: 27.98 kB / 451.6 MB, free: 4.172 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.942e-05/0.1586, allocations: 51.42 kB / 451.7 MB, free: 4.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.1588, allocations: 95.84 kB / 451.8 MB, free: 4.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1588, allocations: 3.938 kB / 451.8 MB, free: 4 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002704/0.1591, allocations: 165 kB / 451.9 MB, free: 3.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1591, allocations: 11.98 kB / 452 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1591, allocations: 0 / 452 MB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.1591, allocations: 4 kB / 452 MB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1592, allocations: 23.88 kB / 452 MB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1592, allocations: 3.984 kB / 452 MB, free: 3.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.603e-05/0.1593, allocations: 19.97 kB / 452 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1594, allocations: 4 kB / 452 MB, free: 3.766 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.0002106/0.1596, allocations: 225.5 kB / 452.2 MB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.1597, allocations: 51.34 kB / 452.3 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.89e-05/0.1598, allocations: 59.84 kB / 452.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1598, allocations: 0 / 452.3 MB, free: 3.426 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1598, allocations: 4 kB / 452.3 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1598, allocations: 0 / 452.3 MB, free: 3.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.1602, allocations: 337.3 kB / 452.7 MB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1602, allocations: 4 kB / 452.7 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.1602, allocations: 11.98 kB / 452.7 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1602, allocations: 0 / 452.7 MB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1603, allocations: 8 kB / 452.7 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1603, allocations: 0 / 452.7 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1603, allocations: 0 / 452.7 MB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1606, allocations: 201.2 kB / 452.9 MB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.1607, allocations: 144.4 kB / 453 MB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.173e-05/0.1608, allocations: 4 kB / 453 MB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.1609, allocations: 7.984 kB / 453 MB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.1609, allocations: 8 kB / 453.1 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.1609, allocations: 7.984 kB / 453.1 MB, free: 2.613 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000716/0.1616, allocations: 0.7448 MB / 453.8 MB, free: 1.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1617, allocations: 0 / 453.8 MB, free: 1.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1619, allocations: 44 kB / 453.9 MB, free: 1.828 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.001446/0.1634, allocations: 1.074 MB / 454.9 MB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.1637, allocations: 71.91 kB / 455 MB, free: 0.6914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1637, allocations: 4.125 kB / 455 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.632e-05/0.1638, allocations: 39.98 kB / 455 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.1642, allocations: 62.77 kB / 455.1 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2183/0.3826, allocations: 4.576 MB / 459.7 MB, free: 44.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3829, allocations: 0.8353 MB / 460.5 MB, free: 43.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00017/0.3831, allocations: 58.14 kB / 460.6 MB, free: 43.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.3833, allocations: 142.5 kB / 460.7 MB, free: 43.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.3833, allocations: 0 / 460.7 MB, free: 43.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.4021, allocations: 8.025 MB / 468.7 MB, free: 43.2 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.4024, allocations: 241 kB / 469 MB, free: 42.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.997/2.399, allocations: 0 / 469 MB, free: 42.94 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)