Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.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.001374/0.001374, allocations: 105.7 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.001534/0.001534, allocations: 214.7 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.293/1.293, allocations: 230.2 MB / 256.2 MB, free: 8.566 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.1962/0.1962, allocations: 46.89 MB / 359.3 MB, free: 4.934 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.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test79,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79",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.002101/0.002101, allocations: 83.86 kB / 0.4941 GB, free: 8.969 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2573, allocations: 65.98 MB / 0.5585 GB, free: 5.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002844/0.2601, allocations: 1.936 MB / 0.5604 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.2618, allocations: 1.151 MB / 0.5615 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.096e-05/0.2618, allocations: 0 / 0.5615 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003966/0.2622, allocations: 223.4 kB / 0.5617 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003876/0.2626, allocations: 223.2 kB / 0.5619 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.2629, allocations: 115.6 kB / 0.5621 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.2631, allocations: 251.4 kB / 0.5623 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.2632, allocations: 27.42 kB / 0.5623 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.2634, allocations: 127.5 kB / 0.5624 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.2636, allocations: 171.4 kB / 0.5626 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.2636, allocations: 8 kB / 0.5626 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.2637, allocations: 67.97 kB / 0.5627 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.426e-05/0.2638, allocations: 55.77 kB / 0.5627 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.2639, allocations: 95.22 kB / 0.5628 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.2642, allocations: 250.8 kB / 0.5631 GB, free: 356 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.2642, allocations: 0 / 0.5631 GB, free: 356 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2642, allocations: 0 / 0.5631 GB, free: 356 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.86e-06/0.2642, allocations: 0 / 0.5631 GB, free: 356 kB / 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.0006934/0.2649, allocations: 0.5779 MB / 0.5636 GB, free: 15.72 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.979e-05/0.2649, allocations: 8.031 kB / 0.5636 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.2649, allocations: 42.73 kB / 0.5637 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.332e-05/0.265, allocations: 32.73 kB / 0.5637 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00032/0.2653, allocations: 292.3 kB / 0.564 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.2653, allocations: 384 / 0.564 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.2653, allocations: 15.94 kB / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.2656, allocations: 115.3 kB / 0.5641 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2656, allocations: 0 / 0.5641 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2656, allocations: 0 / 0.5641 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2656, allocations: 4 kB / 0.5641 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.2657, allocations: 47.95 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.2662, allocations: 480.8 kB / 0.5646 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.2666, allocations: 117.2 kB / 0.5647 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.58e-05/0.2667, allocations: 41.83 kB / 0.5648 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.2667, allocations: 8.062 kB / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.2669, allocations: 116.8 kB / 0.5649 GB, free: 14.28 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.2669, allocations: 0 / 0.5649 GB, free: 14.28 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001203/0.2681, allocations: 0.5123 MB / 0.5654 GB, free: 13.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/0.2681, allocations: 81.11 kB / 0.5655 GB, free: 13.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.2686, allocations: 448.4 kB / 0.5659 GB, free: 13.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.2686, allocations: 33.7 kB / 0.5659 GB, free: 13.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.2687, allocations: 156.5 kB / 0.5661 GB, free: 13.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.264e-05/0.2688, allocations: 71.42 kB / 0.5661 GB, free: 12.94 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/0.2688, allocations: 41.72 kB / 0.5662 GB, free: 12.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.269, allocations: 346.8 kB / 0.5665 GB, free: 12.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.2691, allocations: 59.97 kB / 0.5666 GB, free: 12.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001428/0.2692, allocations: 95.34 kB / 0.5667 GB, free: 12.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.2695, allocations: 163.3 kB / 0.5668 GB, free: 12.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2695, allocations: 3.938 kB / 0.5668 GB, free: 12.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003817/0.2699, allocations: 241.5 kB / 0.5671 GB, free: 11.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.2699, allocations: 4 kB / 0.5671 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.2699, allocations: 0 / 0.5671 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.2699, allocations: 4 kB / 0.5671 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.2701, allocations: 47.91 kB / 0.5671 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.2701, allocations: 4 kB / 0.5671 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.773e-05/0.2701, allocations: 12.02 kB / 0.5671 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2702, allocations: 12 kB / 0.5671 GB, free: 11.88 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.0001448/0.2703, allocations: 161.8 kB / 0.5673 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.2703, allocations: 31.75 kB / 0.5673 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.2708, allocations: 269.2 kB / 0.5676 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2708, allocations: 4 kB / 0.5676 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2708, allocations: 0 / 0.5676 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2708, allocations: 4 kB / 0.5676 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008393/0.2717, allocations: 0.735 MB / 0.5683 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.2717, allocations: 4 kB / 0.5683 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.251e-05/0.2718, allocations: 35.92 kB / 0.5683 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2718, allocations: 3.984 kB / 0.5683 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.2718, allocations: 8.125 kB / 0.5684 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.2718, allocations: 4 kB / 0.5684 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.2718, allocations: 3.938 kB / 0.5684 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000445/0.2722, allocations: 432.9 kB / 0.5688 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.2723, allocations: 104.9 kB / 0.5689 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.2723, allocations: 11.98 kB / 0.5689 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.2725, allocations: 4 kB / 0.5689 GB, free: 9.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.2725, allocations: 20.11 kB / 0.5689 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.2725, allocations: 15.98 kB / 0.5689 GB, free: 9.922 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.2728, allocations: 339 kB / 0.5692 GB, free: 9.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2729, allocations: 4 kB / 0.5693 GB, free: 9.586 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000323/0.2732, allocations: 47.94 kB / 0.5693 GB, free: 9.539 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.0024/0.2756, allocations: 1.353 MB / 0.5706 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003241/0.2759, allocations: 151.8 kB / 0.5708 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2759, allocations: 0 / 0.5708 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.276, allocations: 68.42 kB / 0.5708 GB, free: 8.117 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004909/0.2765, allocations: 75.95 kB / 0.5709 GB, free: 8.055 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.2798, allocations: 2.9 MB / 0.5737 GB, free: 5.027 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.2802, allocations: 0.7813 MB / 0.5745 GB, free: 4.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001056/0.2803, allocations: 41.92 kB / 0.5745 GB, free: 4.18 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001358/0.2804, allocations: 99.39 kB / 0.5746 GB, free: 4.082 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2804, allocations: 0 / 0.5746 GB, free: 4.082 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.3071, allocations: 6.469 MB / 0.5809 GB, free: 13.64 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.367/7.674, allocations: 3.938 kB / 0.581 GB, free: 13.64 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test79.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.231622934006737]