Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.001321/0.001321, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001335/0.001335, allocations: 219 kB / 21.46 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2305/0.2305, allocations: 46.93 MB / 357.8 MB, free: 10.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test26,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 71.89 kB / 0.4917 GB, free: 7.828 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1322, allocations: 65.98 MB / 0.5561 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.003625/0.1358, allocations: 1.739 MB / 0.5578 GB, free: 3.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1379, allocations: 1.034 MB / 0.5589 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.138, allocations: 4 kB / 0.5589 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1383, allocations: 47.75 kB / 0.5589 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003556/0.1386, allocations: 91.59 kB / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1389, allocations: 83.66 kB / 0.5591 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1391, allocations: 107.6 kB / 0.5592 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.611e-05/0.1392, allocations: 12 kB / 0.5592 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.1393, allocations: 47.78 kB / 0.5592 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.1393, allocations: 31.84 kB / 0.5593 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1394, allocations: 4 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.1395, allocations: 39.98 kB / 0.5593 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.1395, allocations: 31.84 kB / 0.5593 GB, free: 2.434 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.656e-05/0.1396, allocations: 35.69 kB / 0.5594 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.1398, allocations: 119.5 kB / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1398, allocations: 0 / 0.5595 GB, free: 2.281 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1398, allocations: 4 kB / 0.5595 GB, free: 2.277 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.1399, allocations: 4 kB / 0.5595 GB, free: 2.273 MB / 414.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.0006231/0.1405, allocations: 426.6 kB / 0.5599 GB, free: 1.809 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1405, allocations: 12.03 kB / 0.5599 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.314e-05/0.1405, allocations: 192 / 0.5599 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/0.1406, allocations: 34.75 kB / 0.5599 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.1406, allocations: 12.89 kB / 0.5599 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003358/0.141, allocations: 220.1 kB / 0.5602 GB, free: 1.488 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.141, allocations: 12.12 kB / 0.5602 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.141, allocations: 4 kB / 0.5602 GB, free: 1.473 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.1412, allocations: 53.67 kB / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1412, allocations: 0 / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1412, allocations: 0 / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1412, allocations: 0 / 0.5602 GB, free: 1.414 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.532e-05/0.1413, allocations: 19.98 kB / 0.5602 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004243/0.1417, allocations: 292.8 kB / 0.5605 GB, free: 1.059 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001868/0.1419, allocations: 62.56 kB / 0.5606 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.1419, allocations: 20.84 kB / 0.5606 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.142, allocations: 0 / 0.5606 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.1422, allocations: 67.39 kB / 0.5607 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.196e-06/0.1422, allocations: 7.984 kB / 0.5607 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.00059/0.1427, allocations: 177.6 kB / 0.5608 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.1428, allocations: 51.41 kB / 0.5609 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.143, allocations: 214 kB / 0.5611 GB, free: 428 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.143, allocations: 29.7 kB / 0.5611 GB, free: 392 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.1431, allocations: 104.1 kB / 0.5612 GB, free: 284 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.1432, allocations: 27.77 kB / 0.5613 GB, free: 256 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.1432, allocations: 25.72 kB / 0.5613 GB, free: 224 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1434, allocations: 326.8 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.515e-05/0.1435, allocations: 24.05 kB / 0.5616 GB, free: 15.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.1435, allocations: 37.7 kB / 0.5616 GB, free: 15.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.1437, allocations: 53.72 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1437, allocations: 0 / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002083/0.1439, allocations: 113.5 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1439, allocations: 9.719 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1439, allocations: 160 / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1439, allocations: 0 / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.619e-05/0.144, allocations: 15.98 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.144, allocations: 15.86 kB / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.1441, allocations: 0 / 0.5618 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1441, allocations: 8 kB / 0.5619 GB, free: 15.6 MB / 430.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.0001311/0.1442, allocations: 126.5 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1442, allocations: 19.94 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.976e-05/0.1443, allocations: 13.41 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.1443, allocations: 4 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1443, allocations: 3.938 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1443, allocations: 3.984 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004879/0.1448, allocations: 395.3 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1448, allocations: 0 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.472e-05/0.1448, allocations: 8 kB / 0.5624 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.1448, allocations: 11.95 kB / 0.5624 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1448, allocations: 4 kB / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1449, allocations: 192 / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1449, allocations: 0 / 0.5624 GB, free: 14.95 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.1451, allocations: 208.2 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.557e-05/0.1452, allocations: 89 kB / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.1452, allocations: 0 / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.322e-05/0.1453, allocations: 11.98 kB / 0.5627 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.1453, allocations: 11.98 kB / 0.5627 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.1453, allocations: 4 kB / 0.5627 GB, free: 14.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001412/0.1455, allocations: 156.3 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1455, allocations: 0 / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.1457, allocations: 27.92 kB / 0.5629 GB, free: 14.42 MB / 430.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.002228/0.148, allocations: 1.094 MB / 0.564 GB, free: 13.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.1482, allocations: 63.91 kB / 0.564 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1482, allocations: 0 / 0.564 GB, free: 13.42 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.351e-05/0.1482, allocations: 23.98 kB / 0.5641 GB, free: 13.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.1486, allocations: 34.72 kB / 0.5641 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.1506, allocations: 1.697 MB / 0.5657 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.1509, allocations: 0.708 MB / 0.5664 GB, free: 10.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.106e-05/0.151, allocations: 12.5 kB / 0.5665 GB, free: 10.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.572e-05/0.1511, allocations: 47.3 kB / 0.5665 GB, free: 10.78 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.1511, allocations: 3.938 kB / 0.5665 GB, free: 10.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.1713, allocations: 3.563 MB / 0.57 GB, free: 7.293 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.463/8.634, allocations: 8 kB / 0.57 GB, free: 7.285 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test26.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.668472419027239] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.814210564014502 8.830467055 8.687690904 Calling exit ...