Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.00146/0.00146, allocations: 105 kB / 20.48 MB, free: 1.469 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.001801/0.001801, allocations: 217.8 kB / 23.79 MB, free: 4.676 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.769/1.769, allocations: 207.6 MB / 234.6 MB, free: 10 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.2426/0.2426, allocations: 44.24 MB / 331.1 MB, free: 9.531 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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",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.002263/0.002263, allocations: 75.89 kB / 468.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1443, allocations: 61.04 MB / 0.517 GB, free: 7.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003599/0.1479, allocations: 1.72 MB / 0.5187 GB, free: 5.555 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.1497, allocations: 0.8323 MB / 0.5195 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1498, allocations: 7.938 kB / 0.5195 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003955/0.1502, allocations: 47.81 kB / 0.5195 GB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.1504, allocations: 63.69 kB / 0.5196 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.1507, allocations: 83.78 kB / 0.5197 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.1509, allocations: 99.67 kB / 0.5198 GB, free: 4.418 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.151, allocations: 12.22 kB / 0.5198 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.1511, allocations: 43.78 kB / 0.5198 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1512, allocations: 35.78 kB / 0.5198 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1513, allocations: 4 kB / 0.5198 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.1514, allocations: 39.98 kB / 0.5199 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.267e-05/0.1515, allocations: 27.86 kB / 0.5199 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.813e-05/0.1515, allocations: 47.66 kB / 0.52 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002977/0.1518, allocations: 131.4 kB / 0.5201 GB, free: 4.082 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.1518, allocations: 4 kB / 0.5201 GB, free: 4.078 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1519, allocations: 3.938 kB / 0.5201 GB, free: 4.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.1519, allocations: 0 / 0.5201 GB, free: 4.074 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.000702/0.1526, allocations: 357.5 kB / 0.5204 GB, free: 3.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.1526, allocations: 12.02 kB / 0.5204 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.767e-05/0.1526, allocations: 4.188 kB / 0.5204 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.1527, allocations: 38.73 kB / 0.5205 GB, free: 3.633 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.529e-05/0.1527, allocations: 12.84 kB / 0.5205 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.1531, allocations: 166 kB / 0.5207 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1531, allocations: 8.125 kB / 0.5207 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.1532, allocations: 4 kB / 0.5207 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.1533, allocations: 57.61 kB / 0.5207 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1534, allocations: 0 / 0.5207 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1534, allocations: 0 / 0.5207 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1534, allocations: 0 / 0.5207 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.278e-05/0.1535, allocations: 23.92 kB / 0.5207 GB, free: 3.336 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004818/0.1539, allocations: 271.9 kB / 0.521 GB, free: 3.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1541, allocations: 62.55 kB / 0.5211 GB, free: 2.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.483e-05/0.1542, allocations: 16.86 kB / 0.5211 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.1542, allocations: 0 / 0.5211 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/0.1544, allocations: 71.39 kB / 0.5211 GB, free: 2.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1544, allocations: 0 / 0.5211 GB, free: 2.855 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007411/0.1552, allocations: 177.3 kB / 0.5213 GB, free: 2.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/0.1553, allocations: 59.41 kB / 0.5214 GB, free: 2.605 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003507/0.1556, allocations: 263.4 kB / 0.5216 GB, free: 2.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.1556, allocations: 25.7 kB / 0.5216 GB, free: 2.301 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.1557, allocations: 112.1 kB / 0.5218 GB, free: 2.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.1558, allocations: 31.77 kB / 0.5218 GB, free: 2.156 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/0.1558, allocations: 21.72 kB / 0.5218 GB, free: 2.129 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000206/0.156, allocations: 330.8 kB / 0.5221 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.215e-05/0.1561, allocations: 19.98 kB / 0.5221 GB, free: 1.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.026e-05/0.1562, allocations: 42.02 kB / 0.5222 GB, free: 1.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.1563, allocations: 53.7 kB / 0.5222 GB, free: 1.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1563, allocations: 0 / 0.5222 GB, free: 1.672 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002472/0.1566, allocations: 117.5 kB / 0.5223 GB, free: 1.551 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.1566, allocations: 4 kB / 0.5223 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/0.1566, allocations: 4 kB / 0.5223 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.1566, allocations: 0 / 0.5223 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1567, allocations: 15.98 kB / 0.5224 GB, free: 1.527 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1567, allocations: 3.938 kB / 0.5224 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.1568, allocations: 4 kB / 0.5224 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.1568, allocations: 4 kB / 0.5224 GB, free: 1.516 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.0001468/0.157, allocations: 137.8 kB / 0.5225 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.157, allocations: 15.91 kB / 0.5225 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.1572, allocations: 119.2 kB / 0.5226 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.1573, allocations: 0 / 0.5226 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.1573, allocations: 7.922 kB / 0.5226 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1573, allocations: 0 / 0.5226 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005106/0.1578, allocations: 374.5 kB / 0.523 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1578, allocations: 0 / 0.523 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.1578, allocations: 15.97 kB / 0.523 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1578, allocations: 7.922 kB / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1578, allocations: 0 / 0.523 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1578, allocations: 4.188 kB / 0.523 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1578, allocations: 3.938 kB / 0.523 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002544/0.1581, allocations: 208.2 kB / 0.5232 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.1581, allocations: 15.84 kB / 0.5232 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.1581, allocations: 8 kB / 0.5233 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.346e-05/0.1582, allocations: 3.984 kB / 0.5233 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.72e-05/0.1583, allocations: 11.98 kB / 0.5233 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.1583, allocations: 7.984 kB / 0.5233 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1585, allocations: 199.3 kB / 0.5235 GB, free: 316 kB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1585, allocations: 0 / 0.5235 GB, free: 316 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1587, allocations: 19.94 kB / 0.5235 GB, free: 296 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.002375/0.1611, allocations: 1.101 MB / 0.5246 GB, free: 15.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.1613, allocations: 55.91 kB / 0.5246 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1613, allocations: 0 / 0.5246 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.07e-05/0.1614, allocations: 23.98 kB / 0.5246 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003949/0.1618, allocations: 31.92 kB / 0.5247 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/0.1641, allocations: 1.816 MB / 0.5264 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.1645, allocations: 0.7158 MB / 0.5271 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.973e-05/0.1646, allocations: 12.97 kB / 0.5271 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.1646, allocations: 39.42 kB / 0.5272 GB, free: 12.41 MB / 414.1 MB Notification: Performance of SimCode: time 7.92e-07/0.1646, allocations: 3.938 kB / 0.5272 GB, free: 12.4 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.1883, allocations: 3.919 MB / 0.531 GB, free: 8.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.29, allocations: 9 kB / 0.531 GB, free: 8.379 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.026257933001034] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 11.523328025999945 11.790722814 11.635991447 Calling exit ...