Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.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.001166/0.001166, 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.001297/0.001297, allocations: 218 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.295/1.295, allocations: 230.2 MB / 256.2 MB, free: 8.578 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.203/0.203, allocations: 46.88 MB / 359.3 MB, free: 4.945 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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33",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.002083/0.002083, allocations: 79.86 kB / 0.494 GB, free: 9.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2581, allocations: 65.98 MB / 0.5584 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.00301/0.2611, allocations: 1.88 MB / 0.5603 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.2626, allocations: 1.034 MB / 0.5613 GB, free: 2.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.2627, allocations: 3.938 kB / 0.5613 GB, free: 2.258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.2629, allocations: 71.72 kB / 0.5614 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003043/0.2632, allocations: 119.4 kB / 0.5615 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003592/0.2636, allocations: 155.1 kB / 0.5616 GB, free: 1.922 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.2638, allocations: 203.4 kB / 0.5618 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.2639, allocations: 15.39 kB / 0.5618 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.264, allocations: 91.72 kB / 0.5619 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.2642, allocations: 107.6 kB / 0.562 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.358e-05/0.2642, allocations: 12 kB / 0.562 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.228e-05/0.2643, allocations: 43.98 kB / 0.5621 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.29e-05/0.2644, allocations: 39.91 kB / 0.5621 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.198e-05/0.2645, allocations: 71.52 kB / 0.5622 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.2647, allocations: 195.1 kB / 0.5624 GB, free: 1.156 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2647, allocations: 4 kB / 0.5624 GB, free: 1.152 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2647, allocations: 0 / 0.5624 GB, free: 1.152 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2647, allocations: 0 / 0.5624 GB, free: 1.152 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001068/0.2658, allocations: 0.5797 MB / 0.5629 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.2658, allocations: 12.03 kB / 0.5629 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.163e-05/0.2659, allocations: 38.73 kB / 0.563 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.2659, allocations: 20.84 kB / 0.563 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.2662, allocations: 241.6 kB / 0.5632 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.2662, allocations: 8.359 kB / 0.5632 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.2662, allocations: 11.94 kB / 0.5632 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/0.2667, allocations: 141.5 kB / 0.5634 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.2667, allocations: 0 / 0.5634 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.2668, allocations: 0 / 0.5634 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2668, allocations: 4 kB / 0.5634 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.2675, allocations: 163.8 kB / 0.5635 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.2679, allocations: 380.5 kB / 0.5639 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007698/0.2687, allocations: 178.4 kB / 0.5641 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.2691, allocations: 96.75 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.2691, allocations: 4.141 kB / 0.5642 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/0.2697, allocations: 167.2 kB / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.2697, allocations: 0 / 0.5643 GB, free: 14.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.00363/0.2733, allocations: 0.8205 MB / 0.5651 GB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.2733, allocations: 55.34 kB / 0.5652 GB, free: 14.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000269/0.2736, allocations: 261.5 kB / 0.5654 GB, free: 13.79 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.2736, allocations: 29.7 kB / 0.5655 GB, free: 13.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.2737, allocations: 124.1 kB / 0.5656 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.2738, allocations: 39.69 kB / 0.5656 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.2738, allocations: 29.7 kB / 0.5656 GB, free: 13.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.274, allocations: 330.8 kB / 0.566 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007169/0.2747, allocations: 171.8 kB / 0.5661 GB, free: 13.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006865/0.2754, allocations: 171.8 kB / 0.5663 GB, free: 12.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.2767, allocations: 358.5 kB / 0.5666 GB, free: 12.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2767, allocations: 3.938 kB / 0.5666 GB, free: 12.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.00152/0.2782, allocations: 468.5 kB / 0.5671 GB, free: 12.04 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.672e-05/0.2783, allocations: 61.59 kB / 0.5671 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.2783, allocations: 0 / 0.5671 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2783, allocations: 0 / 0.5671 GB, free: 11.97 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004204/0.2787, allocations: 83.77 kB / 0.5672 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.2787, allocations: 0 / 0.5672 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.2791, allocations: 59.91 kB / 0.5673 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.2791, allocations: 8 kB / 0.5673 GB, free: 11.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001362/0.2793, allocations: 137.8 kB / 0.5674 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.2793, allocations: 19.86 kB / 0.5674 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.2808, allocations: 398.7 kB / 0.5678 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2809, allocations: 7.938 kB / 0.5678 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2809, allocations: 3.984 kB / 0.5678 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.2809, allocations: 3.984 kB / 0.5678 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.2826, allocations: 0.7085 MB / 0.5685 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2826, allocations: 0 / 0.5685 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003644/0.283, allocations: 75.84 kB / 0.5686 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.283, allocations: 4 kB / 0.5686 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.283, allocations: 8.547 kB / 0.5686 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.283, allocations: 3.938 kB / 0.5686 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.283, allocations: 0 / 0.5686 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.2844, allocations: 475 kB / 0.5691 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.2845, allocations: 104.9 kB / 0.5692 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.2845, allocations: 0 / 0.5692 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004068/0.2849, allocations: 67.84 kB / 0.5692 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.2851, allocations: 43.94 kB / 0.5693 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.2851, allocations: 11.98 kB / 0.5693 GB, free: 9.668 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.2852, allocations: 184.5 kB / 0.5695 GB, free: 9.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2852, allocations: 0 / 0.5695 GB, free: 9.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.2855, allocations: 51.94 kB / 0.5695 GB, free: 9.438 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.003017/0.2885, allocations: 1.303 MB / 0.5708 GB, free: 8.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.2901, allocations: 470.3 kB / 0.5712 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.2901, allocations: 0 / 0.5712 GB, free: 7.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007209/0.2908, allocations: 179.8 kB / 0.5714 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.2911, allocations: 24.66 kB / 0.5714 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005903/0.2971, allocations: 2.844 MB / 0.5742 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.2974, allocations: 0.728 MB / 0.5749 GB, free: 3.871 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001033/0.2975, allocations: 21.41 kB / 0.5749 GB, free: 3.852 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000136/0.2976, allocations: 55.42 kB / 0.575 GB, free: 3.797 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2976, allocations: 0 / 0.575 GB, free: 3.797 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.3249, allocations: 5.8 MB / 0.5806 GB, free: 14.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.221/7.546, allocations: 7.438 kB / 0.5807 GB, free: 14.02 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.03196024299541]