Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.001778/0.001778, allocations: 104.3 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.00247/0.00247, allocations: 213.9 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.456/1.456, 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.2476/0.2476, allocations: 44.26 MB / 331.1 MB, free: 9.332 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.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21",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.00216/0.00216, allocations: 71.91 kB / 468.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1309, allocations: 61.05 MB / 0.517 GB, free: 7.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003789/0.1347, allocations: 1.686 MB / 0.5186 GB, free: 5.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1363, allocations: 0.7778 MB / 0.5194 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.365e-05/0.1364, allocations: 4 kB / 0.5194 GB, free: 4.641 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.1368, allocations: 39.78 kB / 0.5194 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.137, allocations: 63.69 kB / 0.5195 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002615/0.1373, allocations: 83.77 kB / 0.5196 GB, free: 4.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1374, allocations: 99.69 kB / 0.5197 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1375, allocations: 16.2 kB / 0.5197 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.171e-05/0.1376, allocations: 35.8 kB / 0.5197 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.383e-05/0.1377, allocations: 31.84 kB / 0.5197 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.1377, allocations: 8 kB / 0.5197 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.1378, allocations: 47.92 kB / 0.5198 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.462e-05/0.1379, allocations: 19.92 kB / 0.5198 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.916e-05/0.1379, allocations: 23.86 kB / 0.5198 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1382, allocations: 115.5 kB / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1382, allocations: 0 / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1382, allocations: 0 / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1382, allocations: 0 / 0.5199 GB, free: 4.066 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.0005698/0.1387, allocations: 341.6 kB / 0.5203 GB, free: 3.703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1388, allocations: 8.031 kB / 0.5203 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.554e-05/0.1388, allocations: 4.188 kB / 0.5203 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.182e-05/0.1388, allocations: 34.75 kB / 0.5203 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.1389, allocations: 12.84 kB / 0.5203 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.1392, allocations: 146.3 kB / 0.5205 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1392, allocations: 8.125 kB / 0.5205 GB, free: 3.461 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1392, allocations: 3.938 kB / 0.5205 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.1394, allocations: 61.61 kB / 0.5205 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1394, allocations: 0 / 0.5205 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1394, allocations: 0 / 0.5205 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.1394, allocations: 0 / 0.5205 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.517e-05/0.1395, allocations: 23.98 kB / 0.5206 GB, free: 3.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.14, allocations: 252 kB / 0.5208 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.1402, allocations: 62.61 kB / 0.5209 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.507e-05/0.1403, allocations: 20.84 kB / 0.5209 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1403, allocations: 0 / 0.5209 GB, free: 2.984 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1405, allocations: 71.34 kB / 0.5209 GB, free: 2.902 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1405, allocations: 0 / 0.5209 GB, free: 2.902 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006736/0.1412, allocations: 185.3 kB / 0.5211 GB, free: 2.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.1412, allocations: 55.41 kB / 0.5212 GB, free: 2.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.1414, allocations: 198 kB / 0.5214 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1415, allocations: 25.7 kB / 0.5214 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.1415, allocations: 104.1 kB / 0.5215 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.281e-05/0.1416, allocations: 27.78 kB / 0.5215 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.1416, allocations: 21.72 kB / 0.5215 GB, free: 2.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.1418, allocations: 322.8 kB / 0.5218 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.565e-05/0.1418, allocations: 23.98 kB / 0.5219 GB, free: 1.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.326e-05/0.1419, allocations: 42.02 kB / 0.5219 GB, free: 1.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.142, allocations: 57.7 kB / 0.522 GB, free: 1.797 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.142, allocations: 7.938 kB / 0.522 GB, free: 1.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002048/0.1422, allocations: 109.5 kB / 0.5221 GB, free: 1.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1423, allocations: 8 kB / 0.5221 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.1423, allocations: 0 / 0.5221 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1423, allocations: 0 / 0.5221 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.609e-05/0.1424, allocations: 19.97 kB / 0.5221 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.1424, allocations: 7.938 kB / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.1424, allocations: 0 / 0.5221 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.1424, allocations: 8 kB / 0.5221 GB, free: 1.633 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.0001022/0.1425, allocations: 129.8 kB / 0.5222 GB, free: 1.496 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.1426, allocations: 11.95 kB / 0.5223 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.1428, allocations: 122.4 kB / 0.5224 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1428, allocations: 0 / 0.5224 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1428, allocations: 3.938 kB / 0.5224 GB, free: 1.352 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1428, allocations: 3.984 kB / 0.5224 GB, free: 1.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.1433, allocations: 370.5 kB / 0.5227 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1433, allocations: 0 / 0.5227 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.267e-05/0.1434, allocations: 11.98 kB / 0.5227 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.1434, allocations: 7.969 kB / 0.5227 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1434, allocations: 4 kB / 0.5228 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1434, allocations: 0 / 0.5228 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1434, allocations: 0 / 0.5228 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.1437, allocations: 208.3 kB / 0.523 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.661e-05/0.1437, allocations: 23.83 kB / 0.523 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.1437, allocations: 0 / 0.523 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.354e-05/0.1438, allocations: 4 kB / 0.523 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.1438, allocations: 11.98 kB / 0.523 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1439, allocations: 4 kB / 0.523 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001292/0.144, allocations: 147.2 kB / 0.5231 GB, free: 0.5 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.144, allocations: 0 / 0.5231 GB, free: 0.5 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1443, allocations: 23.94 kB / 0.5232 GB, free: 488 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 (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.002372/0.1466, allocations: 1.133 MB / 0.5243 GB, free: 15.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.1469, allocations: 59.95 kB / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1469, allocations: 0 / 0.5243 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.807e-05/0.147, allocations: 31.92 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.0004124/0.1474, allocations: 35.2 kB / 0.5244 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002251/0.1496, allocations: 1.65 MB / 0.526 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.1497, allocations: 96.25 kB / 0.5261 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.944e-05/0.1498, allocations: 12.8 kB / 0.5261 GB, free: 13.37 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.76e-05/0.1499, allocations: 35.42 kB / 0.5261 GB, free: 13.34 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.1499, allocations: 112 / 0.5261 GB, free: 13.34 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02362/0.1735, allocations: 3.733 MB / 0.5298 GB, free: 9.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.01, allocations: 7.875 kB / 0.5298 GB, free: 9.48 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.231638974975795] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 12.233658482087776 12.413660596 12.272843349 Calling exit ...