Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.001464/0.001464, 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.001548/0.001548, allocations: 221.8 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.306/1.306, allocations: 230.2 MB / 256.1 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.2007/0.2007, allocations: 46.89 MB / 359.3 MB, free: 4.941 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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",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.002125/0.002125, allocations: 83.84 kB / 0.494 GB, free: 9.035 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2727, allocations: 65.98 MB / 0.5584 GB, free: 5.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00284/0.2755, allocations: 1.715 MB / 0.5601 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2766, allocations: 0.6049 MB / 0.5607 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.2766, allocations: 4 kB / 0.5607 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001996/0.2768, allocations: 27.73 kB / 0.5607 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002611/0.2771, allocations: 83.61 kB / 0.5608 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.2775, allocations: 175.3 kB / 0.561 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001844/0.2777, allocations: 103.7 kB / 0.5611 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.2778, allocations: 17.81 kB / 0.5611 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.446e-05/0.2778, allocations: 35.84 kB / 0.5611 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.907e-05/0.2779, allocations: 51.77 kB / 0.5612 GB, free: 2.363 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.2779, allocations: 4 kB / 0.5612 GB, free: 2.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001779/0.2781, allocations: 107.9 kB / 0.5613 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.888e-05/0.2782, allocations: 23.92 kB / 0.5613 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.303e-05/0.2782, allocations: 39.73 kB / 0.5613 GB, free: 2.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000278/0.2785, allocations: 171.3 kB / 0.5615 GB, free: 2.023 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2785, allocations: 0 / 0.5615 GB, free: 2.023 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2785, allocations: 0 / 0.5615 GB, free: 2.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.658e-06/0.2785, allocations: 4 kB / 0.5615 GB, free: 2.02 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.0006517/0.2792, allocations: 460.9 kB / 0.562 GB, free: 1.523 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2792, allocations: 12.02 kB / 0.562 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.2793, allocations: 34.75 kB / 0.562 GB, free: 1.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.2793, allocations: 8.891 kB / 0.562 GB, free: 1.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.2795, allocations: 200.2 kB / 0.5622 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.2795, allocations: 4.359 kB / 0.5622 GB, free: 1.223 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.2795, allocations: 12.38 kB / 0.5622 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.2798, allocations: 99.22 kB / 0.5623 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2798, allocations: 0 / 0.5623 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.2798, allocations: 0 / 0.5623 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.2798, allocations: 4 kB / 0.5623 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.2801, allocations: 75.92 kB / 0.5624 GB, free: 1.023 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.2807, allocations: 348.6 kB / 0.5627 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002398/0.281, allocations: 74.52 kB / 0.5628 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001643/0.2811, allocations: 48.94 kB / 0.5628 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.2812, allocations: 4 kB / 0.5628 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.2812, allocations: 34.56 kB / 0.5629 GB, free: 464 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2812, allocations: 0 / 0.5629 GB, free: 464 kB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001624/0.2828, allocations: 413.1 kB / 0.5633 GB, free: 44 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.668e-05/0.2829, allocations: 81.2 kB / 0.5633 GB, free: 15.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.2831, allocations: 170.1 kB / 0.5635 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.2831, allocations: 25.7 kB / 0.5635 GB, free: 15.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.2831, allocations: 104.1 kB / 0.5636 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.2832, allocations: 31.73 kB / 0.5637 GB, free: 15.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.2832, allocations: 33.66 kB / 0.5637 GB, free: 15.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.2834, allocations: 322.8 kB / 0.564 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000297/0.2837, allocations: 79.91 kB / 0.5641 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003069/0.284, allocations: 97.62 kB / 0.5642 GB, free: 15.05 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005697/0.2845, allocations: 164.6 kB / 0.5643 GB, free: 14.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.2845, allocations: 4.031 kB / 0.5643 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006436/0.2852, allocations: 205.4 kB / 0.5645 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2852, allocations: 7.984 kB / 0.5645 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.2852, allocations: 0 / 0.5645 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.2852, allocations: 8 kB / 0.5645 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002071/0.2854, allocations: 31.97 kB / 0.5646 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.2854, allocations: 7.922 kB / 0.5646 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.2856, allocations: 35.91 kB / 0.5646 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.2856, allocations: 0 / 0.5646 GB, free: 14.59 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: 0 () * 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.0001011/0.2857, allocations: 125.8 kB / 0.5647 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.2857, allocations: 7.953 kB / 0.5647 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006797/0.2864, allocations: 230.4 kB / 0.565 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2864, allocations: 0 / 0.565 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2864, allocations: 7.938 kB / 0.565 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2864, allocations: 0 / 0.565 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009453/0.2874, allocations: 0.5178 MB / 0.5655 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2874, allocations: 4 kB / 0.5655 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.2876, allocations: 35.91 kB / 0.5655 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2876, allocations: 4 kB / 0.5655 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.2876, allocations: 4 kB / 0.5655 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.2876, allocations: 3.984 kB / 0.5655 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2876, allocations: 0 / 0.5655 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006782/0.2883, allocations: 299.3 kB / 0.5658 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/0.2883, allocations: 96.94 kB / 0.5659 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.2883, allocations: 4 kB / 0.5659 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000178/0.2885, allocations: 23.97 kB / 0.5659 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/0.2886, allocations: 15.92 kB / 0.5659 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.2886, allocations: 4 kB / 0.5659 GB, free: 13.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.2887, allocations: 128.1 kB / 0.5661 GB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2887, allocations: 0 / 0.5661 GB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002803/0.289, allocations: 51.86 kB / 0.5661 GB, free: 12.94 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.002469/0.2914, allocations: 1.229 MB / 0.5673 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006488/0.2921, allocations: 171.8 kB / 0.5675 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.2921, allocations: 0 / 0.5675 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.2924, allocations: 91.84 kB / 0.5676 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.2927, allocations: 41.58 kB / 0.5676 GB, free: 11.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.2957, allocations: 1.938 MB / 0.5695 GB, free: 9.543 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.296, allocations: 0.7119 MB / 0.5702 GB, free: 8.805 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.922e-05/0.2961, allocations: 24.53 kB / 0.5702 GB, free: 8.777 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.452e-05/0.2962, allocations: 39.42 kB / 0.5703 GB, free: 8.738 MB / 414.1 MB Notification: Performance of SimCode: time 3.9e-07/0.2962, allocations: 0 / 0.5703 GB, free: 8.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02405/0.3202, allocations: 4.389 MB / 0.5745 GB, free: 4.336 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.278/7.598, allocations: 9.688 kB / 0.5746 GB, free: 4.332 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.12804920200142]