Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.001738/0.001738, allocations: 120 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.002106/0.002106, allocations: 213.6 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.485/1.485, allocations: 230.4 MB / 254.7 MB, free: 15.05 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.2341/0.2341, allocations: 46.93 MB / 357.7 MB, free: 10.22 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.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",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.002277/0.002277, allocations: 83.86 kB / 0.4918 GB, free: 7.664 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1282, allocations: 66.04 MB / 0.5563 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.003399/0.1316, allocations: 1.933 MB / 0.5581 GB, free: 3.539 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.1336, allocations: 1.142 MB / 0.5593 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.915e-05/0.1337, allocations: 3.938 kB / 0.5593 GB, free: 2.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.1341, allocations: 227.4 kB / 0.5595 GB, free: 2.164 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004536/0.1346, allocations: 215.2 kB / 0.5597 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1349, allocations: 119.6 kB / 0.5598 GB, free: 1.836 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.1352, allocations: 255.3 kB / 0.56 GB, free: 1.586 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1353, allocations: 17.67 kB / 0.5601 GB, free: 1.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.1355, allocations: 127.6 kB / 0.5602 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.1357, allocations: 175.4 kB / 0.5603 GB, free: 1.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1358, allocations: 8 kB / 0.5604 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1359, allocations: 63.98 kB / 0.5604 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.136, allocations: 67.69 kB / 0.5605 GB, free: 1.133 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001004/0.1361, allocations: 87.3 kB / 0.5606 GB, free: 1.047 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.1365, allocations: 246.8 kB / 0.5608 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1365, allocations: 0 / 0.5608 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1365, allocations: 0 / 0.5608 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.1365, allocations: 0 / 0.5608 GB, free: 0.8047 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008242/0.1373, allocations: 0.5794 MB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.1374, allocations: 8.031 kB / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.755e-05/0.1374, allocations: 46.73 kB / 0.5614 GB, free: 116 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.485e-05/0.1375, allocations: 28.75 kB / 0.5614 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.1379, allocations: 292.2 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.1379, allocations: 4.375 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.089e-05/0.138, allocations: 8.375 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000257/0.1382, allocations: 112.9 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1382, allocations: 0 / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1383, allocations: 4 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1383, allocations: 4 kB / 0.5618 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001403/0.1384, allocations: 51.89 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006248/0.139, allocations: 476.7 kB / 0.5624 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.1394, allocations: 121.2 kB / 0.5625 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.1395, allocations: 37.83 kB / 0.5625 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.1396, allocations: 7.938 kB / 0.5625 GB, free: 14.87 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002482/0.1398, allocations: 124.1 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.492e-06/0.1398, allocations: 0 / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001388/0.1412, allocations: 0.5015 MB / 0.5631 GB, free: 14.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.1412, allocations: 81.11 kB / 0.5632 GB, free: 14.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/0.1417, allocations: 444.5 kB / 0.5636 GB, free: 13.68 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.1418, allocations: 33.7 kB / 0.5637 GB, free: 13.64 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.1419, allocations: 168.4 kB / 0.5638 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/0.142, allocations: 67.42 kB / 0.5639 GB, free: 13.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.056e-05/0.142, allocations: 45.7 kB / 0.5639 GB, free: 13.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.1422, allocations: 346.8 kB / 0.5643 GB, free: 13 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.1423, allocations: 55.97 kB / 0.5643 GB, free: 12.95 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001584/0.1425, allocations: 95.28 kB / 0.5644 GB, free: 12.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.1428, allocations: 167.5 kB / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1428, allocations: 4 kB / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004494/0.1433, allocations: 225.3 kB / 0.5648 GB, free: 12.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.1433, allocations: 4 kB / 0.5648 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1433, allocations: 7.938 kB / 0.5648 GB, free: 12.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1433, allocations: 8.047 kB / 0.5648 GB, free: 12.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.1435, allocations: 47.91 kB / 0.5648 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1435, allocations: 0 / 0.5648 GB, free: 12.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/0.1436, allocations: 11.95 kB / 0.5649 GB, free: 12.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.1436, allocations: 12 kB / 0.5649 GB, free: 12.34 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000179/0.1438, allocations: 169.7 kB / 0.565 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.948e-05/0.1438, allocations: 35.8 kB / 0.5651 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.605e-05/0.1439, allocations: 42.75 kB / 0.5651 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.1439, allocations: 8 kB / 0.5651 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.1439, allocations: 0 / 0.5651 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1439, allocations: 0 / 0.5651 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.145, allocations: 0.735 MB / 0.5658 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.145, allocations: 3.938 kB / 0.5658 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.084e-05/0.145, allocations: 36.11 kB / 0.5659 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1451, allocations: 4 kB / 0.5659 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1451, allocations: 4 kB / 0.5659 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.1451, allocations: 4 kB / 0.5659 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.1451, allocations: 7.922 kB / 0.5659 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.1456, allocations: 421.9 kB / 0.5663 GB, free: 10.78 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.1458, allocations: 104.9 kB / 0.5664 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.924e-05/0.1459, allocations: 11.98 kB / 0.5664 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.146, allocations: 4 kB / 0.5664 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.703e-05/0.1461, allocations: 27.84 kB / 0.5664 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.443e-05/0.1461, allocations: 12 kB / 0.5664 GB, free: 10.6 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003869/0.1465, allocations: 335 kB / 0.5668 GB, free: 10.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1465, allocations: 0 / 0.5668 GB, free: 10.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003646/0.1468, allocations: 51.92 kB / 0.5668 GB, free: 10.22 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.002723/0.1496, allocations: 1.361 MB / 0.5681 GB, free: 9.016 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003956/0.15, allocations: 147.8 kB / 0.5683 GB, free: 8.871 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.15, allocations: 128 / 0.5683 GB, free: 8.871 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.1501, allocations: 79.84 kB / 0.5684 GB, free: 8.793 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.1507, allocations: 61.75 kB / 0.5684 GB, free: 8.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00369/0.1544, allocations: 2.888 MB / 0.5712 GB, free: 5.727 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.1548, allocations: 0.7753 MB / 0.572 GB, free: 4.926 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001186/0.155, allocations: 37.92 kB / 0.572 GB, free: 4.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001554/0.1551, allocations: 99.39 kB / 0.5721 GB, free: 4.789 MB / 430.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1551, allocations: 0 / 0.5721 GB, free: 4.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.1847, allocations: 6.478 MB / 0.5784 GB, free: 14.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.921/9.106, allocations: 11.98 kB / 0.5785 GB, free: 14.36 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.341072495095432] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 't_new_2.y[1]', 'd_t_new_2.y', 'd2_t_new.y', 'd2_t_new_2.y'] 9.231485797092319 9.256260391 9.115387291 Calling exit ...