Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.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.001413/0.001413, 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.001562/0.001562, allocations: 213.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.287/1.287, allocations: 230.2 MB / 256.2 MB, free: 8.57 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.1982/0.1982, allocations: 46.89 MB / 359.3 MB, free: 4.93 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.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2",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.002079/0.002079, allocations: 75.88 kB / 0.4941 GB, free: 8.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2581, allocations: 65.99 MB / 0.5585 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.00277/0.2609, allocations: 1.741 MB / 0.5602 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.2624, allocations: 1.038 MB / 0.5612 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.2625, allocations: 3.938 kB / 0.5612 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.2627, allocations: 47.7 kB / 0.5613 GB, free: 2.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.263, allocations: 99.53 kB / 0.5614 GB, free: 2.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.2631, allocations: 71.69 kB / 0.5614 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.2633, allocations: 107.7 kB / 0.5615 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.38e-05/0.2634, allocations: 5.828 kB / 0.5615 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.359e-05/0.2635, allocations: 43.78 kB / 0.5616 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.2635, allocations: 35.8 kB / 0.5616 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.2635, allocations: 4 kB / 0.5616 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.867e-05/0.2636, allocations: 39.97 kB / 0.5617 GB, free: 1.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.2637, allocations: 19.92 kB / 0.5617 GB, free: 1.891 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.104e-05/0.2637, allocations: 39.67 kB / 0.5617 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.2639, allocations: 115.6 kB / 0.5618 GB, free: 1.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2639, allocations: 3.938 kB / 0.5618 GB, free: 1.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.2639, allocations: 0 / 0.5618 GB, free: 1.734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.2639, allocations: 0 / 0.5618 GB, free: 1.734 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.0005081/0.2644, allocations: 410.8 kB / 0.5622 GB, free: 1.285 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.2645, allocations: 8.031 kB / 0.5622 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.638e-05/0.2645, allocations: 38.73 kB / 0.5623 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.2645, allocations: 8.891 kB / 0.5623 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.2648, allocations: 215.4 kB / 0.5625 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.2648, allocations: 4.375 kB / 0.5625 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.2648, allocations: 7.938 kB / 0.5625 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.265, allocations: 53.67 kB / 0.5625 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.265, allocations: 0 / 0.5625 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.265, allocations: 0 / 0.5625 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.265, allocations: 0 / 0.5625 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.33e-05/0.2651, allocations: 23.98 kB / 0.5626 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.2654, allocations: 284.8 kB / 0.5628 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.2655, allocations: 62.61 kB / 0.5629 GB, free: 496 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.983e-05/0.2656, allocations: 16.86 kB / 0.5629 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.2656, allocations: 0 / 0.5629 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001448/0.2658, allocations: 71.39 kB / 0.563 GB, free: 392 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.2658, allocations: 4 kB / 0.563 GB, free: 388 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004916/0.2663, allocations: 181.3 kB / 0.5632 GB, free: 200 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.974e-05/0.2663, allocations: 51.41 kB / 0.5632 GB, free: 136 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.2665, allocations: 174.2 kB / 0.5634 GB, free: 15.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2665, allocations: 29.7 kB / 0.5634 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.2665, allocations: 96.14 kB / 0.5635 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.2666, allocations: 27.78 kB / 0.5635 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.99e-05/0.2666, allocations: 25.66 kB / 0.5635 GB, free: 15.76 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2667, allocations: 326.8 kB / 0.5639 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.585e-05/0.2668, allocations: 19.98 kB / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.2669, allocations: 41.64 kB / 0.5639 GB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001189/0.267, allocations: 57.7 kB / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.267, allocations: 0 / 0.564 GB, free: 15.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001852/0.2672, allocations: 113.6 kB / 0.5641 GB, free: 15.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.2672, allocations: 6.344 kB / 0.5641 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.2672, allocations: 0 / 0.5641 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.2672, allocations: 0 / 0.5641 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.354e-05/0.2673, allocations: 19.98 kB / 0.5641 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.2673, allocations: 3.938 kB / 0.5641 GB, free: 15.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.389e-05/0.2673, allocations: 3.938 kB / 0.5641 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.2673, allocations: 8 kB / 0.5641 GB, free: 15.14 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.256e-05/0.2674, allocations: 121.8 kB / 0.5642 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.2674, allocations: 11.95 kB / 0.5642 GB, free: 15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/0.2677, allocations: 118.3 kB / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.2677, allocations: 4 kB / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2677, allocations: 0 / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.714e-06/0.2677, allocations: 3.938 kB / 0.5644 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004119/0.2681, allocations: 383.3 kB / 0.5647 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2681, allocations: 0 / 0.5647 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.314e-05/0.2681, allocations: 11.94 kB / 0.5647 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.2681, allocations: 7.969 kB / 0.5647 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.2681, allocations: 11.98 kB / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2681, allocations: 0 / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2682, allocations: 384 / 0.5648 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.2684, allocations: 196.3 kB / 0.5649 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/0.2684, allocations: 93.02 kB / 0.565 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.2684, allocations: 7.938 kB / 0.565 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.624e-05/0.2685, allocations: 8 kB / 0.565 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.59e-05/0.2685, allocations: 7.984 kB / 0.5651 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.2685, allocations: 7.938 kB / 0.5651 GB, free: 14.06 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.2687, allocations: 132.1 kB / 0.5652 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2687, allocations: 0 / 0.5652 GB, free: 13.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.2689, allocations: 27.92 kB / 0.5652 GB, free: 13.9 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.001947/0.2708, allocations: 1.084 MB / 0.5663 GB, free: 12.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.271, allocations: 59.91 kB / 0.5663 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.271, allocations: 0 / 0.5663 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/0.2711, allocations: 27.92 kB / 0.5664 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.2714, allocations: 35.92 kB / 0.5664 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.273, allocations: 1.601 MB / 0.568 GB, free: 11.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.2733, allocations: 0.7002 MB / 0.5686 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.741e-05/0.2733, allocations: 21.17 kB / 0.5687 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.903e-05/0.2734, allocations: 35.42 kB / 0.5687 GB, free: 10.35 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2734, allocations: 0 / 0.5687 GB, free: 10.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.2966, allocations: 3.342 MB / 0.572 GB, free: 7.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.973/7.27, allocations: 4.062 kB / 0.572 GB, free: 7.023 MB / 414.1 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.780651684995973]