Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.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.001438/0.001438, allocations: 109.5 kB / 19.74 MB, free: 2.586 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.00156/0.00156, allocations: 223.1 kB / 22.92 MB, free: 5.559 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.31/1.31, allocations: 230.2 MB / 256.2 MB, free: 8.625 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.1979/0.1979, allocations: 46.88 MB / 359.3 MB, free: 4.949 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.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50",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.00223/0.00223, allocations: 87.86 kB / 0.4941 GB, free: 9 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2633, allocations: 65.98 MB / 0.5585 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00299/0.2663, allocations: 1.748 MB / 0.5602 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.2686, allocations: 1.711 MB / 0.5619 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.307e-05/0.2687, allocations: 3.938 kB / 0.5619 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002443/0.269, allocations: 35.77 kB / 0.5619 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.2692, allocations: 99.53 kB / 0.562 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000182/0.2694, allocations: 79.67 kB / 0.5621 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001701/0.2696, allocations: 111.7 kB / 0.5622 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.2697, allocations: 13.83 kB / 0.5622 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.089e-05/0.2698, allocations: 51.7 kB / 0.5623 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.2699, allocations: 39.84 kB / 0.5623 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.2699, allocations: 8 kB / 0.5623 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001884/0.2701, allocations: 111.9 kB / 0.5624 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.2702, allocations: 23.91 kB / 0.5624 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.2703, allocations: 43.73 kB / 0.5625 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.2705, allocations: 179.3 kB / 0.5626 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2705, allocations: 0 / 0.5626 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.2705, allocations: 0 / 0.5626 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2705, allocations: 0 / 0.5626 GB, free: 0.9375 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005772/0.2711, allocations: 442.5 kB / 0.5631 GB, free: 468 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.2712, allocations: 8.031 kB / 0.5631 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.575e-05/0.2712, allocations: 34.73 kB / 0.5631 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.27e-05/0.2712, allocations: 12.89 kB / 0.5631 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.2715, allocations: 217.4 kB / 0.5633 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.2715, allocations: 4.375 kB / 0.5633 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.2715, allocations: 7.938 kB / 0.5633 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.2717, allocations: 79.31 kB / 0.5634 GB, free: 44 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.2717, allocations: 3.953 kB / 0.5634 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.2717, allocations: 4 kB / 0.5634 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2717, allocations: 0 / 0.5634 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.482e-05/0.2718, allocations: 27.97 kB / 0.5634 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.2722, allocations: 304.8 kB / 0.5637 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001883/0.2724, allocations: 70.61 kB / 0.5638 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.202e-05/0.2725, allocations: 24.84 kB / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.933e-05/0.2725, allocations: 0 / 0.5638 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.2726, allocations: 71.39 kB / 0.5639 GB, free: 15.47 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.2726, allocations: 0 / 0.5639 GB, free: 15.47 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005561/0.2732, allocations: 205.2 kB / 0.5641 GB, free: 15.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.885e-05/0.2732, allocations: 81.14 kB / 0.5642 GB, free: 15.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.2734, allocations: 178.1 kB / 0.5643 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.26e-05/0.2734, allocations: 33.7 kB / 0.5644 GB, free: 14.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.2735, allocations: 100.1 kB / 0.5645 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.547e-05/0.2735, allocations: 35.8 kB / 0.5645 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.2736, allocations: 25.7 kB / 0.5645 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.2737, allocations: 322.8 kB / 0.5648 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.2738, allocations: 20 kB / 0.5649 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.799e-05/0.2738, allocations: 50.55 kB / 0.5649 GB, free: 14.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.274, allocations: 73.69 kB / 0.565 GB, free: 14.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.274, allocations: 0 / 0.565 GB, free: 14.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002041/0.2742, allocations: 113.5 kB / 0.5651 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.2742, allocations: 8 kB / 0.5651 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2742, allocations: 0 / 0.5651 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.2742, allocations: 0 / 0.5651 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.839e-05/0.2743, allocations: 19.98 kB / 0.5651 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.2743, allocations: 0 / 0.5651 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.2744, allocations: 11.94 kB / 0.5651 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.2744, allocations: 4.031 kB / 0.5651 GB, free: 14.13 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 (11): * Single equations (assignments): 11 * 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.853e-05/0.2745, allocations: 125.8 kB / 0.5652 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.846e-05/0.2745, allocations: 11.95 kB / 0.5653 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.2747, allocations: 126.5 kB / 0.5654 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2748, allocations: 96 / 0.5654 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2748, allocations: 7.875 kB / 0.5654 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2748, allocations: 3.938 kB / 0.5654 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.2752, allocations: 419.3 kB / 0.5658 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2752, allocations: 3.938 kB / 0.5658 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.312e-05/0.2753, allocations: 19.92 kB / 0.5658 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2753, allocations: 3.938 kB / 0.5658 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.2753, allocations: 0 / 0.5658 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2753, allocations: 4 kB / 0.5658 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2753, allocations: 0 / 0.5658 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.2755, allocations: 224.3 kB / 0.566 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.2756, allocations: 85.02 kB / 0.5661 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.2756, allocations: 7.938 kB / 0.5661 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.383e-05/0.2757, allocations: 4 kB / 0.5661 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.2757, allocations: 11.98 kB / 0.5661 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.2757, allocations: 4 kB / 0.5661 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.2759, allocations: 136 kB / 0.5663 GB, free: 12.85 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2759, allocations: 0 / 0.5663 GB, free: 12.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002812/0.2761, allocations: 47.88 kB / 0.5663 GB, free: 12.8 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 (9): * Single equations (assignments): 7 * 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.002261/0.2784, allocations: 1.191 MB / 0.5675 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000194/0.2786, allocations: 67.91 kB / 0.5675 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2786, allocations: 0 / 0.5675 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.494e-05/0.2787, allocations: 27.92 kB / 0.5676 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.279, allocations: 37.95 kB / 0.5676 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.2807, allocations: 1.658 MB / 0.5692 GB, free: 9.891 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.281, allocations: 0.7045 MB / 0.5699 GB, free: 9.16 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.852e-05/0.2811, allocations: 28.56 kB / 0.5699 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.473e-05/0.2812, allocations: 39.42 kB / 0.57 GB, free: 9.094 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2812, allocations: 0 / 0.57 GB, free: 9.094 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02669/0.3079, allocations: 4.198 MB / 0.5741 GB, free: 4.883 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.082/7.389, allocations: 6.766 kB / 0.5741 GB, free: 4.883 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.950651008999557]