Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001398/0.001398, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.001913/0.001913, allocations: 215 kB / 21.45 MB, free: 1.641 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.573/1.573, allocations: 230.6 MB / 254.8 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2337/0.2337, allocations: 46.91 MB / 357.8 MB, free: 10.32 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+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_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 59.91 kB / 0.4916 GB, free: 7.91 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1372, allocations: 65.99 MB / 0.5561 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004156/0.1414, allocations: 2.119 MB / 0.5581 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.144, allocations: 1.415 MB / 0.5595 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.1442, allocations: 7.938 kB / 0.5595 GB, free: 2.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.1445, allocations: 59.5 kB / 0.5596 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006162/0.1451, allocations: 215 kB / 0.5598 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001467/0.1466, allocations: 0.6145 MB / 0.5604 GB, free: 1.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005756/0.1471, allocations: 358.9 kB / 0.5607 GB, free: 1.008 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.1473, allocations: 60.7 kB / 0.5608 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003241/0.1477, allocations: 163.3 kB / 0.5609 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003114/0.148, allocations: 207.2 kB / 0.5611 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.681e-05/0.148, allocations: 16 kB / 0.5612 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000174/0.1482, allocations: 71.95 kB / 0.5612 GB, free: 0.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.1484, allocations: 163.4 kB / 0.5614 GB, free: 348 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.1486, allocations: 182.5 kB / 0.5616 GB, free: 164 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006018/0.1492, allocations: 445.7 kB / 0.562 GB, free: 15.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1492, allocations: 4 kB / 0.562 GB, free: 15.72 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1492, allocations: 0 / 0.562 GB, free: 15.72 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.1492, allocations: 0 / 0.562 GB, free: 15.72 MB / 430.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.001412/0.1506, allocations: 0.8587 MB / 0.5628 GB, free: 14.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.1507, allocations: 12.02 kB / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.628e-05/0.1507, allocations: 4.188 kB / 0.5628 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.1507, allocations: 42.75 kB / 0.5629 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004879/0.1512, allocations: 100.5 kB / 0.563 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007924/0.152, allocations: 0.4931 MB / 0.5635 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.152, allocations: 16.06 kB / 0.5635 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.209e-05/0.1521, allocations: 12 kB / 0.5635 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003898/0.1525, allocations: 155.3 kB / 0.5636 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.1525, allocations: 0 / 0.5636 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.359e-05/0.1525, allocations: 8 kB / 0.5636 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1525, allocations: 3.938 kB / 0.5636 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003933/0.1529, allocations: 123.8 kB / 0.5638 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.1541, allocations: 0.7269 MB / 0.5645 GB, free: 13 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/0.1545, allocations: 121.2 kB / 0.5646 GB, free: 12.87 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.1546, allocations: 65.8 kB / 0.5647 GB, free: 12.8 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.1547, allocations: 8 kB / 0.5647 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.1547, allocations: 42.44 kB / 0.5647 GB, free: 12.74 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1547, allocations: 0 / 0.5647 GB, free: 12.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.002327/0.157, allocations: 0.7652 MB / 0.5654 GB, free: 11.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.1571, allocations: 85.05 kB / 0.5655 GB, free: 11.86 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.1583, allocations: 0.9416 MB / 0.5664 GB, free: 10.91 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.075e-05/0.1583, allocations: 25.7 kB / 0.5665 GB, free: 10.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.1586, allocations: 284.3 kB / 0.5667 GB, free: 10.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.852e-05/0.1587, allocations: 71.38 kB / 0.5668 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.1588, allocations: 41.69 kB / 0.5669 GB, free: 10.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1589, allocations: 317.9 kB / 0.5672 GB, free: 10.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.1593, allocations: 112.1 kB / 0.5673 GB, free: 10.05 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.1596, allocations: 131 kB / 0.5674 GB, free: 9.918 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006253/0.1602, allocations: 253.7 kB / 0.5676 GB, free: 9.664 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1602, allocations: 0 / 0.5676 GB, free: 9.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008521/0.161, allocations: 353.1 kB / 0.568 GB, free: 9.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1611, allocations: 4 kB / 0.568 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1611, allocations: 4 kB / 0.568 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.1611, allocations: 0 / 0.568 GB, free: 9.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003007/0.1614, allocations: 55.89 kB / 0.568 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.1614, allocations: 0 / 0.568 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.1616, allocations: 27.97 kB / 0.5681 GB, free: 9.223 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.1616, allocations: 4 kB / 0.5681 GB, free: 9.219 MB / 430.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.0002657/0.1619, allocations: 231.8 kB / 0.5683 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.162, allocations: 63.58 kB / 0.5683 GB, free: 8.922 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009338/0.163, allocations: 402.5 kB / 0.5687 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.163, allocations: 0 / 0.5687 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.163, allocations: 0 / 0.5687 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-06/0.163, allocations: 11.98 kB / 0.5687 GB, free: 8.508 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.1646, allocations: 0.9546 MB / 0.5697 GB, free: 7.496 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.1646, allocations: 4 kB / 0.5697 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.1649, allocations: 51.95 kB / 0.5697 GB, free: 7.441 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.1649, allocations: 3.984 kB / 0.5697 GB, free: 7.438 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.165, allocations: 11.94 kB / 0.5697 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.165, allocations: 4.031 kB / 0.5697 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.165, allocations: 7.938 kB / 0.5697 GB, free: 7.414 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008983/0.1659, allocations: 0.5138 MB / 0.5702 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.166, allocations: 160.6 kB / 0.5704 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.732e-05/0.1661, allocations: 7.938 kB / 0.5704 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.1664, allocations: 19.98 kB / 0.5704 GB, free: 6.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.902e-05/0.1665, allocations: 19.97 kB / 0.5704 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.312e-05/0.1665, allocations: 15.98 kB / 0.5705 GB, free: 6.645 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009561/0.1674, allocations: 0.6786 MB / 0.5711 GB, free: 5.973 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1674, allocations: 0 / 0.5711 GB, free: 5.973 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000437/0.1679, allocations: 60 kB / 0.5712 GB, free: 5.914 MB / 430.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.002706/0.1706, allocations: 1.36 MB / 0.5725 GB, free: 4.684 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007514/0.1713, allocations: 255.8 kB / 0.5728 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1713, allocations: 0 / 0.5728 GB, free: 4.434 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.1717, allocations: 131.8 kB / 0.5729 GB, free: 4.305 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006561/0.1723, allocations: 81.8 kB / 0.573 GB, free: 4.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008204/0.1805, allocations: 5.522 MB / 0.5783 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005813/0.1811, allocations: 0.8887 MB / 0.5792 GB, free: 13.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002798/0.1814, allocations: 99.19 kB / 0.5793 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/0.1817, allocations: 199.3 kB / 0.5795 GB, free: 13.39 MB / 446.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1817, allocations: 0 / 0.5795 GB, free: 13.39 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0317/0.2134, allocations: 10.82 MB / 0.5901 GB, free: 2.648 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.331/9.545, allocations: 12.88 kB / 0.5901 GB, free: 2.637 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.038428293017205] 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'] 9.729166578035802 10.029029994 9.876895998 Calling exit ...