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.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.001799/0.001799, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002209/0.002209, allocations: 211.9 kB / 23.78 MB, free: 4.523 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.449/1.449, allocations: 207.7 MB / 234.6 MB, free: 9.777 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.2308/0.2308, allocations: 44.27 MB / 331.1 MB, free: 9.301 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.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test68",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.003715/0.003715, allocations: 70.09 kB / 468.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1413, allocations: 61.04 MB / 0.517 GB, free: 7.109 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003648/0.1449, allocations: 1.748 MB / 0.5187 GB, free: 5.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1466, allocations: 0.8519 MB / 0.5195 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.1467, allocations: 0 / 0.5195 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005598/0.1473, allocations: 299.3 kB / 0.5198 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.1477, allocations: 215.3 kB / 0.52 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003929/0.1481, allocations: 143.6 kB / 0.5201 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003854/0.1484, allocations: 239.3 kB / 0.5204 GB, free: 3.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.718e-05/0.1485, allocations: 17.94 kB / 0.5204 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.1487, allocations: 123.6 kB / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002907/0.149, allocations: 208 kB / 0.5207 GB, free: 3.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.149, allocations: 8 kB / 0.5207 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1491, allocations: 43.92 kB / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.1493, allocations: 136.5 kB / 0.5209 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.1494, allocations: 111.1 kB / 0.521 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004779/0.1499, allocations: 374.2 kB / 0.5213 GB, free: 2.605 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.1499, allocations: 0 / 0.5213 GB, free: 2.605 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1499, allocations: 0 / 0.5213 GB, free: 2.605 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.1499, allocations: 0 / 0.5213 GB, free: 2.605 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001149/0.1511, allocations: 0.6592 MB / 0.522 GB, free: 1.914 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1511, allocations: 11.97 kB / 0.522 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.86e-05/0.1512, allocations: 4.188 kB / 0.522 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.4e-05/0.1512, allocations: 34.73 kB / 0.522 GB, free: 1.855 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001211/0.1513, allocations: 48.61 kB / 0.5221 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008931/0.1522, allocations: 386.5 kB / 0.5225 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.1522, allocations: 12.12 kB / 0.5225 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.1523, allocations: 4 kB / 0.5225 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.1526, allocations: 87.36 kB / 0.5225 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1526, allocations: 0 / 0.5225 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1526, allocations: 0 / 0.5225 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1526, allocations: 4 kB / 0.5226 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1527, allocations: 35.91 kB / 0.5226 GB, free: 1.254 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.1534, allocations: 325.5 kB / 0.5229 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003662/0.1538, allocations: 113.2 kB / 0.523 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.1539, allocations: 41.69 kB / 0.523 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1539, allocations: 3.938 kB / 0.523 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003174/0.1542, allocations: 105.1 kB / 0.5231 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.1542, allocations: 4 kB / 0.5232 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006342/0.1549, allocations: 205.2 kB / 0.5233 GB, free: 388 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.615e-05/0.1549, allocations: 85.09 kB / 0.5234 GB, free: 284 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.1562, allocations: 1.011 MB / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.1563, allocations: 29.7 kB / 0.5244 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.1565, allocations: 232.1 kB / 0.5247 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.566e-05/0.1565, allocations: 23.81 kB / 0.5247 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.642e-05/0.1566, allocations: 29.7 kB / 0.5247 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1567, allocations: 366.8 kB / 0.5251 GB, free: 14.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.783e-05/0.1568, allocations: 31.92 kB / 0.5251 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1569, allocations: 63.41 kB / 0.5252 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.1571, allocations: 99.3 kB / 0.5253 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1571, allocations: 0 / 0.5253 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003405/0.1575, allocations: 173.8 kB / 0.5254 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1575, allocations: 4 kB / 0.5254 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1575, allocations: 0 / 0.5254 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.1575, allocations: 7.938 kB / 0.5254 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1576, allocations: 24.05 kB / 0.5255 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.1576, allocations: 12 kB / 0.5255 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.1578, allocations: 19.81 kB / 0.5255 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.1578, allocations: 8 kB / 0.5255 GB, free: 14.1 MB / 414.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.0002637/0.1581, allocations: 217.6 kB / 0.5257 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.1581, allocations: 55.66 kB / 0.5258 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000459/0.1586, allocations: 201.5 kB / 0.5259 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.1586, allocations: 0 / 0.5259 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1586, allocations: 0 / 0.5259 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.1586, allocations: 0 / 0.5259 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.159, allocations: 292.5 kB / 0.5262 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.159, allocations: 7.984 kB / 0.5262 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.1591, allocations: 12 kB / 0.5262 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.1591, allocations: 3.938 kB / 0.5262 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.1591, allocations: 4 kB / 0.5262 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.1591, allocations: 0 / 0.5262 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1591, allocations: 0 / 0.5262 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004162/0.1595, allocations: 217.5 kB / 0.5265 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.1597, allocations: 67.66 kB / 0.5265 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.056e-05/0.1597, allocations: 0 / 0.5265 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1598, allocations: 11.98 kB / 0.5265 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.1599, allocations: 11.98 kB / 0.5265 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.1599, allocations: 4 kB / 0.5265 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008754/0.1608, allocations: 0.7565 MB / 0.5273 GB, free: 12.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1608, allocations: 0 / 0.5273 GB, free: 12.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.161, allocations: 43.98 kB / 0.5273 GB, free: 12.14 MB / 414.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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.002266/0.1633, allocations: 1.096 MB / 0.5284 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.1636, allocations: 87.84 kB / 0.5285 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1636, allocations: 0 / 0.5285 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.1637, allocations: 47.91 kB / 0.5285 GB, free: 10.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.1642, allocations: 74.67 kB / 0.5286 GB, free: 10.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006024/0.1702, allocations: 4.434 MB / 0.5329 GB, free: 6.309 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1704, allocations: 241.8 kB / 0.5332 GB, free: 6.051 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.1706, allocations: 46.97 kB / 0.5332 GB, free: 6.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002116/0.1708, allocations: 147.4 kB / 0.5333 GB, free: 5.863 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1708, allocations: 0 / 0.5333 GB, free: 5.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2444/0.4152, allocations: 9.343 MB / 0.5425 GB, free: 27.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/12.95, allocations: 7.469 kB / 0.5425 GB, free: 27.39 MB / 414.1 MB " [Timeout remaining time 647] (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 --stepSize=1.56403 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.027302353992127] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 13.171518360963091 13.184814258 13.031869531 Calling exit ...