Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.001826/0.001826, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.002792/0.002792, allocations: 218.2 kB / 23 MB, free: 5.617 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.501/1.501, allocations: 230.2 MB / 256.3 MB, free: 8.551 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.2325/0.2325, allocations: 46.89 MB / 359.4 MB, free: 4.906 MB / 286.1 MB " [Timeout remaining time 179] 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.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74",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.002493/0.002493, allocations: 87.84 kB / 0.4942 GB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3449, allocations: 65.98 MB / 0.5587 GB, free: 33.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002635/0.3476, allocations: 1.937 MB / 0.5606 GB, free: 32.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.349, allocations: 1.15 MB / 0.5617 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.946e-05/0.3491, allocations: 3.938 kB / 0.5617 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003954/0.3495, allocations: 258.8 kB / 0.5619 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000372/0.3499, allocations: 230.5 kB / 0.5622 GB, free: 31.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.3501, allocations: 123.1 kB / 0.5623 GB, free: 31.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.3504, allocations: 267.5 kB / 0.5625 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.3505, allocations: 21.78 kB / 0.5625 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3507, allocations: 136.1 kB / 0.5627 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001886/0.3508, allocations: 213.6 kB / 0.5629 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.3509, allocations: 8 kB / 0.5629 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.351, allocations: 60.28 kB / 0.5629 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.887e-05/0.3511, allocations: 67.81 kB / 0.563 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.3511, allocations: 100.6 kB / 0.5631 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.3514, allocations: 255.1 kB / 0.5634 GB, free: 31.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3515, allocations: 0 / 0.5634 GB, free: 31.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3515, allocations: 0 / 0.5634 GB, free: 31.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.3515, allocations: 1.438 kB / 0.5634 GB, free: 31.06 MB / 446.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.00075/0.3522, allocations: 0.5967 MB / 0.5639 GB, free: 30.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/0.3523, allocations: 9.156 kB / 0.5639 GB, free: 30.53 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.04e-05/0.3523, allocations: 37.81 kB / 0.564 GB, free: 30.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.634e-05/0.3524, allocations: 35.62 kB / 0.564 GB, free: 30.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.3527, allocations: 300.3 kB / 0.5643 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.3527, allocations: 10.58 kB / 0.5643 GB, free: 30.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.3528, allocations: 10.28 kB / 0.5643 GB, free: 30.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.353, allocations: 110.8 kB / 0.5644 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.353, allocations: 5.281 kB / 0.5644 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.353, allocations: 6.938 kB / 0.5644 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.353, allocations: 0 / 0.5644 GB, free: 30.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.3532, allocations: 41.8 kB / 0.5645 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004997/0.3537, allocations: 491 kB / 0.5649 GB, free: 29.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003845/0.354, allocations: 119.5 kB / 0.5651 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.753e-05/0.3541, allocations: 39.41 kB / 0.5651 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.3542, allocations: 3.094 kB / 0.5651 GB, free: 29.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.3544, allocations: 126.2 kB / 0.5652 GB, free: 29.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.3544, allocations: 2.969 kB / 0.5652 GB, free: 29.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.001175/0.3556, allocations: 0.5105 MB / 0.5657 GB, free: 29.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.3556, allocations: 82.14 kB / 0.5658 GB, free: 29.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.3561, allocations: 0.4923 MB / 0.5663 GB, free: 28.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.3561, allocations: 36.27 kB / 0.5663 GB, free: 28.93 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.903e-05/0.3562, allocations: 173.2 kB / 0.5665 GB, free: 28.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.07e-05/0.3562, allocations: 66.98 kB / 0.5665 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.3563, allocations: 43.88 kB / 0.5666 GB, free: 28.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.052e-05/0.3563, allocations: 349.8 kB / 0.5669 GB, free: 28.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.3565, allocations: 58.69 kB / 0.567 GB, free: 28.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.3566, allocations: 98.19 kB / 0.5671 GB, free: 28.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.3568, allocations: 163.2 kB / 0.5672 GB, free: 28.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3568, allocations: 0 / 0.5672 GB, free: 28.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003308/0.3571, allocations: 233.3 kB / 0.5674 GB, free: 28.08 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3572, allocations: 9.469 kB / 0.5675 GB, free: 28.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3572, allocations: 6.719 kB / 0.5675 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.3572, allocations: 2.719 kB / 0.5675 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3573, allocations: 43.11 kB / 0.5675 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.3573, allocations: 6.375 kB / 0.5675 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.762e-05/0.3574, allocations: 10.05 kB / 0.5675 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.3574, allocations: 13.09 kB / 0.5675 GB, free: 28.06 MB / 446.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.0001169/0.3575, allocations: 167.1 kB / 0.5677 GB, free: 27.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.3576, allocations: 37.95 kB / 0.5677 GB, free: 27.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004236/0.358, allocations: 275.3 kB / 0.568 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.358, allocations: 7.062 kB / 0.568 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.358, allocations: 0 / 0.568 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.358, allocations: 0 / 0.568 GB, free: 27.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007201/0.3587, allocations: 0.7366 MB / 0.5687 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3587, allocations: 4.125 kB / 0.5687 GB, free: 27.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.3588, allocations: 35.34 kB / 0.5688 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.3588, allocations: 2.969 kB / 0.5688 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3588, allocations: 5.938 kB / 0.5688 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3588, allocations: 0 / 0.5688 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3588, allocations: 6.984 kB / 0.5688 GB, free: 27.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.3592, allocations: 432.1 kB / 0.5692 GB, free: 26.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.123e-05/0.3593, allocations: 106.1 kB / 0.5693 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.3593, allocations: 10.39 kB / 0.5693 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.3594, allocations: 7.188 kB / 0.5693 GB, free: 26.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3595, allocations: 23.78 kB / 0.5693 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.3595, allocations: 12.97 kB / 0.5693 GB, free: 26.79 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004473/0.36, allocations: 378.7 kB / 0.5697 GB, free: 26.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.36, allocations: 0 / 0.5697 GB, free: 26.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003987/0.3604, allocations: 51.89 kB / 0.5697 GB, free: 26.61 MB / 446.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.002594/0.363, allocations: 1.371 MB / 0.5711 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.3633, allocations: 154.3 kB / 0.5712 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3633, allocations: 4.125 kB / 0.5712 GB, free: 25.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.3635, allocations: 73.33 kB / 0.5713 GB, free: 25.55 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.364, allocations: 64.31 kB / 0.5714 GB, free: 25.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003164/0.3672, allocations: 3.019 MB / 0.5743 GB, free: 23.57 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.3675, allocations: 0.785 MB / 0.5751 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001211/0.3676, allocations: 39.81 kB / 0.5751 GB, free: 22.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.3677, allocations: 106 kB / 0.5752 GB, free: 22.78 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3677, allocations: 4 kB / 0.5752 GB, free: 22.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02869/0.3964, allocations: 6.702 MB / 0.5818 GB, free: 21.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/8.863, allocations: 1.531 kB / 0.5818 GB, free: 21.7 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.841799771995284] 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'] 8.992207522998797 9.007818244 8.653207466 Calling exit ...