Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.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.001425/0.001425, allocations: 105 kB / 19.74 MB, free: 2.566 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.001584/0.001584, allocations: 214.5 kB / 22.92 MB, free: 5.535 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.291/1.291, allocations: 230.2 MB / 256.1 MB, free: 8.773 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.197/0.197, allocations: 46.89 MB / 359.3 MB, free: 4.984 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.Test55,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55",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.00213/0.00213, allocations: 87.84 kB / 0.4941 GB, free: 9.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2618, allocations: 65.98 MB / 0.5585 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002991/0.2648, allocations: 1.737 MB / 0.5602 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.2671, allocations: 1.711 MB / 0.5619 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.2672, allocations: 0 / 0.5619 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000228/0.2674, allocations: 39.77 kB / 0.5619 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000278/0.2677, allocations: 99.53 kB / 0.562 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001766/0.2679, allocations: 79.66 kB / 0.5621 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.268, allocations: 107.7 kB / 0.5622 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.879e-05/0.2681, allocations: 13.81 kB / 0.5622 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.958e-05/0.2682, allocations: 51.78 kB / 0.5622 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.2683, allocations: 39.83 kB / 0.5623 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.2683, allocations: 4 kB / 0.5623 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.2685, allocations: 115.9 kB / 0.5624 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.2686, allocations: 15.92 kB / 0.5624 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.003e-05/0.2686, allocations: 31.81 kB / 0.5624 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002617/0.2689, allocations: 171.3 kB / 0.5626 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2689, allocations: 0 / 0.5626 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2689, allocations: 7.938 kB / 0.5626 GB, free: 0.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.688e-06/0.2689, allocations: 0 / 0.5626 GB, free: 0.832 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005456/0.2694, allocations: 430.6 kB / 0.563 GB, free: 372 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.2695, allocations: 8.031 kB / 0.563 GB, free: 364 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.2695, allocations: 30.75 kB / 0.5631 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.2695, allocations: 16.84 kB / 0.5631 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.2698, allocations: 212.1 kB / 0.5633 GB, free: 60 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.2698, allocations: 4 kB / 0.5633 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.2698, allocations: 0 / 0.5633 GB, free: 56 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001754/0.27, allocations: 87.31 kB / 0.5634 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.27, allocations: 3.938 kB / 0.5634 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.27, allocations: 3.938 kB / 0.5634 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.27, allocations: 4 kB / 0.5634 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.946e-05/0.2701, allocations: 15.98 kB / 0.5634 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.2705, allocations: 280.9 kB / 0.5637 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.2706, allocations: 66.61 kB / 0.5637 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.265e-05/0.2707, allocations: 20.84 kB / 0.5637 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.2707, allocations: 0 / 0.5637 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.2708, allocations: 63.39 kB / 0.5638 GB, free: 15.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 3.036e-06/0.2708, allocations: 8 kB / 0.5638 GB, free: 15.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004959/0.2713, allocations: 173.3 kB / 0.564 GB, free: 15.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.2714, allocations: 85.05 kB / 0.5641 GB, free: 15.15 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.2716, allocations: 165.7 kB / 0.5642 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.889e-05/0.2716, allocations: 25.7 kB / 0.5642 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.598e-05/0.2716, allocations: 96.14 kB / 0.5643 GB, free: 14.85 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.2717, allocations: 31.73 kB / 0.5644 GB, free: 14.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.2717, allocations: 21.72 kB / 0.5644 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.2718, allocations: 326.8 kB / 0.5647 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.2719, allocations: 27.92 kB / 0.5647 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.661e-05/0.272, allocations: 38.56 kB / 0.5648 GB, free: 14.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2721, allocations: 57.7 kB / 0.5648 GB, free: 14.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.2721, allocations: 0 / 0.5648 GB, free: 14.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001855/0.2723, allocations: 105.6 kB / 0.5649 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.2723, allocations: 8 kB / 0.5649 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2723, allocations: 0 / 0.5649 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.2723, allocations: 0 / 0.5649 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-05/0.2724, allocations: 19.92 kB / 0.5649 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2724, allocations: 0 / 0.5649 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.659e-05/0.2724, allocations: 7.938 kB / 0.5649 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.2724, allocations: 8 kB / 0.565 GB, free: 14.17 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 (10): * Single equations (assignments): 10 * 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 9.254e-05/0.2725, allocations: 117.8 kB / 0.5651 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.093e-05/0.2726, allocations: 15.98 kB / 0.5651 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.2728, allocations: 114.5 kB / 0.5652 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.2728, allocations: 7.922 kB / 0.5652 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.2728, allocations: 0 / 0.5652 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2728, allocations: 384 / 0.5652 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.2732, allocations: 399.4 kB / 0.5656 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.2732, allocations: 11.94 kB / 0.5656 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.197e-05/0.2733, allocations: 11.88 kB / 0.5656 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2733, allocations: 8.031 kB / 0.5656 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.2733, allocations: 0 / 0.5656 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2733, allocations: 0 / 0.5656 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2733, allocations: 4 kB / 0.5656 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.2735, allocations: 200.3 kB / 0.5658 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.2736, allocations: 85 kB / 0.5659 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.2736, allocations: 4 kB / 0.5659 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.431e-05/0.2737, allocations: 8 kB / 0.5659 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.2737, allocations: 7.984 kB / 0.5659 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.2737, allocations: 4 kB / 0.5659 GB, free: 13.08 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.2738, allocations: 127.2 kB / 0.566 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2738, allocations: 0 / 0.566 GB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002811/0.2741, allocations: 47.86 kB / 0.5661 GB, free: 12.91 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 (8): * Single equations (assignments): 6 * 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.002172/0.2763, allocations: 1.183 MB / 0.5672 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001724/0.2764, allocations: 59.91 kB / 0.5673 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2764, allocations: 0 / 0.5673 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.761e-05/0.2765, allocations: 27.92 kB / 0.5673 GB, free: 11.8 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.2768, allocations: 33.2 kB / 0.5673 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.2784, allocations: 1.593 MB / 0.5689 GB, free: 10.09 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.2787, allocations: 0.7002 MB / 0.5696 GB, free: 9.359 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.2788, allocations: 21.11 kB / 0.5696 GB, free: 9.336 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.472e-05/0.2789, allocations: 43.41 kB / 0.5696 GB, free: 9.293 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2789, allocations: 0 / 0.5696 GB, free: 9.293 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02731/0.3062, allocations: 4.029 MB / 0.5736 GB, free: 5.258 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.154/7.46, allocations: 6.406 kB / 0.5736 GB, free: 5.254 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.011277283003437]