Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.001424/0.001424, allocations: 121.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.001482/0.001482, allocations: 206.6 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.547/1.547, 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.2399/0.2399, allocations: 46.93 MB / 357.7 MB, free: 10.2 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.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12",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.002308/0.002308, allocations: 83.86 kB / 0.4917 GB, free: 7.66 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1358, allocations: 66.04 MB / 0.5562 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003761/0.1396, allocations: 1.942 MB / 0.5581 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1416, allocations: 1.071 MB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001122/0.1417, allocations: 7.938 kB / 0.5592 GB, free: 2.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.1421, allocations: 39.7 kB / 0.5592 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003218/0.1424, allocations: 103.5 kB / 0.5593 GB, free: 2.301 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002406/0.1426, allocations: 87.72 kB / 0.5594 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.1429, allocations: 151.5 kB / 0.5595 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.143, allocations: 21.55 kB / 0.5596 GB, free: 2.043 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001248/0.1431, allocations: 63.7 kB / 0.5596 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.1432, allocations: 55.7 kB / 0.5597 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.232e-05/0.1432, allocations: 8 kB / 0.5597 GB, free: 1.918 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.1433, allocations: 51.92 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.1434, allocations: 27.84 kB / 0.5598 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.1435, allocations: 51.67 kB / 0.5598 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002851/0.1438, allocations: 147.3 kB / 0.5599 GB, free: 1.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1438, allocations: 0 / 0.5599 GB, free: 1.645 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1438, allocations: 0 / 0.5599 GB, free: 1.645 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1438, allocations: 0 / 0.5599 GB, free: 1.645 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007519/0.1445, allocations: 0.4883 MB / 0.5604 GB, free: 1.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1446, allocations: 12.03 kB / 0.5604 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/0.1446, allocations: 34.75 kB / 0.5605 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.1447, allocations: 20.84 kB / 0.5605 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.145, allocations: 229.5 kB / 0.5607 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.145, allocations: 4.375 kB / 0.5607 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.535e-05/0.1451, allocations: 20.23 kB / 0.5607 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.1453, allocations: 108.4 kB / 0.5608 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/0.1453, allocations: 0 / 0.5608 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.1453, allocations: 7.984 kB / 0.5608 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1453, allocations: 0 / 0.5608 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.1455, allocations: 51.91 kB / 0.5609 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006262/0.1461, allocations: 0.501 MB / 0.5614 GB, free: 0 / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003475/0.1465, allocations: 90.58 kB / 0.5615 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.1466, allocations: 32.84 kB / 0.5615 GB, free: 15.87 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1466, allocations: 8 kB / 0.5615 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.1468, allocations: 83.25 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1468, allocations: 0 / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004174/0.1472, allocations: 145.5 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.1473, allocations: 55.39 kB / 0.5618 GB, free: 15.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/0.1475, allocations: 202.2 kB / 0.562 GB, free: 15.34 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.1475, allocations: 29.7 kB / 0.562 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.1476, allocations: 120 kB / 0.5621 GB, free: 15.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.246e-05/0.1477, allocations: 31.73 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.1477, allocations: 25.72 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1479, allocations: 330.8 kB / 0.5625 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.212e-05/0.148, allocations: 27.98 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.1481, allocations: 75.89 kB / 0.5626 GB, free: 14.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.1483, allocations: 100.2 kB / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1483, allocations: 0 / 0.5627 GB, free: 14.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002902/0.1486, allocations: 141.4 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1486, allocations: 5.719 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1486, allocations: 4.469 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1486, allocations: 0 / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1487, allocations: 27.98 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1487, allocations: 3.938 kB / 0.5629 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.101e-05/0.1488, allocations: 15.94 kB / 0.5629 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1488, allocations: 16.05 kB / 0.5629 GB, free: 14.35 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001324/0.1489, allocations: 129.7 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.149, allocations: 15.91 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.188e-05/0.149, allocations: 21.39 kB / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.149, allocations: 0 / 0.563 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.149, allocations: 7.875 kB / 0.5631 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.149, allocations: 0 / 0.5631 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.1493, allocations: 205.6 kB / 0.5632 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1493, allocations: 4 kB / 0.5633 GB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.153e-05/0.1494, allocations: 15.98 kB / 0.5633 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1494, allocations: 0 / 0.5633 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.1494, allocations: 0 / 0.5633 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.1494, allocations: 8 kB / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1494, allocations: 3.938 kB / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004102/0.1498, allocations: 180.9 kB / 0.5635 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.1498, allocations: 89.11 kB / 0.5635 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1499, allocations: 8 kB / 0.5635 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.277e-05/0.1499, allocations: 7.984 kB / 0.5636 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.15, allocations: 11.88 kB / 0.5636 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.15, allocations: 4 kB / 0.5636 GB, free: 13.55 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.1501, allocations: 144.4 kB / 0.5637 GB, free: 13.41 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1501, allocations: 0 / 0.5637 GB, free: 13.41 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.1504, allocations: 31.92 kB / 0.5637 GB, free: 13.38 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.002139/0.1525, allocations: 1.017 MB / 0.5647 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.1528, allocations: 75.89 kB / 0.5648 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1528, allocations: 256 / 0.5648 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1529, allocations: 35.92 kB / 0.5648 GB, free: 12.37 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1532, allocations: 39.66 kB / 0.5649 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.1555, allocations: 1.768 MB / 0.5666 GB, free: 10.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.1558, allocations: 0.7123 MB / 0.5673 GB, free: 9.715 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.47e-05/0.1559, allocations: 17.8 kB / 0.5673 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.22e-05/0.156, allocations: 43.42 kB / 0.5674 GB, free: 9.656 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.156, allocations: 0 / 0.5674 GB, free: 9.656 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02788/0.1839, allocations: 3.86 MB / 0.5711 GB, free: 5.867 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.916/8.1, allocations: 10.09 kB / 0.5711 GB, free: 5.859 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039976 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.368305105250329] Failed to read output from testmodel.py, exit status != 0: ['time', 'err1.y'] 8.220336684025824 8.234733554 8.088116072 Calling exit ...