Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.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.001784/0.001784, 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.002184/0.002184, 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.436/1.436, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2352/0.2352, 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.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21",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.002289/0.002289, allocations: 83.86 kB / 0.4917 GB, free: 7.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1239, allocations: 66.05 MB / 0.5562 GB, free: 5.484 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003183/0.1271, allocations: 1.732 MB / 0.5579 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1287, allocations: 1.034 MB / 0.5589 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.1288, allocations: 3.938 kB / 0.559 GB, free: 2.691 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.1291, allocations: 35.84 kB / 0.559 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.1294, allocations: 99.53 kB / 0.5591 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.1295, allocations: 79.66 kB / 0.5592 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.1297, allocations: 107.7 kB / 0.5593 GB, free: 2.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.203e-05/0.1298, allocations: 8 kB / 0.5593 GB, free: 2.367 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.103e-05/0.1299, allocations: 51.77 kB / 0.5593 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.526e-05/0.13, allocations: 35.8 kB / 0.5594 GB, free: 2.281 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.13, allocations: 4 kB / 0.5594 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.432e-05/0.1301, allocations: 43.98 kB / 0.5594 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.1301, allocations: 23.91 kB / 0.5594 GB, free: 2.211 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.05e-05/0.1302, allocations: 35.73 kB / 0.5595 GB, free: 2.176 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.1304, allocations: 119.4 kB / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1304, allocations: 0 / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1304, allocations: 0 / 0.5596 GB, free: 2.059 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1304, allocations: 0 / 0.5596 GB, free: 2.059 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.0005487/0.131, allocations: 430.6 kB / 0.56 GB, free: 1.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.131, allocations: 8.031 kB / 0.56 GB, free: 1.582 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.113e-05/0.131, allocations: 34.75 kB / 0.56 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.619e-05/0.1311, allocations: 8.891 kB / 0.56 GB, free: 1.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1314, allocations: 216.8 kB / 0.5602 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-06/0.1314, allocations: 384 / 0.5602 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.1314, allocations: 4.375 kB / 0.5602 GB, free: 1.277 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1315, allocations: 57.8 kB / 0.5603 GB, free: 1.215 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1315, allocations: 3.938 kB / 0.5603 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.1315, allocations: 4 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1315, allocations: 0 / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.073e-05/0.1316, allocations: 23.92 kB / 0.5603 GB, free: 1.184 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.132, allocations: 292.8 kB / 0.5606 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1322, allocations: 58.66 kB / 0.5607 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.586e-05/0.1322, allocations: 24.84 kB / 0.5607 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.1322, allocations: 3.938 kB / 0.5607 GB, free: 0.75 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001435/0.1324, allocations: 67.39 kB / 0.5608 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.1324, allocations: 0 / 0.5608 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005505/0.1329, allocations: 173.3 kB / 0.5609 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.133, allocations: 51.41 kB / 0.561 GB, free: 444 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.1332, allocations: 202.4 kB / 0.5612 GB, free: 232 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1332, allocations: 25.7 kB / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.1332, allocations: 100.1 kB / 0.5613 GB, free: 96 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.1333, allocations: 27.78 kB / 0.5613 GB, free: 68 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.1333, allocations: 29.7 kB / 0.5613 GB, free: 32 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.1335, allocations: 326.8 kB / 0.5616 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.208e-05/0.1335, allocations: 20 kB / 0.5617 GB, free: 15.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.929e-05/0.1336, allocations: 38.08 kB / 0.5617 GB, free: 15.64 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.1337, allocations: 61.7 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1338, allocations: 0 / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001966/0.1339, allocations: 109.5 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.134, allocations: 4 kB / 0.5619 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.134, allocations: 7.984 kB / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.134, allocations: 0 / 0.5619 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.471e-05/0.1341, allocations: 12 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1341, allocations: 4.031 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.491e-05/0.1341, allocations: 4 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.1341, allocations: 7.984 kB / 0.5619 GB, free: 15.42 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.0001047/0.1342, allocations: 125.8 kB / 0.562 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.1343, allocations: 11.91 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.804e-05/0.1343, allocations: 21.39 kB / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1343, allocations: 0 / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1343, allocations: 0 / 0.5621 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1343, allocations: 7.938 kB / 0.5621 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.1348, allocations: 391.5 kB / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1348, allocations: 0 / 0.5624 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.1348, allocations: 19.86 kB / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1348, allocations: 3.938 kB / 0.5625 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.1348, allocations: 8 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1348, allocations: 3.938 kB / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1348, allocations: 0 / 0.5625 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/0.1351, allocations: 196.4 kB / 0.5627 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.396e-05/0.1352, allocations: 89.02 kB / 0.5627 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.1352, allocations: 7.984 kB / 0.5627 GB, free: 14.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.1353, allocations: 7.938 kB / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1353, allocations: 11.92 kB / 0.5628 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.1353, allocations: 7.984 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.1355, allocations: 148.2 kB / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1355, allocations: 0 / 0.5629 GB, free: 14.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002647/0.1357, allocations: 27.92 kB / 0.5629 GB, free: 14.24 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.002114/0.1379, allocations: 1.089 MB / 0.564 GB, free: 13.29 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.138, allocations: 59.84 kB / 0.5641 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.138, allocations: 0 / 0.5641 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.158e-05/0.1381, allocations: 27.92 kB / 0.5641 GB, free: 13.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.1385, allocations: 32.11 kB / 0.5641 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001885/0.1403, allocations: 1.666 MB / 0.5657 GB, free: 11.41 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.1407, allocations: 0.7002 MB / 0.5664 GB, free: 10.69 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.9e-05/0.1407, allocations: 21.19 kB / 0.5665 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.053e-05/0.1408, allocations: 39.42 kB / 0.5665 GB, free: 10.63 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1408, allocations: 0 / 0.5665 GB, free: 10.63 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02428/0.1651, allocations: 3.487 MB / 0.5699 GB, free: 7.211 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.109/8.274, allocations: 6.75 kB / 0.5699 GB, free: 7.207 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004995 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test21.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.231057069730014] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y'] 8.395152753219008 8.412558108 8.27871525 Calling exit ...