Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.002114/0.002114, 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.002437/0.002437, 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.507/1.507, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2301/0.2301, allocations: 46.91 MB / 357.8 MB, free: 10.29 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.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 79.86 kB / 0.4917 GB, free: 7.828 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1462, allocations: 65.99 MB / 0.5561 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003229/0.1494, allocations: 1.741 MB / 0.5578 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.1512, allocations: 1.03 MB / 0.5589 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.1513, allocations: 4 kB / 0.5589 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.1516, allocations: 55.75 kB / 0.5589 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003035/0.1519, allocations: 99.53 kB / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002007/0.1521, allocations: 75.73 kB / 0.5591 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1523, allocations: 107.6 kB / 0.5592 GB, free: 2.586 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.1524, allocations: 12 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.361e-05/0.1525, allocations: 51.78 kB / 0.5592 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.1525, allocations: 27.84 kB / 0.5593 GB, free: 2.496 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.1526, allocations: 7.938 kB / 0.5593 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.586e-05/0.1527, allocations: 43.98 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.1527, allocations: 35.8 kB / 0.5594 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.1528, allocations: 47.66 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.153, allocations: 135.4 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.153, allocations: 0 / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.153, allocations: 0 / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.153, allocations: 4 kB / 0.5595 GB, free: 2.227 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.0006202/0.1536, allocations: 458.3 kB / 0.56 GB, free: 1.73 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1537, allocations: 12.03 kB / 0.56 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.564e-05/0.1537, allocations: 192 / 0.56 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.365e-05/0.1537, allocations: 34.73 kB / 0.56 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.5e-05/0.1538, allocations: 16.84 kB / 0.56 GB, free: 1.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.1541, allocations: 231.8 kB / 0.5602 GB, free: 1.395 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1541, allocations: 4.125 kB / 0.5603 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.1541, allocations: 7.938 kB / 0.5603 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1543, allocations: 57.67 kB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1543, allocations: 0 / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.1543, allocations: 0 / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1543, allocations: 0 / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/0.1544, allocations: 27.92 kB / 0.5603 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.1548, allocations: 300.9 kB / 0.5606 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.155, allocations: 54.67 kB / 0.5607 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/0.155, allocations: 16.86 kB / 0.5607 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1551, allocations: 0 / 0.5607 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.1552, allocations: 71.33 kB / 0.5608 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1552, allocations: 0 / 0.5608 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005903/0.1558, allocations: 189.2 kB / 0.5609 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1559, allocations: 59.41 kB / 0.561 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000297/0.1562, allocations: 288.1 kB / 0.5613 GB, free: 236 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.1562, allocations: 33.7 kB / 0.5613 GB, free: 196 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.014e-05/0.1563, allocations: 112.1 kB / 0.5614 GB, free: 80 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.1563, allocations: 19.84 kB / 0.5614 GB, free: 60 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.1563, allocations: 25.72 kB / 0.5615 GB, free: 28 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.1565, allocations: 322.8 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.1566, allocations: 23.98 kB / 0.5618 GB, free: 15.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.478e-05/0.1566, allocations: 41.7 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.1568, allocations: 61.64 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.1568, allocations: 192 / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002023/0.157, allocations: 105.5 kB / 0.562 GB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.157, allocations: 7.938 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.157, allocations: 4 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.157, allocations: 4.031 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.499e-05/0.1571, allocations: 15.98 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.1571, allocations: 3.938 kB / 0.562 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.1572, allocations: 8 kB / 0.562 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.1572, allocations: 4 kB / 0.562 GB, free: 15.41 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.0001285/0.1573, allocations: 136 kB / 0.5622 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.1573, allocations: 19.89 kB / 0.5622 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.1574, allocations: 17.41 kB / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1574, allocations: 0 / 0.5622 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.1574, allocations: 11.88 kB / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.1574, allocations: 0 / 0.5622 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000499/0.1579, allocations: 407.3 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.1579, allocations: 3.984 kB / 0.5626 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.066e-05/0.1579, allocations: 12.31 kB / 0.5626 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.1579, allocations: 3.938 kB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.158, allocations: 0 / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.158, allocations: 8.234 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.158, allocations: 0 / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.1583, allocations: 212.3 kB / 0.5628 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.892e-05/0.1584, allocations: 100.9 kB / 0.5629 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.1584, allocations: 8 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.1585, allocations: 0 / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.1585, allocations: 7.984 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.1586, allocations: 7.938 kB / 0.5629 GB, free: 14.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.1588, allocations: 220.6 kB / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1588, allocations: 0 / 0.5632 GB, free: 14.15 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1591, allocations: 31.89 kB / 0.5632 GB, free: 14.12 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.002223/0.1613, allocations: 1.091 MB / 0.5643 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.1615, allocations: 59.91 kB / 0.5643 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1615, allocations: 0 / 0.5643 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.1616, allocations: 35.97 kB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1619, allocations: 31.5 kB / 0.5644 GB, free: 13.07 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.1642, allocations: 1.863 MB / 0.5662 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.1645, allocations: 0.7236 MB / 0.5669 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.537e-05/0.1646, allocations: 20.86 kB / 0.5669 GB, free: 10.34 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.945e-05/0.1647, allocations: 43.42 kB / 0.567 GB, free: 10.29 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1647, allocations: 0 / 0.567 GB, free: 10.29 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.188, allocations: 3.906 MB / 0.5708 GB, free: 6.457 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.452/8.64, allocations: 9 kB / 0.5708 GB, free: 6.449 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6_fmu --startTime=0 --stopTime=2.5 --stepSize=0.00049781 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.807150317006744] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.832280314003583 8.852915667 8.696079153 Calling exit ...