Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.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.001269/0.001269, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001327/0.001327, allocations: 210.8 kB / 24.52 MB, free: 3.914 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.375/1.375, allocations: 230.5 MB / 258.2 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.95 MB / 361.6 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002149/0.002149, allocations: 75.89 kB / 0.4969 GB, free: 7.562 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.29, allocations: 66.08 MB / 0.5615 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003461/0.2934, allocations: 2.023 MB / 0.5634 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002008/0.2954, allocations: 1.236 MB / 0.5646 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.519e-05/0.2955, allocations: 0 / 0.5646 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.2957, allocations: 55.52 kB / 0.5647 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004607/0.2962, allocations: 215.1 kB / 0.5649 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.2971, allocations: 463.8 kB / 0.5653 GB, free: 64 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.2975, allocations: 330.9 kB / 0.5656 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.2976, allocations: 52.88 kB / 0.5657 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002386/0.2979, allocations: 159.3 kB / 0.5659 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.2981, allocations: 207.2 kB / 0.566 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.883e-05/0.2982, allocations: 16 kB / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001391/0.2983, allocations: 71.91 kB / 0.5661 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.2985, allocations: 147.5 kB / 0.5663 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.2986, allocations: 134.9 kB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.2991, allocations: 443.8 kB / 0.5668 GB, free: 14.53 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2991, allocations: 4 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2991, allocations: 0 / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.365e-06/0.2991, allocations: 4 kB / 0.5668 GB, free: 14.52 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001086/0.3002, allocations: 0.7795 MB / 0.5676 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3002, allocations: 8.031 kB / 0.5676 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.512e-05/0.3002, allocations: 4.188 kB / 0.5676 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.3003, allocations: 38.75 kB / 0.5676 GB, free: 13.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004167/0.3007, allocations: 100.5 kB / 0.5677 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/0.3013, allocations: 439.1 kB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3014, allocations: 8.375 kB / 0.5682 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.3014, allocations: 8.375 kB / 0.5682 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.3017, allocations: 147.1 kB / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3017, allocations: 0 / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3017, allocations: 0 / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.3017, allocations: 4 kB / 0.5683 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.302, allocations: 107.9 kB / 0.5684 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009129/0.3029, allocations: 0.6363 MB / 0.569 GB, free: 12.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.3032, allocations: 109.2 kB / 0.5691 GB, free: 12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.3033, allocations: 69.73 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.3034, allocations: 4 kB / 0.5692 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.3034, allocations: 30.56 kB / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.3034, allocations: 0 / 0.5692 GB, free: 11.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.001926/0.3053, allocations: 0.7101 MB / 0.5699 GB, free: 11.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/0.3054, allocations: 81.11 kB / 0.57 GB, free: 11.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.3065, allocations: 0.922 MB / 0.5709 GB, free: 10.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.3065, allocations: 33.89 kB / 0.5709 GB, free: 10.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.3067, allocations: 272.4 kB / 0.5712 GB, free: 9.824 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/0.3068, allocations: 83.25 kB / 0.5713 GB, free: 9.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.3069, allocations: 41.7 kB / 0.5713 GB, free: 9.695 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.307, allocations: 310 kB / 0.5716 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.3073, allocations: 87.94 kB / 0.5717 GB, free: 9.301 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.3075, allocations: 108.4 kB / 0.5718 GB, free: 9.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.308, allocations: 213.5 kB / 0.572 GB, free: 8.977 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.308, allocations: 0 / 0.572 GB, free: 8.977 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006717/0.3087, allocations: 317 kB / 0.5723 GB, free: 8.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3087, allocations: 4 kB / 0.5723 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.3087, allocations: 0 / 0.5723 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3087, allocations: 192 / 0.5723 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002676/0.309, allocations: 51.95 kB / 0.5724 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.309, allocations: 3.938 kB / 0.5724 GB, free: 8.602 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.3092, allocations: 31.97 kB / 0.5724 GB, free: 8.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.3092, allocations: 4 kB / 0.5724 GB, free: 8.566 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002261/0.3095, allocations: 223 kB / 0.5726 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.3096, allocations: 63.58 kB / 0.5727 GB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007993/0.3104, allocations: 346.5 kB / 0.573 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3104, allocations: 8 kB / 0.573 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.3104, allocations: 0.5625 kB / 0.573 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3104, allocations: 112 / 0.573 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001351/0.3117, allocations: 0.8323 MB / 0.5738 GB, free: 7.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3117, allocations: 8 kB / 0.5738 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.312, allocations: 55.89 kB / 0.5739 GB, free: 6.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.312, allocations: 3.984 kB / 0.5739 GB, free: 6.973 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.001e-05/0.312, allocations: 11.98 kB / 0.5739 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.312, allocations: 0 / 0.5739 GB, free: 6.961 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.312, allocations: 3.938 kB / 0.5739 GB, free: 6.957 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007337/0.3128, allocations: 482.6 kB / 0.5744 GB, free: 6.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.3129, allocations: 79.55 kB / 0.5744 GB, free: 6.391 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.765e-05/0.3129, allocations: 7.938 kB / 0.5745 GB, free: 6.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.3132, allocations: 23.97 kB / 0.5745 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.7e-05/0.3133, allocations: 23.84 kB / 0.5745 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.3133, allocations: 11.98 kB / 0.5745 GB, free: 6.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008503/0.3141, allocations: 0.6786 MB / 0.5752 GB, free: 5.652 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3141, allocations: 0 / 0.5752 GB, free: 5.652 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003682/0.3145, allocations: 63.94 kB / 0.5752 GB, free: 5.59 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.00251/0.317, allocations: 1.33 MB / 0.5765 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006002/0.3176, allocations: 211.8 kB / 0.5767 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3176, allocations: 0 / 0.5767 GB, free: 4.176 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.3179, allocations: 119.8 kB / 0.5769 GB, free: 4.059 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005918/0.3185, allocations: 85.94 kB / 0.5769 GB, free: 3.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006947/0.3254, allocations: 5.313 MB / 0.5821 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.3257, allocations: 271.3 kB / 0.5824 GB, free: 14.28 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.3259, allocations: 79.22 kB / 0.5825 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.3262, allocations: 199.3 kB / 0.5826 GB, free: 14.01 MB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3262, allocations: 0 / 0.5826 GB, free: 14.01 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.3587, allocations: 10.9 MB / 0.5933 GB, free: 3.164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.92, allocations: 8.047 kB / 0.5933 GB, free: 3.156 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.765720837051049] Failed to read output from testmodel.py, exit status != 0: ['time', 'cosine_R.y', 'sine_R.y', 'cosine_L.y', 'sine_L.y', 'combiTable2D_1R.y', 'combiTable2D_2R.y', 'combiTable2D_1L.y', 'combiTable2D_2L.y', 'der_1R.y', 'der_2R.y', 'der_1L.y', 'der_2L.y'] 12.141943017020822 12.169252351 11.864901612 Calling exit ...