Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001408/0.001408, allocations: 113 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.001764/0.001764, allocations: 217.4 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.469/1.469, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2297/0.2297, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Test42,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 67.91 kB / 0.4917 GB, free: 7.875 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1324, allocations: 65.98 MB / 0.5561 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003515/0.1359, allocations: 1.735 MB / 0.5578 GB, free: 4.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.1378, allocations: 1.036 MB / 0.5588 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.052e-05/0.1378, allocations: 0 / 0.5588 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.1381, allocations: 43.78 kB / 0.5589 GB, free: 2.926 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.1385, allocations: 99.53 kB / 0.559 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1387, allocations: 79.66 kB / 0.5591 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.1389, allocations: 103.7 kB / 0.5592 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.139, allocations: 12 kB / 0.5592 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.1392, allocations: 51.77 kB / 0.5592 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.1393, allocations: 31.8 kB / 0.5593 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.1393, allocations: 4 kB / 0.5593 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.1394, allocations: 47.97 kB / 0.5593 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.168e-05/0.1395, allocations: 27.8 kB / 0.5593 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.685e-05/0.1396, allocations: 31.75 kB / 0.5594 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.1398, allocations: 123.5 kB / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1398, allocations: 0 / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1398, allocations: 0 / 0.5595 GB, free: 2.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1398, allocations: 0 / 0.5595 GB, free: 2.324 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.0006491/0.1405, allocations: 438.5 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.1405, allocations: 12.03 kB / 0.5599 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.461e-05/0.1406, allocations: 192 / 0.5599 GB, free: 1.836 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.1406, allocations: 30.75 kB / 0.5599 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.1406, allocations: 8.891 kB / 0.5599 GB, free: 1.789 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.141, allocations: 224.1 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.141, allocations: 4.125 kB / 0.5602 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.141, allocations: 4 kB / 0.5602 GB, free: 1.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1412, allocations: 57.67 kB / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1412, allocations: 0 / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.1412, allocations: 0 / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1412, allocations: 0 / 0.5602 GB, free: 1.461 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.1413, allocations: 23.92 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004116/0.1417, allocations: 292.8 kB / 0.5605 GB, free: 1.102 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.1419, allocations: 54.69 kB / 0.5606 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6e-05/0.142, allocations: 24.83 kB / 0.5606 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.142, allocations: 3.938 kB / 0.5606 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.1422, allocations: 67.39 kB / 0.5607 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1422, allocations: 0 / 0.5607 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000613/0.1428, allocations: 193.3 kB / 0.5608 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.1428, allocations: 51.41 kB / 0.5609 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.1431, allocations: 214 kB / 0.5611 GB, free: 464 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.1431, allocations: 25.7 kB / 0.5611 GB, free: 432 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.1431, allocations: 104.1 kB / 0.5612 GB, free: 324 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.881e-05/0.1432, allocations: 23.84 kB / 0.5612 GB, free: 300 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.1432, allocations: 21.72 kB / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1434, allocations: 326.8 kB / 0.5616 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.1434, allocations: 23.98 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.1435, allocations: 33.7 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1436, allocations: 61.64 kB / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1436, allocations: 192 / 0.5617 GB, free: 15.81 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002059/0.1439, allocations: 105.5 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1439, allocations: 9.656 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.1439, allocations: 8.031 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1439, allocations: 0 / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.432e-05/0.144, allocations: 15.98 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.144, allocations: 8.078 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.144, allocations: 8 kB / 0.5618 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1441, allocations: 4 kB / 0.5618 GB, free: 15.65 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.0001171/0.1442, allocations: 128 kB / 0.562 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.1442, allocations: 15.91 kB / 0.562 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.775e-05/0.1443, allocations: 17.39 kB / 0.562 GB, free: 15.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1443, allocations: 4 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1443, allocations: 3.938 kB / 0.562 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.1443, allocations: 4 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.1448, allocations: 391.3 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1448, allocations: 0 / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.1448, allocations: 15.92 kB / 0.5624 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.88e-06/0.1448, allocations: 3.938 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1448, allocations: 0 / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.1448, allocations: 8.031 kB / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1448, allocations: 0 / 0.5624 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.1451, allocations: 204.3 kB / 0.5626 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.454e-05/0.1452, allocations: 89 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.1452, allocations: 4.359 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.67e-05/0.1453, allocations: 8 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.1453, allocations: 11.94 kB / 0.5627 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1453, allocations: 7.984 kB / 0.5627 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.1455, allocations: 160.3 kB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1455, allocations: 0 / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1458, allocations: 23.94 kB / 0.5629 GB, free: 14.46 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.002269/0.148, allocations: 1.101 MB / 0.564 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.1482, allocations: 51.92 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1483, allocations: 4.062 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000102/0.1484, allocations: 31.91 kB / 0.5641 GB, free: 13.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1487, allocations: 28.28 kB / 0.5641 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.1508, allocations: 1.695 MB / 0.5657 GB, free: 11.62 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.1512, allocations: 0.7158 MB / 0.5664 GB, free: 10.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.825e-05/0.1513, allocations: 16.48 kB / 0.5665 GB, free: 10.86 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.676e-05/0.1513, allocations: 35.42 kB / 0.5665 GB, free: 10.82 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1513, allocations: 3.938 kB / 0.5665 GB, free: 10.82 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/0.1711, allocations: 3.573 MB / 0.57 GB, free: 7.324 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.537/8.708, allocations: 0 / 0.57 GB, free: 7.324 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498604 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.7777924539987] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.889060774003156 8.911168743 8.767339738 Calling exit ...