Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.001386/0.001386, allocations: 105 kB / 19.74 MB, free: 2.562 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.001523/0.001523, allocations: 216.8 kB / 22.92 MB, free: 5.551 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.3/1.3, allocations: 230.2 MB / 256.1 MB, free: 8.609 MB / 206.1 MB " [Timeout remaining time 179] 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.1976/0.1976, allocations: 46.89 MB / 359.3 MB, free: 4.953 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.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",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.002184/0.002184, allocations: 88.14 kB / 0.4941 GB, free: 9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2557, allocations: 65.99 MB / 0.5585 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002703/0.2584, allocations: 1.741 MB / 0.5602 GB, free: 3.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.2605, allocations: 1.715 MB / 0.5619 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.239e-05/0.2605, allocations: 4 kB / 0.5619 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.2608, allocations: 35.77 kB / 0.5619 GB, free: 1.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.261, allocations: 103.5 kB / 0.562 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.2612, allocations: 71.69 kB / 0.5621 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.2614, allocations: 119.7 kB / 0.5622 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.793e-05/0.2615, allocations: 9.828 kB / 0.5622 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.101e-05/0.2615, allocations: 47.78 kB / 0.5623 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001399/0.2617, allocations: 51.77 kB / 0.5623 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.2617, allocations: 4 kB / 0.5623 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.2619, allocations: 107.9 kB / 0.5624 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.2619, allocations: 27.91 kB / 0.5624 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.071e-05/0.262, allocations: 43.67 kB / 0.5625 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.2622, allocations: 171.4 kB / 0.5626 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.2622, allocations: 0 / 0.5626 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2622, allocations: 0 / 0.5626 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.2622, allocations: 0 / 0.5626 GB, free: 0.9102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005275/0.2627, allocations: 442.5 kB / 0.5631 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.021e-05/0.2628, allocations: 8.031 kB / 0.5631 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.973e-05/0.2628, allocations: 38.75 kB / 0.5631 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.2629, allocations: 12.89 kB / 0.5631 GB, free: 372 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.2631, allocations: 221.3 kB / 0.5633 GB, free: 112 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.2631, allocations: 4.375 kB / 0.5633 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.2631, allocations: 7.938 kB / 0.5633 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.2633, allocations: 75.38 kB / 0.5634 GB, free: 12 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2633, allocations: 3.953 kB / 0.5634 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.2633, allocations: 0 / 0.5634 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.2633, allocations: 0 / 0.5634 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.2634, allocations: 32.06 kB / 0.5634 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003447/0.2638, allocations: 308.6 kB / 0.5637 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.264, allocations: 62.67 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.264, allocations: 24.86 kB / 0.5638 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.264, allocations: 3.938 kB / 0.5638 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.2642, allocations: 79.31 kB / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.2642, allocations: 0 / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005305/0.2647, allocations: 197.3 kB / 0.5641 GB, free: 15.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/0.2648, allocations: 77.11 kB / 0.5642 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.2649, allocations: 174.2 kB / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.2649, allocations: 25.7 kB / 0.5644 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.265, allocations: 104.1 kB / 0.5645 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.265, allocations: 35.8 kB / 0.5645 GB, free: 14.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.2651, allocations: 25.72 kB / 0.5645 GB, free: 14.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2652, allocations: 322.8 kB / 0.5648 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.294e-05/0.2653, allocations: 23.98 kB / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.2653, allocations: 46.56 kB / 0.5649 GB, free: 14.35 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.2655, allocations: 73.67 kB / 0.565 GB, free: 14.27 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.2655, allocations: 0 / 0.565 GB, free: 14.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002052/0.2657, allocations: 117.5 kB / 0.5651 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.2657, allocations: 8 kB / 0.5651 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2657, allocations: 0 / 0.5651 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/0.2657, allocations: 0 / 0.5651 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.2658, allocations: 20.17 kB / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2658, allocations: 3.938 kB / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.2659, allocations: 15.91 kB / 0.5651 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.2659, allocations: 8 kB / 0.5651 GB, free: 14.1 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 (11): * Single equations (assignments): 11 * 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 8.977e-05/0.2659, allocations: 117.8 kB / 0.5652 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.266, allocations: 11.95 kB / 0.5653 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002561/0.2662, allocations: 130.8 kB / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2662, allocations: 0 / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2662, allocations: 0 / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2662, allocations: 7.875 kB / 0.5654 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.2667, allocations: 423.2 kB / 0.5658 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2667, allocations: 0 / 0.5658 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.917e-05/0.2668, allocations: 15.98 kB / 0.5658 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.2668, allocations: 3.938 kB / 0.5658 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.2668, allocations: 4 kB / 0.5658 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2668, allocations: 4 kB / 0.5658 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2668, allocations: 0 / 0.5658 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.267, allocations: 220.3 kB / 0.566 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.2671, allocations: 89 kB / 0.5661 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.2671, allocations: 11.94 kB / 0.5661 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.2672, allocations: 4 kB / 0.5661 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.819e-05/0.2672, allocations: 7.984 kB / 0.5661 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.2672, allocations: 4 kB / 0.5661 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.2673, allocations: 136 kB / 0.5663 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2673, allocations: 0 / 0.5663 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002769/0.2676, allocations: 51.86 kB / 0.5663 GB, free: 12.77 MB / 414.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 (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.002164/0.2698, allocations: 1.197 MB / 0.5675 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001856/0.2699, allocations: 59.92 kB / 0.5675 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.27, allocations: 0 / 0.5675 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.305e-05/0.27, allocations: 27.98 kB / 0.5676 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.2703, allocations: 35.97 kB / 0.5676 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.272, allocations: 1.66 MB / 0.5692 GB, free: 9.859 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.2723, allocations: 0.7006 MB / 0.5699 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.599e-05/0.2724, allocations: 24.42 kB / 0.5699 GB, free: 9.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.049e-05/0.2725, allocations: 43.41 kB / 0.57 GB, free: 9.066 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2725, allocations: 0 / 0.57 GB, free: 9.066 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02709/0.2996, allocations: 4.194 MB / 0.5741 GB, free: 4.863 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.292/7.591, allocations: 11.81 kB / 0.5741 GB, free: 4.855 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.156958758001565]