Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.0017/0.0017, allocations: 109.2 kB / 20.48 MB, free: 1.477 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.002418/0.002418, allocations: 209.7 kB / 23.79 MB, free: 4.688 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.637/1.637, allocations: 207.6 MB / 234.6 MB, free: 9.977 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.2839/0.2839, allocations: 44.24 MB / 331.1 MB, free: 9.613 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.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.002492/0.002492, allocations: 72.42 kB / 468.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1595, allocations: 61.05 MB / 0.517 GB, free: 7.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003376/0.1629, allocations: 1.717 MB / 0.5187 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.1644, allocations: 0.8284 MB / 0.5195 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.183e-05/0.1645, allocations: 0 / 0.5195 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.1648, allocations: 91.69 kB / 0.5196 GB, free: 4.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.1651, allocations: 67.73 kB / 0.5196 GB, free: 4.555 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1653, allocations: 95.75 kB / 0.5197 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1655, allocations: 107.6 kB / 0.5198 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.1656, allocations: 12.2 kB / 0.5198 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.1657, allocations: 55.77 kB / 0.5199 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.1659, allocations: 63.8 kB / 0.5199 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.1659, allocations: 4 kB / 0.5199 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.271e-05/0.166, allocations: 39.98 kB / 0.52 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.962e-05/0.166, allocations: 27.86 kB / 0.52 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.835e-05/0.1661, allocations: 39.67 kB / 0.52 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.1663, allocations: 111.6 kB / 0.5201 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1663, allocations: 4 kB / 0.5202 GB, free: 4.004 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1663, allocations: 3.938 kB / 0.5202 GB, free: 4 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.1663, allocations: 0 / 0.5202 GB, free: 4 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.000568/0.1669, allocations: 345.6 kB / 0.5205 GB, free: 3.633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.1669, allocations: 8.031 kB / 0.5205 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.855e-05/0.1669, allocations: 4.188 kB / 0.5205 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.534e-05/0.167, allocations: 34.75 kB / 0.5205 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.167, allocations: 12.84 kB / 0.5205 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.1673, allocations: 163.2 kB / 0.5207 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.1673, allocations: 4.125 kB / 0.5207 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.1673, allocations: 4 kB / 0.5207 GB, free: 3.375 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1675, allocations: 53.67 kB / 0.5208 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1675, allocations: 0 / 0.5208 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.1675, allocations: 0 / 0.5208 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1675, allocations: 0 / 0.5208 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-05/0.1676, allocations: 19.98 kB / 0.5208 GB, free: 3.297 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.168, allocations: 271.8 kB / 0.521 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.1682, allocations: 58.61 kB / 0.5211 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.396e-05/0.1682, allocations: 16.86 kB / 0.5211 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1682, allocations: 0 / 0.5211 GB, free: 2.902 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001755/0.1684, allocations: 71.39 kB / 0.5212 GB, free: 2.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.1684, allocations: 0 / 0.5212 GB, free: 2.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005455/0.169, allocations: 177.5 kB / 0.5213 GB, free: 2.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.169, allocations: 51.41 kB / 0.5214 GB, free: 2.578 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.1692, allocations: 222.2 kB / 0.5216 GB, free: 2.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1693, allocations: 29.7 kB / 0.5216 GB, free: 2.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.791e-05/0.1693, allocations: 108.1 kB / 0.5217 GB, free: 2.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.052e-05/0.1694, allocations: 19.8 kB / 0.5218 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/0.1694, allocations: 33.7 kB / 0.5218 GB, free: 2.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.1696, allocations: 322.8 kB / 0.5221 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.126e-05/0.1696, allocations: 20 kB / 0.5221 GB, free: 1.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.852e-05/0.1697, allocations: 33.7 kB / 0.5221 GB, free: 1.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1698, allocations: 61.69 kB / 0.5222 GB, free: 1.699 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1698, allocations: 4 kB / 0.5222 GB, free: 1.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002113/0.17, allocations: 101.5 kB / 0.5223 GB, free: 1.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.1701, allocations: 4 kB / 0.5223 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1701, allocations: 7.984 kB / 0.5223 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1701, allocations: 192 / 0.5223 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1702, allocations: 15.94 kB / 0.5223 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.1702, allocations: 7.875 kB / 0.5223 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.1702, allocations: 4 kB / 0.5223 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.1702, allocations: 8 kB / 0.5224 GB, free: 1.543 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.0001438/0.1704, allocations: 129.8 kB / 0.5225 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1704, allocations: 11.95 kB / 0.5225 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.1707, allocations: 115 kB / 0.5226 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1707, allocations: 4 kB / 0.5226 GB, free: 1.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1707, allocations: 7.875 kB / 0.5226 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1707, allocations: 3.984 kB / 0.5226 GB, free: 1.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.1712, allocations: 362.7 kB / 0.523 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1712, allocations: 4.031 kB / 0.523 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.329e-05/0.1713, allocations: 11.94 kB / 0.523 GB, free: 0.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.1713, allocations: 3.938 kB / 0.523 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.1713, allocations: 4 kB / 0.523 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1713, allocations: 80 / 0.523 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1713, allocations: 3.984 kB / 0.523 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.1716, allocations: 208.3 kB / 0.5232 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.1716, allocations: 15.88 kB / 0.5232 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1716, allocations: 4 kB / 0.5232 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.1717, allocations: 4 kB / 0.5232 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.1717, allocations: 11.92 kB / 0.5232 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.1718, allocations: 4 kB / 0.5232 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1719, allocations: 156.2 kB / 0.5234 GB, free: 416 kB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1719, allocations: 0 / 0.5234 GB, free: 416 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1722, allocations: 23.94 kB / 0.5234 GB, free: 392 kB / 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 (8): * Single equations (assignments): 6 * 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.002306/0.1745, allocations: 1.105 MB / 0.5245 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001843/0.1747, allocations: 55.91 kB / 0.5245 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1747, allocations: 0 / 0.5245 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.156e-05/0.1747, allocations: 23.94 kB / 0.5245 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.1751, allocations: 31.91 kB / 0.5246 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.1772, allocations: 1.69 MB / 0.5262 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/0.1775, allocations: 0.7041 MB / 0.5269 GB, free: 12.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.598e-05/0.1776, allocations: 24.56 kB / 0.5269 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.1776, allocations: 35.42 kB / 0.527 GB, free: 12.62 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1777, allocations: 4 kB / 0.527 GB, free: 12.62 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02422/0.2019, allocations: 3.685 MB / 0.5306 GB, free: 8.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.45, allocations: 4.062 kB / 0.5306 GB, free: 8.836 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.092440067033749] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.65976478002267 11.874996801 11.705907302 Calling exit ...