Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001764/0.001764, allocations: 121 kB / 18.5 MB, free: 4.562 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.001916/0.001916, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.573/1.573, 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.2564/0.2564, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.84 kB / 0.4917 GB, free: 7.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1405, allocations: 65.98 MB / 0.5561 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003299/0.1438, allocations: 1.831 MB / 0.5579 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1459, allocations: 1.113 MB / 0.559 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.927e-05/0.146, allocations: 3.938 kB / 0.559 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005619/0.1466, allocations: 307.3 kB / 0.5593 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.147, allocations: 255.2 kB / 0.5595 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1473, allocations: 107.7 kB / 0.5596 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.1477, allocations: 267.2 kB / 0.5599 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.1478, allocations: 13.69 kB / 0.5599 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.148, allocations: 139.5 kB / 0.56 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.1482, allocations: 223.4 kB / 0.5602 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.546e-05/0.1483, allocations: 8 kB / 0.5603 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.1484, allocations: 39.98 kB / 0.5603 GB, free: 1.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.1486, allocations: 135.6 kB / 0.5604 GB, free: 1.371 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.1487, allocations: 154.7 kB / 0.5606 GB, free: 1.219 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005267/0.1493, allocations: 382.2 kB / 0.5609 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1493, allocations: 4 kB / 0.5609 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1493, allocations: 0 / 0.5609 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1493, allocations: 0 / 0.5609 GB, free: 0.8398 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001045/0.1503, allocations: 0.7577 MB / 0.5617 GB, free: 32 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1504, allocations: 12.03 kB / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.163e-05/0.1504, allocations: 192 / 0.5617 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.1504, allocations: 38.73 kB / 0.5617 GB, free: 15.97 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.276e-05/0.1505, allocations: 56.61 kB / 0.5618 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006893/0.1512, allocations: 464.2 kB / 0.5622 GB, free: 15.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.1512, allocations: 8.125 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1512, allocations: 4 kB / 0.5622 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.1515, allocations: 83.36 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1515, allocations: 0 / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1515, allocations: 4 kB / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1515, allocations: 0 / 0.5623 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.1516, allocations: 31.92 kB / 0.5624 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/0.1521, allocations: 390.3 kB / 0.5627 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002916/0.1524, allocations: 109.1 kB / 0.5628 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.873e-05/0.1525, allocations: 37.7 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.1525, allocations: 4 kB / 0.5629 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003351/0.1529, allocations: 109 kB / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1529, allocations: 0 / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005357/0.1534, allocations: 193.3 kB / 0.5632 GB, free: 14.36 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.1534, allocations: 81.05 kB / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.1548, allocations: 1.058 MB / 0.5643 GB, free: 13.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.1548, allocations: 33.7 kB / 0.5643 GB, free: 13.15 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.155, allocations: 232.1 kB / 0.5645 GB, free: 12.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.269e-05/0.1551, allocations: 31.75 kB / 0.5645 GB, free: 12.89 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.864e-05/0.1552, allocations: 29.7 kB / 0.5646 GB, free: 12.85 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002417/0.1554, allocations: 366.8 kB / 0.5649 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.563e-05/0.1555, allocations: 27.98 kB / 0.565 GB, free: 12.46 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1556, allocations: 67.28 kB / 0.565 GB, free: 12.38 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.1559, allocations: 95.23 kB / 0.5651 GB, free: 12.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1559, allocations: 0.5 kB / 0.5651 GB, free: 12.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003503/0.1562, allocations: 177.2 kB / 0.5653 GB, free: 12.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/0.1562, allocations: 8 kB / 0.5653 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1562, allocations: 0 / 0.5653 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.1563, allocations: 0 / 0.5653 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.1564, allocations: 27.92 kB / 0.5653 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1564, allocations: 0 / 0.5653 GB, free: 12.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.1565, allocations: 11.94 kB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1565, allocations: 4 kB / 0.5653 GB, free: 12.05 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002571/0.1568, allocations: 227.9 kB / 0.5655 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.89e-05/0.1568, allocations: 59.62 kB / 0.5656 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.913e-05/0.1569, allocations: 64.08 kB / 0.5657 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.157, allocations: 0 / 0.5657 GB, free: 11.69 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.026e-06/0.157, allocations: 7.938 kB / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.157, allocations: 0 / 0.5657 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00061/0.1576, allocations: 349.4 kB / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1576, allocations: 0 / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.1576, allocations: 8 kB / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1576, allocations: 0 / 0.566 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.1576, allocations: 8 kB / 0.566 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1576, allocations: 4 kB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1576, allocations: 0 / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003777/0.158, allocations: 209.4 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.1582, allocations: 136.8 kB / 0.5664 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.1583, allocations: 8 kB / 0.5664 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.151e-05/0.1584, allocations: 4 kB / 0.5664 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.1584, allocations: 11.98 kB / 0.5664 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1584, allocations: 4 kB / 0.5664 GB, free: 10.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001164/0.1596, allocations: 0.7878 MB / 0.5671 GB, free: 10.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1596, allocations: 0 / 0.5671 GB, free: 10.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.1599, allocations: 47.94 kB / 0.5672 GB, free: 10.04 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002209/0.1621, allocations: 1.045 MB / 0.5682 GB, free: 9.117 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.1624, allocations: 83.83 kB / 0.5683 GB, free: 9.035 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1624, allocations: 4 kB / 0.5683 GB, free: 9.031 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1625, allocations: 31.98 kB / 0.5683 GB, free: 9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.1629, allocations: 70.69 kB / 0.5684 GB, free: 8.934 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006509/0.1694, allocations: 4.586 MB / 0.5729 GB, free: 4.242 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006207/0.1701, allocations: 0.8427 MB / 0.5737 GB, free: 3.371 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000215/0.1703, allocations: 58.95 kB / 0.5738 GB, free: 3.312 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.1705, allocations: 151.4 kB / 0.5739 GB, free: 3.168 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1705, allocations: 3.938 kB / 0.5739 GB, free: 3.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.1973, allocations: 9.185 MB / 0.5829 GB, free: 10.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.997/9.194, allocations: 12 kB / 0.5829 GB, free: 10.04 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --stepSize=1.57542 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.647447780997027] Failed to read output from testmodel.py, exit status != 0: ['time', 'startTime_0.y[1]', 'startTime.y[1]'] 9.374700127984397 9.647908547 9.4954062 Calling exit ...