Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.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.001342/0.001342, allocations: 116.8 kB / 18.5 MB, free: 4.52 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.001615/0.001615, allocations: 212.9 kB / 21.46 MB, free: 1.566 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.511/1.511, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.2394/0.2394, allocations: 46.92 MB / 357.7 MB, free: 10.23 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.Test44,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44",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.00221/0.00221, allocations: 83.88 kB / 0.4918 GB, free: 7.672 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1326, allocations: 66.04 MB / 0.5562 GB, free: 5.5 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003137/0.1358, allocations: 1.74 MB / 0.5579 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1375, allocations: 1.034 MB / 0.559 GB, free: 2.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.1375, allocations: 3.938 kB / 0.559 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.1378, allocations: 43.77 kB / 0.559 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003058/0.1381, allocations: 95.59 kB / 0.5591 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000199/0.1383, allocations: 79.67 kB / 0.5592 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000181/0.1385, allocations: 107.7 kB / 0.5593 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.92e-05/0.1386, allocations: 8 kB / 0.5593 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.1387, allocations: 51.72 kB / 0.5593 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.235e-05/0.1388, allocations: 39.78 kB / 0.5594 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.1388, allocations: 4 kB / 0.5594 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.1389, allocations: 39.98 kB / 0.5594 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.139, allocations: 23.86 kB / 0.5594 GB, free: 2.219 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.659e-05/0.139, allocations: 35.73 kB / 0.5595 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1393, allocations: 119.5 kB / 0.5596 GB, free: 2.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1393, allocations: 7.938 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1393, allocations: 0 / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.1393, allocations: 4 kB / 0.5596 GB, free: 2.055 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.0006322/0.1399, allocations: 430.5 kB / 0.56 GB, free: 1.586 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.14, allocations: 12.03 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.902e-05/0.14, allocations: 30.75 kB / 0.56 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.14, allocations: 8.891 kB / 0.56 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.1404, allocations: 220.1 kB / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1404, allocations: 384 / 0.5603 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.107e-05/0.1404, allocations: 8.359 kB / 0.5603 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.1406, allocations: 65.73 kB / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1406, allocations: 0 / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1406, allocations: 0 / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1406, allocations: 0 / 0.5603 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.777e-05/0.1407, allocations: 19.98 kB / 0.5603 GB, free: 1.176 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.1411, allocations: 292.8 kB / 0.5606 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1413, allocations: 62.61 kB / 0.5607 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.1413, allocations: 16.86 kB / 0.5607 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1414, allocations: 0 / 0.5607 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001613/0.1415, allocations: 63.39 kB / 0.5608 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1415, allocations: 0 / 0.5608 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000572/0.1421, allocations: 181.3 kB / 0.5609 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.1421, allocations: 51.41 kB / 0.561 GB, free: 440 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.1424, allocations: 222 kB / 0.5612 GB, free: 208 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.1424, allocations: 25.7 kB / 0.5612 GB, free: 176 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.1425, allocations: 100.1 kB / 0.5613 GB, free: 72 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.722e-05/0.1425, allocations: 23.84 kB / 0.5613 GB, free: 48 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-05/0.1425, allocations: 21.72 kB / 0.5614 GB, free: 20 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1427, allocations: 334.8 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.095e-05/0.1428, allocations: 20 kB / 0.5617 GB, free: 15.66 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.283e-05/0.1429, allocations: 41.58 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.143, allocations: 61.77 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.143, allocations: 0 / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001894/0.1432, allocations: 105.8 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1432, allocations: 4.031 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1432, allocations: 11.94 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1432, allocations: 3.984 kB / 0.5619 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.555e-05/0.1433, allocations: 16 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1433, allocations: 0 / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.875e-05/0.1434, allocations: 8 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1434, allocations: 4 kB / 0.5619 GB, free: 15.39 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.0001142/0.1435, allocations: 131.1 kB / 0.5621 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.66e-05/0.1435, allocations: 15.91 kB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.916e-05/0.1436, allocations: 25.39 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1436, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1436, allocations: 0 / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1436, allocations: 4 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000486/0.1441, allocations: 395.3 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.1441, allocations: 3.984 kB / 0.5625 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.1441, allocations: 11.98 kB / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1441, allocations: 0 / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.245e-06/0.1441, allocations: 0 / 0.5625 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.1441, allocations: 11.97 kB / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1441, allocations: 0 / 0.5625 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.1444, allocations: 204.2 kB / 0.5627 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.1445, allocations: 89.05 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.206e-05/0.1445, allocations: 0 / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.604e-05/0.1446, allocations: 7.938 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.953e-05/0.1446, allocations: 15.98 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.1446, allocations: 0 / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001422/0.1448, allocations: 160.3 kB / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1448, allocations: 0 / 0.563 GB, free: 14.23 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002561/0.145, allocations: 23.94 kB / 0.563 GB, free: 14.21 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.002193/0.1472, allocations: 1.093 MB / 0.5641 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002079/0.1474, allocations: 63.91 kB / 0.5641 GB, free: 13.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1474, allocations: 4.062 kB / 0.5641 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.1475, allocations: 27.92 kB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.1479, allocations: 23.98 kB / 0.5642 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.1499, allocations: 1.689 MB / 0.5658 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.1502, allocations: 0.708 MB / 0.5665 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.929e-05/0.1503, allocations: 24.8 kB / 0.5665 GB, free: 10.59 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.502e-05/0.1504, allocations: 43.36 kB / 0.5666 GB, free: 10.55 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1504, allocations: 0 / 0.5666 GB, free: 10.55 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.1762, allocations: 3.531 MB / 0.57 GB, free: 7.082 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.963/8.139, allocations: 6.047 kB / 0.57 GB, free: 7.078 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.404770633205771] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.265681984834373 8.281387582 8.139182814 Calling exit ...