Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_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.0009226/0.0009224, allocations: 103.2 kB / 16.02 MB, free: 76 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.001079/0.001079, allocations: 185.5 kB / 16.92 MB, free: 6.914 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.534/1.534, allocations: 205.4 MB / 223.1 MB, free: 5.512 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.4051/0.4051, allocations: 43.56 MB / 315 MB, free: 8.715 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.0008722/0.0008718, allocations: 12 kB / 384.7 MB, free: 7.543 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1465, allocations: 58.87 MB / 443.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003119/0.1496, allocations: 1.499 MB / 445.1 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1516, allocations: 0.851 MB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001546/0.1518, allocations: 3.938 kB / 445.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006422/0.1524, allocations: 299.4 kB / 446.2 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004511/0.1529, allocations: 199.5 kB / 446.4 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.1534, allocations: 123.8 kB / 446.5 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004284/0.1538, allocations: 239.3 kB / 446.7 MB, free: 9.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.944e-05/0.1539, allocations: 13.55 kB / 446.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002571/0.1542, allocations: 115.5 kB / 446.9 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.1545, allocations: 191.5 kB / 447.1 MB, free: 9.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.983e-05/0.1545, allocations: 4 kB / 447.1 MB, free: 9.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001438/0.1547, allocations: 43.98 kB / 447.1 MB, free: 8.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001941/0.1549, allocations: 139.5 kB / 447.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001826/0.1551, allocations: 168.5 kB / 447.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.1556, allocations: 350.9 kB / 447.8 MB, free: 8.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1556, allocations: 3.938 kB / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1556, allocations: 0 / 447.8 MB, free: 8.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.1556, allocations: 0 / 447.8 MB, free: 8.336 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.001297/0.1569, allocations: 0.6727 MB / 448.4 MB, free: 7.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/0.157, allocations: 8.031 kB / 448.4 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.058e-05/0.1571, allocations: 42.73 kB / 448.5 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.1572, allocations: 48.28 kB / 448.5 MB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008179/0.1581, allocations: 447.9 kB / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1581, allocations: 384 / 449 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.1581, allocations: 11.94 kB / 449 MB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.1584, allocations: 95.27 kB / 449.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.1585, allocations: 0 / 449.1 MB, free: 6.914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.1585, allocations: 4 kB / 449.1 MB, free: 6.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1585, allocations: 4 kB / 449.1 MB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1586, allocations: 23.98 kB / 449.1 MB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007402/0.1594, allocations: 378.3 kB / 449.5 MB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003166/0.1597, allocations: 113.1 kB / 449.6 MB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.1598, allocations: 41.69 kB / 449.6 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1599, allocations: 3.984 kB / 449.6 MB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003227/0.1602, allocations: 113 kB / 449.7 MB, free: 6.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1602, allocations: 0 / 449.7 MB, free: 6.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006075/0.1608, allocations: 196.9 kB / 449.9 MB, free: 5.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.997e-05/0.1609, allocations: 85.11 kB / 450 MB, free: 5.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.1624, allocations: 1.03 MB / 451 MB, free: 4.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.1624, allocations: 25.7 kB / 451.1 MB, free: 4.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.1627, allocations: 240 kB / 451.3 MB, free: 4.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.714e-05/0.1627, allocations: 27.64 kB / 451.3 MB, free: 4.512 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.273e-05/0.1628, allocations: 17.72 kB / 451.3 MB, free: 4.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002705/0.1631, allocations: 370.8 kB / 451.7 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.1632, allocations: 27.97 kB / 451.7 MB, free: 4.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.1633, allocations: 51.42 kB / 451.8 MB, free: 4.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.1635, allocations: 95.34 kB / 451.9 MB, free: 3.922 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.1636, allocations: 3.938 kB / 451.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003714/0.1639, allocations: 168.9 kB / 452 MB, free: 3.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.164, allocations: 8 kB / 452.1 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.164, allocations: 0 / 452.1 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.164, allocations: 8.625 kB / 452.1 MB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.1642, allocations: 23.98 kB / 452.1 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.1642, allocations: 0 / 452.1 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/0.1643, allocations: 15.92 kB / 452.1 MB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.1643, allocations: 4 kB / 452.1 MB, free: 3.688 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.0002421/0.1646, allocations: 233.5 kB / 452.3 MB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.229e-05/0.1647, allocations: 55.33 kB / 452.4 MB, free: 3.395 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.861e-05/0.1648, allocations: 60 kB / 452.4 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.1648, allocations: 4 kB / 452.4 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1648, allocations: 0 / 452.4 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1648, allocations: 0 / 452.4 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.1651, allocations: 341.4 kB / 452.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1652, allocations: 0 / 452.8 MB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.215e-05/0.1652, allocations: 11.98 kB / 452.8 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.1652, allocations: 0 / 452.8 MB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.1652, allocations: 8 kB / 452.8 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1652, allocations: 0 / 452.8 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1653, allocations: 0 / 452.8 MB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.1656, allocations: 209.2 kB / 453 MB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.1658, allocations: 144.4 kB / 453.1 MB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.1658, allocations: 3.984 kB / 453.2 MB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.844e-05/0.1659, allocations: 7.984 kB / 453.2 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.443e-05/0.166, allocations: 11.98 kB / 453.2 MB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.813e-05/0.166, allocations: 4 kB / 453.2 MB, free: 2.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008694/0.1669, allocations: 0.776 MB / 453.9 MB, free: 1.742 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1669, allocations: 0 / 453.9 MB, free: 1.742 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002807/0.1672, allocations: 43.98 kB / 454 MB, free: 1.699 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.001584/0.1688, allocations: 1.061 MB / 455.1 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002582/0.169, allocations: 79.89 kB / 455.1 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.1691, allocations: 0 / 455.1 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1692, allocations: 39.92 kB / 455.2 MB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004808/0.1697, allocations: 66.27 kB / 455.2 MB, free: 472 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2175/0.3872, allocations: 4.671 MB / 459.9 MB, free: 44.58 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003132/0.3875, allocations: 0.8451 MB / 460.8 MB, free: 43.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001591/0.3877, allocations: 52.86 kB / 460.8 MB, free: 43.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.3879, allocations: 148.7 kB / 460.9 MB, free: 43.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.442e-06/0.3879, allocations: 1.5 kB / 460.9 MB, free: 43.88 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.4085, allocations: 8.175 MB / 469.1 MB, free: 43.29 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.4087, allocations: 237.3 kB / 469.4 MB, free: 43.04 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.286, allocations: 0 / 469.4 MB, free: 43.04 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)