Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.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.001424/0.001424, 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.00148/0.00148, allocations: 215 kB / 22.92 MB, free: 5.191 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.621 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.2005/0.2005, allocations: 46.89 MB / 359.3 MB, free: 4.992 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.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",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.00212/0.00212, allocations: 92.19 kB / 0.494 GB, free: 9.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2588, allocations: 65.99 MB / 0.5585 GB, free: 5.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002956/0.2618, allocations: 1.976 MB / 0.5604 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2636, allocations: 1.217 MB / 0.5616 GB, free: 2.008 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.089e-05/0.2637, allocations: 7.938 kB / 0.5616 GB, free: 2 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005638/0.2642, allocations: 199.4 kB / 0.5618 GB, free: 1.805 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003999/0.2646, allocations: 211.2 kB / 0.562 GB, free: 1.598 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003355/0.265, allocations: 147.6 kB / 0.5621 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000296/0.2653, allocations: 271.2 kB / 0.5624 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.017e-05/0.2654, allocations: 20.3 kB / 0.5624 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.2655, allocations: 119.5 kB / 0.5625 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.2657, allocations: 111.6 kB / 0.5626 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.2657, allocations: 12 kB / 0.5627 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.2658, allocations: 63.89 kB / 0.5627 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.53e-05/0.2659, allocations: 55.77 kB / 0.5628 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.644e-05/0.266, allocations: 87.41 kB / 0.5628 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.2663, allocations: 252.7 kB / 0.5631 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2663, allocations: 0 / 0.5631 GB, free: 492 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2663, allocations: 4 kB / 0.5631 GB, free: 488 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2663, allocations: 4 kB / 0.5631 GB, free: 484 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007678/0.2671, allocations: 0.558 MB / 0.5636 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2671, allocations: 12.03 kB / 0.5637 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.893e-05/0.2672, allocations: 34.75 kB / 0.5637 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.353e-05/0.2672, allocations: 24.8 kB / 0.5637 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.2676, allocations: 299.7 kB / 0.564 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.2676, allocations: 8.375 kB / 0.564 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.594e-05/0.2676, allocations: 7.938 kB / 0.564 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002068/0.2678, allocations: 104.2 kB / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.2678, allocations: 0 / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2678, allocations: 0 / 0.5641 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2678, allocations: 3.984 kB / 0.5641 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.2679, allocations: 39.92 kB / 0.5642 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.2684, allocations: 381.6 kB / 0.5645 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.2687, allocations: 113.2 kB / 0.5646 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.48e-05/0.2688, allocations: 41.7 kB / 0.5647 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.924e-05/0.2688, allocations: 0 / 0.5647 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002105/0.269, allocations: 124.9 kB / 0.5648 GB, free: 14.53 MB / 414.1 MB Notification: Performance of pre-optimization done (n=11): time 1.192e-06/0.269, allocations: 0 / 0.5648 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004313/0.2694, allocations: 177.8 kB / 0.565 GB, free: 14.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.2695, allocations: 110.8 kB / 0.5651 GB, free: 14.22 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003656/0.2699, allocations: 351.3 kB / 0.5654 GB, free: 13.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.2699, allocations: 29.7 kB / 0.5654 GB, free: 13.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.27, allocations: 140.1 kB / 0.5656 GB, free: 13.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.27, allocations: 39.8 kB / 0.5656 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.899e-05/0.2701, allocations: 25.72 kB / 0.5656 GB, free: 13.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.2702, allocations: 346.7 kB / 0.5659 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.943e-05/0.2703, allocations: 36.11 kB / 0.566 GB, free: 13.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.2704, allocations: 76.23 kB / 0.5661 GB, free: 13.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.2706, allocations: 99.34 kB / 0.5662 GB, free: 13.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2706, allocations: 4.031 kB / 0.5662 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002771/0.2709, allocations: 145.4 kB / 0.5663 GB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2709, allocations: 4 kB / 0.5663 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2709, allocations: 7.984 kB / 0.5663 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2709, allocations: 3.984 kB / 0.5663 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.271, allocations: 20 kB / 0.5663 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.271, allocations: 0 / 0.5663 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.931e-05/0.2711, allocations: 23.81 kB / 0.5664 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.2711, allocations: 8.062 kB / 0.5664 GB, free: 12.82 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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001363/0.2713, allocations: 157.7 kB / 0.5665 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.805e-05/0.2713, allocations: 27.81 kB / 0.5665 GB, free: 12.63 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.2717, allocations: 163.5 kB / 0.5667 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2717, allocations: 0 / 0.5667 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.2717, allocations: 4 kB / 0.5667 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.2717, allocations: 7.922 kB / 0.5667 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.2719, allocations: 249.5 kB / 0.5669 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2719, allocations: 7.938 kB / 0.5669 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.2719, allocations: 4 kB / 0.567 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.272, allocations: 7.984 kB / 0.567 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.272, allocations: 4 kB / 0.567 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.272, allocations: 0 / 0.567 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.272, allocations: 4 kB / 0.567 GB, free: 12.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.2723, allocations: 181.6 kB / 0.5671 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.607e-05/0.2724, allocations: 108.9 kB / 0.5672 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.2724, allocations: 4 kB / 0.5672 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.2725, allocations: 7.984 kB / 0.5673 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.2725, allocations: 11.94 kB / 0.5673 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.2725, allocations: 11.98 kB / 0.5673 GB, free: 11.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002682/0.2728, allocations: 253.9 kB / 0.5675 GB, free: 11.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2728, allocations: 4 kB / 0.5675 GB, free: 11.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.273, allocations: 35.98 kB / 0.5676 GB, free: 11.48 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001947/0.275, allocations: 1.044 MB / 0.5686 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.2753, allocations: 83.89 kB / 0.5687 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2753, allocations: 4.125 kB / 0.5687 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.2754, allocations: 43.92 kB / 0.5687 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.2757, allocations: 70.05 kB / 0.5688 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00271/0.2784, allocations: 2.345 MB / 0.5711 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.2788, allocations: 0.7519 MB / 0.5718 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.897e-05/0.2789, allocations: 33.92 kB / 0.5718 GB, free: 7.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.279, allocations: 75.39 kB / 0.5719 GB, free: 7.023 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.279, allocations: 0 / 0.5719 GB, free: 7.023 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02688/0.3059, allocations: 5.809 MB / 0.5776 GB, free: 1.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/7.562, allocations: 14.69 kB / 0.5776 GB, free: 1.23 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.csv --start-time 1 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039984 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.103948092000792]