Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.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.001197/0.001197, allocations: 105.5 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.001358/0.001358, allocations: 221.7 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.306/1.306, allocations: 230.2 MB / 256.1 MB, free: 8.754 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.1946/0.1946, 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.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41",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.002089/0.002089, allocations: 83.88 kB / 0.4941 GB, free: 9.023 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.261, allocations: 65.98 MB / 0.5585 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00282/0.2638, allocations: 1.753 MB / 0.5602 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.2654, allocations: 1.042 MB / 0.5612 GB, free: 2.379 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.552e-05/0.2654, allocations: 7.875 kB / 0.5612 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.2657, allocations: 83.7 kB / 0.5613 GB, free: 2.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.266, allocations: 107.6 kB / 0.5614 GB, free: 2.184 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.2662, allocations: 83.66 kB / 0.5615 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.2664, allocations: 115.7 kB / 0.5616 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.453e-05/0.2664, allocations: 9.828 kB / 0.5616 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.572e-05/0.2665, allocations: 59.75 kB / 0.5617 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2666, allocations: 63.75 kB / 0.5617 GB, free: 1.859 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.428e-05/0.2667, allocations: 7.938 kB / 0.5617 GB, free: 1.852 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.385e-05/0.2668, allocations: 43.98 kB / 0.5618 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.711e-05/0.2668, allocations: 23.92 kB / 0.5618 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.2669, allocations: 43.66 kB / 0.5618 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.2671, allocations: 115.5 kB / 0.562 GB, free: 1.629 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.2671, allocations: 4 kB / 0.562 GB, free: 1.625 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.2671, allocations: 0 / 0.562 GB, free: 1.625 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2671, allocations: 0 / 0.562 GB, free: 1.625 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.0005589/0.2676, allocations: 442.5 kB / 0.5624 GB, free: 1.145 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2677, allocations: 8.031 kB / 0.5624 GB, free: 1.137 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.2677, allocations: 34.73 kB / 0.5624 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.814e-05/0.2678, allocations: 16.84 kB / 0.5624 GB, free: 1.078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.268, allocations: 220.1 kB / 0.5626 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.268, allocations: 384 / 0.5626 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.268, allocations: 7.938 kB / 0.5627 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.2682, allocations: 53.67 kB / 0.5627 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.2682, allocations: 4 kB / 0.5627 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.2682, allocations: 0 / 0.5627 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2682, allocations: 0 / 0.5627 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.536e-05/0.2683, allocations: 23.92 kB / 0.5627 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003651/0.2686, allocations: 292.8 kB / 0.563 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.2688, allocations: 50.67 kB / 0.5631 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.025e-05/0.2689, allocations: 24.84 kB / 0.5631 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2689, allocations: 4 kB / 0.5631 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.269, allocations: 67.33 kB / 0.5632 GB, free: 232 kB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.269, allocations: 0 / 0.5632 GB, free: 232 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005082/0.2695, allocations: 177.7 kB / 0.5633 GB, free: 48 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.2696, allocations: 55.41 kB / 0.5634 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.2698, allocations: 228.2 kB / 0.5636 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2698, allocations: 33.7 kB / 0.5636 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.266e-05/0.2699, allocations: 104.1 kB / 0.5637 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.2699, allocations: 31.77 kB / 0.5638 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.27, allocations: 21.72 kB / 0.5638 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001415/0.2701, allocations: 330.8 kB / 0.5641 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/0.2702, allocations: 16.05 kB / 0.5641 GB, free: 15.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-05/0.2702, allocations: 49.64 kB / 0.5642 GB, free: 15.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2704, allocations: 61.64 kB / 0.5642 GB, free: 15.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.2704, allocations: 0 / 0.5642 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001841/0.2705, allocations: 101.6 kB / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.2705, allocations: 7.938 kB / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.2706, allocations: 0 / 0.5643 GB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.2706, allocations: 4 kB / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.419e-05/0.2706, allocations: 20.02 kB / 0.5643 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2707, allocations: 4 kB / 0.5643 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.2707, allocations: 7.938 kB / 0.5643 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.2707, allocations: 0 / 0.5643 GB, free: 14.92 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 0.0001026/0.2708, allocations: 129.8 kB / 0.5645 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.2708, allocations: 15.91 kB / 0.5645 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.2711, allocations: 115.1 kB / 0.5646 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.2711, allocations: 4 kB / 0.5646 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.2711, allocations: 0 / 0.5646 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/0.2711, allocations: 7.938 kB / 0.5646 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004475/0.2716, allocations: 399.3 kB / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2716, allocations: 0 / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.2716, allocations: 8 kB / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.2716, allocations: 3.938 kB / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.2716, allocations: 4 kB / 0.565 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.2716, allocations: 3.984 kB / 0.565 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.2716, allocations: 0 / 0.565 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.2719, allocations: 216.2 kB / 0.5652 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.947e-05/0.2719, allocations: 81.06 kB / 0.5653 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.2719, allocations: 7.938 kB / 0.5653 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.666e-05/0.272, allocations: 0 / 0.5653 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.272, allocations: 11.98 kB / 0.5653 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.272, allocations: 4 kB / 0.5653 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.2722, allocations: 173.2 kB / 0.5655 GB, free: 13.64 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2722, allocations: 3.938 kB / 0.5655 GB, free: 13.64 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.2724, allocations: 27.89 kB / 0.5655 GB, free: 13.61 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.002002/0.2744, allocations: 1.091 MB / 0.5666 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.2746, allocations: 55.91 kB / 0.5666 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2746, allocations: 0 / 0.5666 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.965e-05/0.2747, allocations: 32.25 kB / 0.5667 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.275, allocations: 33.25 kB / 0.5667 GB, free: 12.54 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001809/0.2768, allocations: 1.719 MB / 0.5684 GB, free: 10.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.2771, allocations: 0.7119 MB / 0.5691 GB, free: 9.988 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.7e-05/0.2772, allocations: 12.88 kB / 0.5691 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/0.2773, allocations: 39.42 kB / 0.5691 GB, free: 9.938 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2773, allocations: 0 / 0.5691 GB, free: 9.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.2993, allocations: 3.576 MB / 0.5726 GB, free: 6.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.099/7.398, allocations: 11.61 kB / 0.5726 GB, free: 6.379 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.94277476600837]