Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00249/0.00249, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.483/1.483, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2276/0.2276, allocations: 44.9 MB / 359.6 MB, free: 6.305 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003026/0.003026, allocations: 61.78 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4147/0.4177, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00425/0.422, allocations: 2.146 MB / 0.5599 GB, free: 5.629 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002562/0.4245, allocations: 1.408 MB / 0.5613 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.4247, allocations: 7.938 kB / 0.5613 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.425, allocations: 67.42 kB / 0.5613 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005518/0.4255, allocations: 219 kB / 0.5616 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001496/0.427, allocations: 0.6184 MB / 0.5622 GB, free: 3.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005259/0.4275, allocations: 358.9 kB / 0.5625 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.4277, allocations: 52.91 kB / 0.5625 GB, free: 2.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.428, allocations: 159.3 kB / 0.5627 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.4284, allocations: 215.2 kB / 0.5629 GB, free: 2.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.747e-05/0.4284, allocations: 12 kB / 0.5629 GB, free: 2.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001851/0.4286, allocations: 67.97 kB / 0.563 GB, free: 2.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.4288, allocations: 159.4 kB / 0.5631 GB, free: 2.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.4289, allocations: 190.5 kB / 0.5633 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000623/0.4296, allocations: 447.8 kB / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4296, allocations: 0 / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4296, allocations: 0 / 0.5637 GB, free: 1.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.4296, allocations: 0 / 0.5637 GB, free: 1.688 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001293/0.4309, allocations: 0.7911 MB / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4309, allocations: 11.97 kB / 0.5645 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.452e-05/0.4309, allocations: 4.188 kB / 0.5645 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.049e-05/0.431, allocations: 46.73 kB / 0.5646 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004431/0.4314, allocations: 96.47 kB / 0.5647 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007749/0.4322, allocations: 447.1 kB / 0.5651 GB, free: 240 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.4322, allocations: 8.125 kB / 0.5651 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.4323, allocations: 12 kB / 0.5651 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000377/0.4326, allocations: 159 kB / 0.5653 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.4326, allocations: 4 kB / 0.5653 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.4327, allocations: 7.984 kB / 0.5653 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.4327, allocations: 8 kB / 0.5653 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003664/0.433, allocations: 119.9 kB / 0.5654 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.4343, allocations: 0.6947 MB / 0.5661 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003242/0.4346, allocations: 129.2 kB / 0.5662 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.4348, allocations: 65.75 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.4348, allocations: 4 kB / 0.5663 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4348, allocations: 42.48 kB / 0.5663 GB, free: 14.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.4348, allocations: 4 kB / 0.5663 GB, free: 14.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002334/0.4372, allocations: 0.7607 MB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.4372, allocations: 89.05 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.4384, allocations: 0.9299 MB / 0.568 GB, free: 13.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.4384, allocations: 25.7 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002423/0.4386, allocations: 284.3 kB / 0.5683 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.4387, allocations: 75.38 kB / 0.5684 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.192e-05/0.4388, allocations: 37.7 kB / 0.5684 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.439, allocations: 321.9 kB / 0.5688 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.4394, allocations: 99.92 kB / 0.5689 GB, free: 12.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.4397, allocations: 131.9 kB / 0.569 GB, free: 12.09 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006358/0.4403, allocations: 253.6 kB / 0.5692 GB, free: 11.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4403, allocations: 0 / 0.5692 GB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008635/0.4412, allocations: 353 kB / 0.5696 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4412, allocations: 8 kB / 0.5696 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4412, allocations: 0.75 kB / 0.5696 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.4412, allocations: 224 / 0.5696 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.4415, allocations: 55.95 kB / 0.5696 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.4415, allocations: 3.938 kB / 0.5696 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.4417, allocations: 23.97 kB / 0.5696 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.4418, allocations: 8 kB / 0.5697 GB, free: 11.39 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.0002605/0.442, allocations: 225.6 kB / 0.5699 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.4421, allocations: 67.58 kB / 0.5699 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000929/0.4431, allocations: 406.6 kB / 0.5703 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.4431, allocations: 4 kB / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4431, allocations: 0 / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.4431, allocations: 3.984 kB / 0.5703 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.4449, allocations: 0.9376 MB / 0.5712 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4449, allocations: 0 / 0.5712 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/0.4452, allocations: 59.89 kB / 0.5713 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4452, allocations: 0 / 0.5713 GB, free: 9.633 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.567e-05/0.4452, allocations: 15.92 kB / 0.5713 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4452, allocations: 0 / 0.5713 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.4452, allocations: 0 / 0.5713 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008477/0.446, allocations: 0.5099 MB / 0.5718 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.4462, allocations: 83.53 kB / 0.5719 GB, free: 9.008 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.007e-05/0.4463, allocations: 7.938 kB / 0.5719 GB, free: 9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.4465, allocations: 23.98 kB / 0.5719 GB, free: 8.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.4466, allocations: 23.89 kB / 0.5719 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.4466, allocations: 8 kB / 0.572 GB, free: 8.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000852/0.4475, allocations: 0.6786 MB / 0.5726 GB, free: 8.273 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4475, allocations: 4 kB / 0.5726 GB, free: 8.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004035/0.4479, allocations: 67.98 kB / 0.5727 GB, free: 8.203 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.002862/0.4507, allocations: 1.359 MB / 0.574 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009543/0.4517, allocations: 255.8 kB / 0.5743 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4517, allocations: 0 / 0.5743 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003785/0.4521, allocations: 136.3 kB / 0.5744 GB, free: 6.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008141/0.4529, allocations: 82.59 kB / 0.5745 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009506/0.4624, allocations: 5.506 MB / 0.5798 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006806/0.4631, allocations: 0.8928 MB / 0.5807 GB, free: 15.99 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002968/0.4634, allocations: 111.2 kB / 0.5808 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/0.4637, allocations: 187.4 kB / 0.581 GB, free: 15.7 MB / 430.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4637, allocations: 4 kB / 0.581 GB, free: 15.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03741/0.5011, allocations: 11.02 MB / 0.5918 GB, free: 4.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.98/12.48, allocations: 4.062 kB / 0.5918 GB, free: 4.766 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.649898339994252] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D_1R.y[1]', 'der_1R.y', 'combiTable2D_2R.y[1]', 'der_2R.y', 'cosine_R.y', 'sine_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'cosine_L.y', 'sine_L.y'] 12.707410258008167 12.7309045 12.29722829 Calling exit ...