Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.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.001488/0.001488, allocations: 105 kB / 19.74 MB, free: 2.453 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.001647/0.001647, allocations: 216.9 kB / 22.92 MB, free: 5.195 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.304/1.304, allocations: 230.2 MB / 256.1 MB, free: 8.641 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.1989/0.1989, allocations: 46.89 MB / 359.3 MB, free: 5.004 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.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77",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.002111/0.002111, allocations: 79.88 kB / 0.4941 GB, free: 9.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2645, allocations: 65.98 MB / 0.5585 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002992/0.2675, allocations: 1.936 MB / 0.5604 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.2693, allocations: 1.151 MB / 0.5615 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.702e-05/0.2693, allocations: 4 kB / 0.5615 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.2697, allocations: 167.4 kB / 0.5617 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003678/0.27, allocations: 179.3 kB / 0.5619 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.2703, allocations: 119.6 kB / 0.562 GB, free: 1.656 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.2706, allocations: 247.3 kB / 0.5622 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.2707, allocations: 23.44 kB / 0.5622 GB, free: 1.391 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.2708, allocations: 115.6 kB / 0.5623 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.271, allocations: 143.5 kB / 0.5625 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.271, allocations: 8 kB / 0.5625 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.2711, allocations: 63.97 kB / 0.5625 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.901e-05/0.2712, allocations: 47.78 kB / 0.5626 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.451e-05/0.2713, allocations: 91.34 kB / 0.5627 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.2716, allocations: 223 kB / 0.5629 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2716, allocations: 0 / 0.5629 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2716, allocations: 0 / 0.5629 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.2716, allocations: 0 / 0.5629 GB, free: 0.7109 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006981/0.2723, allocations: 0.5508 MB / 0.5634 GB, free: 116 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2723, allocations: 11.97 kB / 0.5634 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.2724, allocations: 42.73 kB / 0.5635 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.2724, allocations: 28.75 kB / 0.5635 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.2728, allocations: 279.8 kB / 0.5638 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.2728, allocations: 4.375 kB / 0.5638 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.2728, allocations: 11.94 kB / 0.5638 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002235/0.273, allocations: 114.2 kB / 0.5639 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.273, allocations: 0 / 0.5639 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.273, allocations: 4 kB / 0.5639 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.2731, allocations: 4 kB / 0.5639 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.2732, allocations: 43.95 kB / 0.5639 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005175/0.2737, allocations: 476.7 kB / 0.5644 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003548/0.2741, allocations: 117.2 kB / 0.5645 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.689e-05/0.2742, allocations: 49.81 kB / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.557e-05/0.2742, allocations: 0 / 0.5646 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.2744, allocations: 120.8 kB / 0.5647 GB, free: 14.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.2744, allocations: 0 / 0.5647 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.0012/0.2756, allocations: 0.5017 MB / 0.5652 GB, free: 14.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.2756, allocations: 81.11 kB / 0.5652 GB, free: 14.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003729/0.276, allocations: 375.3 kB / 0.5656 GB, free: 13.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/0.276, allocations: 33.7 kB / 0.5656 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/0.2761, allocations: 140.5 kB / 0.5658 GB, free: 13.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.2762, allocations: 71.39 kB / 0.5658 GB, free: 13.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.058e-05/0.2763, allocations: 45.7 kB / 0.5659 GB, free: 13.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.2764, allocations: 346.8 kB / 0.5662 GB, free: 13.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.2765, allocations: 51.98 kB / 0.5663 GB, free: 13 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2767, allocations: 99.27 kB / 0.5664 GB, free: 12.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.2769, allocations: 159.5 kB / 0.5665 GB, free: 12.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.2769, allocations: 0 / 0.5665 GB, free: 12.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003756/0.2773, allocations: 241.1 kB / 0.5667 GB, free: 12.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.2773, allocations: 10.5 kB / 0.5667 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2773, allocations: 0 / 0.5667 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2773, allocations: 4 kB / 0.5667 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.2775, allocations: 39.98 kB / 0.5668 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2775, allocations: 16.06 kB / 0.5668 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.559e-05/0.2775, allocations: 7.984 kB / 0.5668 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.592e-05/0.2776, allocations: 12 kB / 0.5668 GB, free: 12.39 MB / 414.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.0001336/0.2777, allocations: 149.8 kB / 0.567 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.598e-05/0.2777, allocations: 35.73 kB / 0.567 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004721/0.2782, allocations: 255.3 kB / 0.5672 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.2782, allocations: 4 kB / 0.5672 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2782, allocations: 0 / 0.5672 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.2782, allocations: 4 kB / 0.5672 GB, free: 11.94 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008306/0.2791, allocations: 0.7155 MB / 0.5679 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2791, allocations: 0 / 0.5679 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.203e-05/0.2791, allocations: 35.92 kB / 0.568 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.2791, allocations: 8.125 kB / 0.568 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.2792, allocations: 7.984 kB / 0.568 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2792, allocations: 7.938 kB / 0.568 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.2792, allocations: 3.938 kB / 0.568 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.2796, allocations: 425.2 kB / 0.5684 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.2797, allocations: 105 kB / 0.5685 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.2797, allocations: 4 kB / 0.5685 GB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.2799, allocations: 11.98 kB / 0.5685 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.2799, allocations: 23.92 kB / 0.5686 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2799, allocations: 8.188 kB / 0.5686 GB, free: 10.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002646/0.2802, allocations: 281.9 kB / 0.5688 GB, free: 10.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2802, allocations: 3.938 kB / 0.5688 GB, free: 10.2 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.2805, allocations: 47.94 kB / 0.5689 GB, free: 10.16 MB / 414.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.00236/0.2829, allocations: 1.356 MB / 0.5702 GB, free: 8.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003133/0.2832, allocations: 155.9 kB / 0.5704 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2832, allocations: 0 / 0.5704 GB, free: 8.789 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001455/0.2833, allocations: 72.09 kB / 0.5704 GB, free: 8.719 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000507/0.2838, allocations: 79.05 kB / 0.5705 GB, free: 8.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002933/0.2868, allocations: 2.718 MB / 0.5732 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.2871, allocations: 0.7597 MB / 0.5739 GB, free: 5.023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.877e-05/0.2872, allocations: 45.92 kB / 0.5739 GB, free: 4.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.2873, allocations: 91.39 kB / 0.574 GB, free: 4.887 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2873, allocations: 0 / 0.574 GB, free: 4.887 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02626/0.3136, allocations: 6.123 MB / 0.58 GB, free: 14.79 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.291/7.605, allocations: 0 / 0.58 GB, free: 14.79 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.179584193989285]