Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 122.5 kB / 18.51 MB, free: 4.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 230.4 MB / 254.7 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2508/0.2508, allocations: 46.92 MB / 357.7 MB, free: 10.34 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003183/0.003183, allocations: 83.86 kB / 0.4917 GB, free: 7.793 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1371, allocations: 66.05 MB / 0.5562 GB, free: 5.609 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.0032/0.1403, allocations: 1.825 MB / 0.558 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002682/0.1429, allocations: 1.716 MB / 0.5597 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.229e-05/0.143, allocations: 3.938 kB / 0.5597 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.1434, allocations: 51.69 kB / 0.5597 GB, free: 1.988 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.1438, allocations: 143.4 kB / 0.5599 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.144, allocations: 107.6 kB / 0.56 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.1443, allocations: 203.3 kB / 0.5602 GB, free: 1.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.667e-05/0.1444, allocations: 9.688 kB / 0.5602 GB, free: 1.531 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001465/0.1445, allocations: 87.56 kB / 0.5603 GB, free: 1.445 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.1448, allocations: 91.59 kB / 0.5604 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.324e-05/0.1448, allocations: 8 kB / 0.5604 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.145, allocations: 119.9 kB / 0.5605 GB, free: 1.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.092e-05/0.1451, allocations: 27.91 kB / 0.5605 GB, free: 1.203 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.683e-05/0.1452, allocations: 67.53 kB / 0.5606 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.1455, allocations: 227.1 kB / 0.5608 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1456, allocations: 0 / 0.5608 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1456, allocations: 0 / 0.5608 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.1456, allocations: 4 kB / 0.5608 GB, free: 0.9102 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.0008162/0.1464, allocations: 0.5019 MB / 0.5613 GB, free: 368 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1464, allocations: 12.03 kB / 0.5613 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.855e-05/0.1465, allocations: 34.75 kB / 0.5613 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.1465, allocations: 16.84 kB / 0.5613 GB, free: 296 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004365/0.147, allocations: 252 kB / 0.5616 GB, free: 4 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.147, allocations: 4.375 kB / 0.5616 GB, free: 0 / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.147, allocations: 4.422 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002398/0.1473, allocations: 109.1 kB / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1473, allocations: 0 / 0.5617 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.1473, allocations: 7.922 kB / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1473, allocations: 0 / 0.5617 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.1474, allocations: 31.97 kB / 0.5617 GB, free: 15.83 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002679/0.1477, allocations: 214.5 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.148, allocations: 109.2 kB / 0.562 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.198e-05/0.148, allocations: 29.7 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1481, allocations: 4 kB / 0.5621 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.1483, allocations: 113 kB / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1483, allocations: 0 / 0.5622 GB, free: 15.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004716/0.1488, allocations: 177.6 kB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1489, allocations: 128.5 kB / 0.5625 GB, free: 14.94 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.1492, allocations: 244.9 kB / 0.5627 GB, free: 14.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.1492, allocations: 29.7 kB / 0.5627 GB, free: 14.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.1493, allocations: 120.1 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.998e-05/0.1494, allocations: 31.78 kB / 0.5629 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.078e-05/0.1494, allocations: 29.72 kB / 0.5629 GB, free: 14.47 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.1496, allocations: 330.8 kB / 0.5632 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.1497, allocations: 27.98 kB / 0.5632 GB, free: 14.11 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.1498, allocations: 68.64 kB / 0.5633 GB, free: 14.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.15, allocations: 95.38 kB / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.15, allocations: 0 / 0.5634 GB, free: 13.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002854/0.1503, allocations: 137.4 kB / 0.5635 GB, free: 13.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1503, allocations: 10.12 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.1503, allocations: 4 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1503, allocations: 4.062 kB / 0.5635 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1505, allocations: 23.98 kB / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1505, allocations: 0 / 0.5636 GB, free: 13.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.926e-05/0.1506, allocations: 19.88 kB / 0.5636 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.177e-05/0.1506, allocations: 4 kB / 0.5636 GB, free: 13.72 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001366/0.1507, allocations: 130.2 kB / 0.5637 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.669e-05/0.1508, allocations: 23.83 kB / 0.5637 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.878e-05/0.1508, allocations: 21 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1508, allocations: 4 kB / 0.5638 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1508, allocations: 0 / 0.5638 GB, free: 13.53 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.789e-06/0.1508, allocations: 11.98 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002242/0.151, allocations: 217.5 kB / 0.564 GB, free: 13.26 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.1511, allocations: 7.875 kB / 0.564 GB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.1511, allocations: 8 kB / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1511, allocations: 0 / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.1511, allocations: 4 kB / 0.564 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1511, allocations: 3.984 kB / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1511, allocations: 0 / 0.564 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.1514, allocations: 173.8 kB / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.072e-05/0.1515, allocations: 96.89 kB / 0.5643 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.1516, allocations: 7.984 kB / 0.5643 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.236e-05/0.1516, allocations: 4 kB / 0.5643 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.1517, allocations: 11.92 kB / 0.5643 GB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.041e-05/0.1517, allocations: 8 kB / 0.5643 GB, free: 12.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001926/0.1519, allocations: 181.6 kB / 0.5645 GB, free: 12.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1519, allocations: 0 / 0.5645 GB, free: 12.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.1522, allocations: 51.92 kB / 0.5645 GB, free: 12.67 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.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.00246/0.1546, allocations: 1.107 MB / 0.5656 GB, free: 11.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002681/0.1549, allocations: 83.89 kB / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1549, allocations: 0 / 0.5657 GB, free: 11.61 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.155, allocations: 40.3 kB / 0.5657 GB, free: 11.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.1554, allocations: 54.56 kB / 0.5658 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002396/0.1578, allocations: 1.888 MB / 0.5676 GB, free: 9.535 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1581, allocations: 0.7203 MB / 0.5683 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.747e-05/0.1582, allocations: 33.52 kB / 0.5683 GB, free: 8.758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1583, allocations: 59.41 kB / 0.5684 GB, free: 8.699 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1583, allocations: 0 / 0.5684 GB, free: 8.699 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.1895, allocations: 5.33 MB / 0.5736 GB, free: 3.406 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/8.772, allocations: 0 / 0.5736 GB, free: 3.406 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.118196210823953] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new_2.y[1]'] 8.925703591201454 8.940242333 8.79137469 Calling exit ...