Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001389/0.001389, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 213.2 kB / 23.77 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2684/0.2684, allocations: 44.26 MB / 331.1 MB, free: 9.328 MB / 270.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test27,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 75.88 kB / 468.3 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1569, allocations: 61.03 MB / 0.517 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.003735/0.1606, allocations: 1.69 MB / 0.5186 GB, free: 5.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.1622, allocations: 0.7778 MB / 0.5194 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001234/0.1624, allocations: 0 / 0.5194 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.1627, allocations: 39.77 kB / 0.5194 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.163, allocations: 63.69 kB / 0.5195 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003441/0.1634, allocations: 87.77 kB / 0.5196 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1636, allocations: 99.69 kB / 0.5197 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1637, allocations: 8.219 kB / 0.5197 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.646e-05/0.1638, allocations: 43.78 kB / 0.5197 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.684e-05/0.1639, allocations: 31.84 kB / 0.5197 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.1639, allocations: 8 kB / 0.5197 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.164, allocations: 47.92 kB / 0.5198 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.1641, allocations: 19.92 kB / 0.5198 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.1642, allocations: 23.81 kB / 0.5198 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1644, allocations: 107.6 kB / 0.5199 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1644, allocations: 0 / 0.5199 GB, free: 4.086 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1644, allocations: 0 / 0.5199 GB, free: 4.086 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1644, allocations: 0 / 0.5199 GB, free: 4.086 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006282/0.1651, allocations: 341.6 kB / 0.5203 GB, free: 3.723 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.1651, allocations: 8.031 kB / 0.5203 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.928e-05/0.1651, allocations: 8.125 kB / 0.5203 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.181e-05/0.1652, allocations: 34.75 kB / 0.5203 GB, free: 3.664 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.1652, allocations: 16.83 kB / 0.5203 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1656, allocations: 142.4 kB / 0.5205 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.1656, allocations: 16.05 kB / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/0.1656, allocations: 0 / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1658, allocations: 57.67 kB / 0.5205 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.1658, allocations: 0 / 0.5205 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.1658, allocations: 0 / 0.5205 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1658, allocations: 0 / 0.5205 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.027e-05/0.1659, allocations: 23.98 kB / 0.5206 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.1663, allocations: 256 kB / 0.5208 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1665, allocations: 58.61 kB / 0.5209 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.18e-05/0.1666, allocations: 20.84 kB / 0.5209 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1666, allocations: 0 / 0.5209 GB, free: 3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.1668, allocations: 71.34 kB / 0.5209 GB, free: 2.918 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.1668, allocations: 0 / 0.5209 GB, free: 2.918 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006121/0.1674, allocations: 185.6 kB / 0.5211 GB, free: 2.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1675, allocations: 55.41 kB / 0.5212 GB, free: 2.664 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.1677, allocations: 198 kB / 0.5214 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.1677, allocations: 29.7 kB / 0.5214 GB, free: 2.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.1678, allocations: 104.1 kB / 0.5215 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.1678, allocations: 23.8 kB / 0.5215 GB, free: 2.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-05/0.1679, allocations: 21.7 kB / 0.5215 GB, free: 2.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.168, allocations: 322.8 kB / 0.5218 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.255e-05/0.1681, allocations: 23.94 kB / 0.5219 GB, free: 1.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8e-05/0.1682, allocations: 37.83 kB / 0.5219 GB, free: 1.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.1683, allocations: 65.7 kB / 0.522 GB, free: 1.809 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1683, allocations: 7.938 kB / 0.522 GB, free: 1.801 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002327/0.1686, allocations: 105.5 kB / 0.5221 GB, free: 1.691 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1686, allocations: 8 kB / 0.5221 GB, free: 1.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.1686, allocations: 3.984 kB / 0.5221 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1686, allocations: 0 / 0.5221 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1687, allocations: 15.98 kB / 0.5221 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.1687, allocations: 7.938 kB / 0.5221 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.1688, allocations: 4 kB / 0.5221 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.1688, allocations: 8.125 kB / 0.5221 GB, free: 1.645 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001277/0.1689, allocations: 129.9 kB / 0.5222 GB, free: 1.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.1689, allocations: 15.89 kB / 0.5223 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.1692, allocations: 118.3 kB / 0.5224 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1692, allocations: 0 / 0.5224 GB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1693, allocations: 3.938 kB / 0.5224 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.1693, allocations: 0 / 0.5224 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.1698, allocations: 366.5 kB / 0.5227 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1698, allocations: 0 / 0.5227 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.422e-05/0.1699, allocations: 8 kB / 0.5227 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.1699, allocations: 7.969 kB / 0.5227 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1699, allocations: 7.984 kB / 0.5227 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.1699, allocations: 80 / 0.5227 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.1699, allocations: 3.984 kB / 0.5227 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003002/0.1702, allocations: 212.3 kB / 0.5229 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.554e-05/0.1702, allocations: 15.84 kB / 0.523 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.1702, allocations: 0 / 0.523 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.779e-05/0.1703, allocations: 11.98 kB / 0.523 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.1704, allocations: 4 kB / 0.523 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.251e-05/0.1704, allocations: 7.984 kB / 0.523 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001517/0.1705, allocations: 147.2 kB / 0.5231 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1705, allocations: 0 / 0.5231 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1708, allocations: 23.92 kB / 0.5231 GB, free: 0.4922 MB / 398.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002629/0.1734, allocations: 1.14 MB / 0.5243 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.1737, allocations: 59.89 kB / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1737, allocations: 0 / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.1738, allocations: 31.98 kB / 0.5243 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.1742, allocations: 27.72 kB / 0.5244 GB, free: 15.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.1764, allocations: 1.65 MB / 0.526 GB, free: 13.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.1765, allocations: 100.2 kB / 0.5261 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.501e-05/0.1766, allocations: 16.78 kB / 0.5261 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.968e-05/0.1766, allocations: 35.42 kB / 0.5261 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1767, allocations: 112 / 0.5261 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.2018, allocations: 3.729 MB / 0.5298 GB, free: 9.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.56, allocations: 0 / 0.5298 GB, free: 9.496 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test27.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.248314997064881] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.777788516017608 12.01792134 11.850334008 Calling exit ...