Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.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.002008/0.002008, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.002115/0.002115, allocations: 205 kB / 21.45 MB, free: 1.629 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.484/1.484, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2348/0.2348, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5",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.002294/0.002294, allocations: 83.86 kB / 0.4918 GB, free: 7.641 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1364, allocations: 66.04 MB / 0.5563 GB, free: 5.465 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003117/0.1395, allocations: 1.773 MB / 0.558 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1412, allocations: 1.032 MB / 0.559 GB, free: 2.637 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.289e-05/0.1413, allocations: 7.938 kB / 0.559 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.1416, allocations: 111.7 kB / 0.5591 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003303/0.1419, allocations: 127.5 kB / 0.5592 GB, free: 2.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.1421, allocations: 79.72 kB / 0.5593 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.1424, allocations: 143.6 kB / 0.5594 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.1425, allocations: 9.406 kB / 0.5595 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.1426, allocations: 63.75 kB / 0.5595 GB, free: 2.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1427, allocations: 83.72 kB / 0.5596 GB, free: 2.02 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.1427, allocations: 8 kB / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1428, allocations: 63.92 kB / 0.5597 GB, free: 1.949 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.1429, allocations: 39.83 kB / 0.5597 GB, free: 1.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.143, allocations: 43.62 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000256/0.1432, allocations: 167.3 kB / 0.5599 GB, free: 1.703 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1432, allocations: 0 / 0.5599 GB, free: 1.703 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1432, allocations: 0 / 0.5599 GB, free: 1.703 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1432, allocations: 0 / 0.5599 GB, free: 1.703 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000599/0.1438, allocations: 474.2 kB / 0.5604 GB, free: 1.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.1439, allocations: 12.03 kB / 0.5604 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.092e-05/0.1439, allocations: 38.75 kB / 0.5604 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.144, allocations: 16.84 kB / 0.5604 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000308/0.1443, allocations: 225.1 kB / 0.5606 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1443, allocations: 4.375 kB / 0.5606 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.1443, allocations: 8.375 kB / 0.5606 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1445, allocations: 77.72 kB / 0.5607 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.1445, allocations: 7.891 kB / 0.5607 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.1445, allocations: 4 kB / 0.5607 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1445, allocations: 0 / 0.5607 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1446, allocations: 39.91 kB / 0.5608 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.1451, allocations: 328.7 kB / 0.5611 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002544/0.1453, allocations: 70.48 kB / 0.5611 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.171e-05/0.1454, allocations: 32.84 kB / 0.5612 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.1454, allocations: 0 / 0.5612 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.1456, allocations: 75.38 kB / 0.5613 GB, free: 144 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 3.236e-06/0.1456, allocations: 3.984 kB / 0.5613 GB, free: 140 kB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.000874/0.1464, allocations: 301.1 kB / 0.5615 GB, free: 15.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.1465, allocations: 55.34 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.1467, allocations: 263.7 kB / 0.5618 GB, free: 15.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1468, allocations: 29.7 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.1468, allocations: 116.3 kB / 0.562 GB, free: 15.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.332e-05/0.1469, allocations: 55.61 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-05/0.147, allocations: 25.72 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1471, allocations: 334.8 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.79e-05/0.1472, allocations: 36.83 kB / 0.5624 GB, free: 14.89 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1473, allocations: 62.91 kB / 0.5625 GB, free: 14.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.1475, allocations: 108.9 kB / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1475, allocations: 0 / 0.5626 GB, free: 14.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002736/0.1478, allocations: 153.5 kB / 0.5627 GB, free: 14.56 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1478, allocations: 9.562 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1478, allocations: 0 / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1478, allocations: 0 / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.1479, allocations: 32.09 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.1479, allocations: 15.84 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.1479, allocations: 3.984 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.148, allocations: 4 kB / 0.5628 GB, free: 14.5 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 (16): * Single equations (assignments): 16 * 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.0001281/0.1481, allocations: 141.8 kB / 0.5629 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.346e-05/0.1481, allocations: 19.86 kB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.447e-05/0.1482, allocations: 29.52 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1482, allocations: 0 / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.1482, allocations: 3.938 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1482, allocations: 4 kB / 0.563 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006289/0.1488, allocations: 0.4999 MB / 0.5635 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1488, allocations: 0 / 0.5635 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.1489, allocations: 27.92 kB / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1489, allocations: 0 / 0.5635 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1489, allocations: 4 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1489, allocations: 0 / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.1489, allocations: 4 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.1492, allocations: 265.1 kB / 0.5638 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/0.1493, allocations: 96.94 kB / 0.5638 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.1493, allocations: 8 kB / 0.5639 GB, free: 13.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.1494, allocations: 4 kB / 0.5639 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.1494, allocations: 15.98 kB / 0.5639 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1495, allocations: 4 kB / 0.5639 GB, free: 13.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000185/0.1496, allocations: 197.4 kB / 0.5641 GB, free: 13.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1496, allocations: 0 / 0.5641 GB, free: 13.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002879/0.1499, allocations: 35.94 kB / 0.5641 GB, free: 13.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002462/0.1524, allocations: 1.213 MB / 0.5653 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002383/0.1526, allocations: 95.91 kB / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1526, allocations: 0 / 0.5654 GB, free: 11.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.82e-05/0.1527, allocations: 43.92 kB / 0.5654 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.1531, allocations: 35.75 kB / 0.5655 GB, free: 11.81 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.1555, allocations: 1.999 MB / 0.5674 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.1558, allocations: 0.7317 MB / 0.5681 GB, free: 8.957 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.293e-05/0.1559, allocations: 25.41 kB / 0.5681 GB, free: 8.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001062/0.156, allocations: 55.41 kB / 0.5682 GB, free: 8.875 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.156, allocations: 3.938 kB / 0.5682 GB, free: 8.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.1821, allocations: 4.375 MB / 0.5725 GB, free: 4.574 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/8.034, allocations: 14.16 kB / 0.5725 GB, free: 4.562 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.275699228979647] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'd_t_new2.y', 'd2_t_new.y'] 8.157350616995245 8.1738483 8.027716027 Calling exit ...