Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.001665/0.001665, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.002185/0.002185, allocations: 215.1 kB / 21.45 MB, free: 1.617 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.608/1.608, allocations: 230.6 MB / 254.8 MB, free: 15.27 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.2298/0.2298, allocations: 44.9 MB / 355.8 MB, free: 12.38 MB / 286.1 MB " [Timeout remaining time 180] 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.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_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.002006/0.002006, allocations: 63.91 kB / 0.4886 GB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1361, allocations: 65.41 MB / 0.5524 GB, free: 10.18 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004049/0.1401, allocations: 2.123 MB / 0.5545 GB, free: 8.043 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00224/0.1424, allocations: 1.29 MB / 0.5558 GB, free: 6.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1425, allocations: 7.938 kB / 0.5558 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.1428, allocations: 51.52 kB / 0.5558 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005179/0.1433, allocations: 215.1 kB / 0.556 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000987/0.1443, allocations: 456.9 kB / 0.5565 GB, free: 6.043 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004119/0.1447, allocations: 330.9 kB / 0.5568 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1448, allocations: 60.62 kB / 0.5568 GB, free: 5.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.1451, allocations: 151.3 kB / 0.557 GB, free: 5.512 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002745/0.1454, allocations: 215.2 kB / 0.5572 GB, free: 5.301 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.1454, allocations: 16 kB / 0.5572 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.1456, allocations: 71.97 kB / 0.5573 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.1457, allocations: 143.4 kB / 0.5574 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.1459, allocations: 186.5 kB / 0.5576 GB, free: 4.891 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.1464, allocations: 433.8 kB / 0.558 GB, free: 4.465 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1464, allocations: 0 / 0.558 GB, free: 4.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1464, allocations: 0 / 0.558 GB, free: 4.465 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1464, allocations: 4 kB / 0.558 GB, free: 4.461 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.001203/0.1476, allocations: 0.8471 MB / 0.5588 GB, free: 3.562 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.1477, allocations: 12.03 kB / 0.5588 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.236e-05/0.1477, allocations: 192 / 0.5588 GB, free: 3.551 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.1477, allocations: 50.67 kB / 0.5589 GB, free: 3.492 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.1482, allocations: 100.5 kB / 0.559 GB, free: 3.395 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000683/0.1488, allocations: 0.4969 MB / 0.5595 GB, free: 2.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.1489, allocations: 12.12 kB / 0.5595 GB, free: 2.844 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.1489, allocations: 8 kB / 0.5595 GB, free: 2.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003218/0.1492, allocations: 139.3 kB / 0.5596 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1492, allocations: 0 / 0.5596 GB, free: 2.688 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1492, allocations: 8 kB / 0.5596 GB, free: 2.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.1492, allocations: 4 kB / 0.5596 GB, free: 2.676 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.1496, allocations: 103.8 kB / 0.5597 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009825/0.1505, allocations: 0.6996 MB / 0.5604 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.1508, allocations: 113.2 kB / 0.5605 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.151, allocations: 57.81 kB / 0.5606 GB, free: 1.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.151, allocations: 11.92 kB / 0.5606 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/0.151, allocations: 42.5 kB / 0.5606 GB, free: 1.566 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.151, allocations: 0 / 0.5606 GB, free: 1.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002083/0.1531, allocations: 0.6946 MB / 0.5613 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.898e-05/0.1532, allocations: 89.03 kB / 0.5614 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1543, allocations: 0.922 MB / 0.5623 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.1543, allocations: 29.7 kB / 0.5623 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.1545, allocations: 280.3 kB / 0.5626 GB, free: 15.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.818e-05/0.1546, allocations: 71.39 kB / 0.5627 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.002e-05/0.1547, allocations: 37.69 kB / 0.5627 GB, free: 15.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1548, allocations: 317.9 kB / 0.563 GB, free: 15.08 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.1551, allocations: 87.92 kB / 0.5631 GB, free: 14.99 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.1554, allocations: 113.6 kB / 0.5632 GB, free: 14.88 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005565/0.156, allocations: 209.7 kB / 0.5634 GB, free: 14.66 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.156, allocations: 4 kB / 0.5634 GB, free: 14.66 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007256/0.1567, allocations: 305 kB / 0.5637 GB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.1567, allocations: 7.984 kB / 0.5637 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1567, allocations: 4 kB / 0.5637 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1567, allocations: 0 / 0.5637 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.157, allocations: 51.95 kB / 0.5638 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.157, allocations: 4 kB / 0.5638 GB, free: 14.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1572, allocations: 23.97 kB / 0.5638 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.1572, allocations: 4 kB / 0.5638 GB, free: 14.26 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.0002234/0.1575, allocations: 215.8 kB / 0.564 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.1576, allocations: 67.58 kB / 0.5641 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008521/0.1584, allocations: 355.6 kB / 0.5644 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1585, allocations: 4.094 kB / 0.5644 GB, free: 13.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1585, allocations: 3.938 kB / 0.5644 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1585, allocations: 0 / 0.5644 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.1599, allocations: 0.9034 MB / 0.5653 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1599, allocations: 0 / 0.5653 GB, free: 12.65 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.1602, allocations: 55.88 kB / 0.5653 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.1602, allocations: 8 kB / 0.5653 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.055e-05/0.1602, allocations: 7.938 kB / 0.5654 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.1602, allocations: 4 kB / 0.5654 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1602, allocations: 3.938 kB / 0.5654 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000809/0.161, allocations: 483.8 kB / 0.5658 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.1612, allocations: 156.6 kB / 0.566 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.1612, allocations: 11.94 kB / 0.566 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.1615, allocations: 19.98 kB / 0.566 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.465e-05/0.1616, allocations: 15.97 kB / 0.566 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.1616, allocations: 15.98 kB / 0.566 GB, free: 11.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008107/0.1624, allocations: 0.6786 MB / 0.5667 GB, free: 11.18 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1624, allocations: 0 / 0.5667 GB, free: 11.18 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.1628, allocations: 59.98 kB / 0.5668 GB, free: 11.12 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.002577/0.1654, allocations: 1.322 MB / 0.568 GB, free: 9.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006661/0.1661, allocations: 211.8 kB / 0.5682 GB, free: 9.723 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.1661, allocations: 0 / 0.5682 GB, free: 9.723 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003101/0.1664, allocations: 116.4 kB / 0.5684 GB, free: 9.609 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006033/0.167, allocations: 83.69 kB / 0.5684 GB, free: 9.535 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007365/0.1743, allocations: 5.318 MB / 0.5736 GB, free: 4.113 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.1749, allocations: 0.8692 MB / 0.5745 GB, free: 3.215 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.1751, allocations: 83.22 kB / 0.5746 GB, free: 3.133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.1754, allocations: 195.3 kB / 0.5747 GB, free: 2.941 MB / 430.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1754, allocations: 0 / 0.5747 GB, free: 2.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.2064, allocations: 10.52 MB / 0.585 GB, free: 8.484 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.252/9.458, allocations: 9 kB / 0.585 GB, free: 8.477 MB / 446.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.980321797018405] 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'] 9.646629274997395 9.890362317 9.741005798 Calling exit ...