Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.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.001448/0.001448, allocations: 108.5 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.001511/0.001511, allocations: 216.7 kB / 23 MB, free: 5.609 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.469/1.469, allocations: 230.2 MB / 256.2 MB, free: 8.703 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.2347/0.2347, allocations: 46.88 MB / 359.4 MB, free: 4.938 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.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",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.002271/0.002271, allocations: 79.88 kB / 0.4942 GB, free: 8.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3311/0.3334, allocations: 65.99 MB / 0.5586 GB, free: 5.121 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003091/0.3365, allocations: 1.694 MB / 0.5603 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001757/0.3382, allocations: 1.033 MB / 0.5613 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.402e-05/0.3383, allocations: 4 kB / 0.5613 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.3386, allocations: 55.75 kB / 0.5614 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.3389, allocations: 99.58 kB / 0.5615 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.3391, allocations: 71.69 kB / 0.5615 GB, free: 2.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.3393, allocations: 99.67 kB / 0.5616 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.3393, allocations: 8.234 kB / 0.5616 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001025/0.3394, allocations: 47.78 kB / 0.5617 GB, free: 2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/0.3395, allocations: 27.86 kB / 0.5617 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3395, allocations: 7.938 kB / 0.5617 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.769e-05/0.3396, allocations: 39.91 kB / 0.5617 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.3397, allocations: 27.86 kB / 0.5618 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.283e-05/0.3397, allocations: 35.69 kB / 0.5618 GB, free: 1.863 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.3399, allocations: 125.2 kB / 0.5619 GB, free: 1.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.34, allocations: 4 kB / 0.5619 GB, free: 1.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.34, allocations: 0 / 0.5619 GB, free: 1.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.34, allocations: 0 / 0.5619 GB, free: 1.738 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000597/0.3406, allocations: 446.5 kB / 0.5624 GB, free: 1.254 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3406, allocations: 8.031 kB / 0.5624 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.717e-05/0.3407, allocations: 38.62 kB / 0.5624 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.3407, allocations: 12.89 kB / 0.5624 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.341, allocations: 221.1 kB / 0.5626 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.341, allocations: 4.375 kB / 0.5626 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.218e-06/0.341, allocations: 384 / 0.5626 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3412, allocations: 53.8 kB / 0.5627 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.3412, allocations: 0 / 0.5627 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.3412, allocations: 4 kB / 0.5627 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3412, allocations: 0 / 0.5627 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.3413, allocations: 15.98 kB / 0.5627 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002226/0.3415, allocations: 197.6 kB / 0.5629 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001622/0.3416, allocations: 46.62 kB / 0.5629 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.3417, allocations: 20.83 kB / 0.563 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.3417, allocations: 8 kB / 0.563 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001673/0.3419, allocations: 67.33 kB / 0.563 GB, free: 452 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.272e-06/0.3419, allocations: 0 / 0.563 GB, free: 452 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003025/0.3422, allocations: 101.5 kB / 0.5631 GB, free: 344 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.3422, allocations: 51.41 kB / 0.5632 GB, free: 280 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003081/0.3426, allocations: 274.8 kB / 0.5634 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.3426, allocations: 29.7 kB / 0.5635 GB, free: 15.96 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.3426, allocations: 112.1 kB / 0.5636 GB, free: 15.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.121e-05/0.3427, allocations: 19.89 kB / 0.5636 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.3427, allocations: 17.72 kB / 0.5636 GB, free: 15.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3429, allocations: 326.8 kB / 0.5639 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.313e-05/0.343, allocations: 12 kB / 0.5639 GB, free: 15.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.408e-05/0.343, allocations: 33.7 kB / 0.564 GB, free: 15.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001049/0.3431, allocations: 45.64 kB / 0.564 GB, free: 15.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3431, allocations: 0 / 0.564 GB, free: 15.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001809/0.3433, allocations: 93.72 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3433, allocations: 6.656 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3433, allocations: 8.062 kB / 0.5641 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3433, allocations: 0 / 0.5641 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.3434, allocations: 8 kB / 0.5641 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3434, allocations: 0 / 0.5641 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.292e-05/0.3435, allocations: 27.78 kB / 0.5641 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.3435, allocations: 0 / 0.5641 GB, free: 15.23 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001229/0.3436, allocations: 133.8 kB / 0.5643 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.3436, allocations: 19.84 kB / 0.5643 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.3439, allocations: 90.61 kB / 0.5644 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3439, allocations: 4 kB / 0.5644 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3439, allocations: 0 / 0.5644 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3439, allocations: 3.984 kB / 0.5644 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000192/0.3441, allocations: 193.6 kB / 0.5646 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3441, allocations: 7.938 kB / 0.5646 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.084e-05/0.3441, allocations: 4 kB / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3441, allocations: 0 / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3441, allocations: 4 kB / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3441, allocations: 0 / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3441, allocations: 0 / 0.5646 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002165/0.3443, allocations: 113 kB / 0.5647 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.3444, allocations: 92.89 kB / 0.5648 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.3444, allocations: 8 kB / 0.5648 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.881e-05/0.3444, allocations: 3.984 kB / 0.5648 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.457e-05/0.3445, allocations: 4 kB / 0.5648 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.3445, allocations: 0 / 0.5648 GB, free: 14.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.3447, allocations: 208.6 kB / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3447, allocations: 0 / 0.565 GB, free: 14.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000222/0.3449, allocations: 15.94 kB / 0.565 GB, free: 14.24 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001969/0.3469, allocations: 0.9585 MB / 0.5659 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.347, allocations: 39.92 kB / 0.566 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.347, allocations: 0 / 0.566 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.354e-05/0.3471, allocations: 19.98 kB / 0.566 GB, free: 13.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.3474, allocations: 30.14 kB / 0.566 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.3493, allocations: 1.702 MB / 0.5677 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.3497, allocations: 0.7165 MB / 0.5684 GB, free: 10.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.441e-05/0.3497, allocations: 24.45 kB / 0.5684 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.58e-05/0.3498, allocations: 39.42 kB / 0.5684 GB, free: 10.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3498, allocations: 0 / 0.5684 GB, free: 10.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02568/0.3755, allocations: 3.488 MB / 0.5719 GB, free: 7.246 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.201/8.577, allocations: 25.84 kB / 0.5719 GB, free: 7.227 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.397399481007596] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]'] 8.701551375997951 8.716956588 8.374142999 Calling exit ...