Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.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.001282/0.001282, allocations: 120 kB / 18.5 MB, free: 4.52 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.001373/0.001373, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.503/1.503, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] 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.2244/0.2244, allocations: 46.91 MB / 357.7 MB, free: 10.21 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.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",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.002299/0.002299, allocations: 79.86 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1399, allocations: 66.04 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003938/0.1438, allocations: 2.12 MB / 0.5582 GB, free: 3.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.1464, allocations: 1.398 MB / 0.5596 GB, free: 2.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1465, allocations: 11.94 kB / 0.5596 GB, free: 1.992 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1469, allocations: 63.48 kB / 0.5597 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005835/0.1474, allocations: 219 kB / 0.5599 GB, free: 1.715 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.1489, allocations: 0.6219 MB / 0.5605 GB, free: 1.109 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004719/0.1494, allocations: 350.9 kB / 0.5608 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.1495, allocations: 60.7 kB / 0.5609 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002675/0.1498, allocations: 151.3 kB / 0.561 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.1501, allocations: 227.1 kB / 0.5612 GB, free: 344 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.56e-05/0.1501, allocations: 12 kB / 0.5613 GB, free: 332 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1503, allocations: 71.92 kB / 0.5613 GB, free: 260 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001743/0.1504, allocations: 155.4 kB / 0.5615 GB, free: 104 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.1506, allocations: 190.6 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.1512, allocations: 445.6 kB / 0.5621 GB, free: 15.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1512, allocations: 0 / 0.5621 GB, free: 15.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1512, allocations: 0 / 0.5621 GB, free: 15.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1512, allocations: 0 / 0.5621 GB, free: 15.48 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.001224/0.1524, allocations: 0.8626 MB / 0.5629 GB, free: 14.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.1525, allocations: 8.031 kB / 0.5629 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.561e-05/0.1525, allocations: 46.73 kB / 0.563 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004338/0.153, allocations: 100.5 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007222/0.1537, allocations: 0.4969 MB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.1537, allocations: 8.375 kB / 0.5636 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/0.1538, allocations: 16.38 kB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.1541, allocations: 163.3 kB / 0.5637 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.1541, allocations: 0 / 0.5637 GB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.1541, allocations: 8 kB / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1541, allocations: 0 / 0.5637 GB, free: 13.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.1545, allocations: 131.7 kB / 0.5639 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.1556, allocations: 0.7308 MB / 0.5646 GB, free: 12.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.1559, allocations: 121.2 kB / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001665/0.156, allocations: 73.73 kB / 0.5648 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.851e-05/0.1561, allocations: 0 / 0.5648 GB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.1561, allocations: 34.56 kB / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1561, allocations: 0 / 0.5648 GB, free: 12.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=20): time 0.002191/0.1583, allocations: 0.7646 MB / 0.5656 GB, free: 11.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.765e-05/0.1583, allocations: 93.03 kB / 0.5656 GB, free: 11.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.1595, allocations: 0.9338 MB / 0.5666 GB, free: 10.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.1595, allocations: 25.7 kB / 0.5666 GB, free: 10.63 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.1597, allocations: 284.3 kB / 0.5668 GB, free: 10.34 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.413e-05/0.1598, allocations: 67.39 kB / 0.5669 GB, free: 10.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.764e-05/0.1599, allocations: 41.7 kB / 0.567 GB, free: 10.23 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.16, allocations: 318.2 kB / 0.5673 GB, free: 9.914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.1603, allocations: 107.9 kB / 0.5674 GB, free: 9.809 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003078/0.1606, allocations: 129.6 kB / 0.5675 GB, free: 9.676 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.1612, allocations: 249.5 kB / 0.5677 GB, free: 9.426 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1612, allocations: 4.156 kB / 0.5677 GB, free: 9.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007965/0.162, allocations: 353 kB / 0.5681 GB, free: 9.07 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.162, allocations: 7.938 kB / 0.5681 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.162, allocations: 0 / 0.5681 GB, free: 9.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1621, allocations: 4 kB / 0.5681 GB, free: 9.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.1624, allocations: 51.94 kB / 0.5681 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.1624, allocations: 0 / 0.5681 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002034/0.1626, allocations: 31.97 kB / 0.5682 GB, free: 8.977 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.1626, allocations: 8.172 kB / 0.5682 GB, free: 8.969 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.0002513/0.1628, allocations: 221.7 kB / 0.5684 GB, free: 8.742 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.163, allocations: 67.52 kB / 0.5684 GB, free: 8.676 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009263/0.1639, allocations: 411.3 kB / 0.5688 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1639, allocations: 0 / 0.5688 GB, free: 8.266 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1639, allocations: 4 kB / 0.5688 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1639, allocations: 0 / 0.5688 GB, free: 8.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.1655, allocations: 0.962 MB / 0.5698 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1655, allocations: 4 kB / 0.5698 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002673/0.1657, allocations: 55.89 kB / 0.5698 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.1657, allocations: 0 / 0.5698 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.1657, allocations: 7.984 kB / 0.5698 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.1658, allocations: 0 / 0.5698 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.1658, allocations: 11.94 kB / 0.5698 GB, free: 7.164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008435/0.1666, allocations: 0.508 MB / 0.5703 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.1668, allocations: 160.7 kB / 0.5705 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/0.1668, allocations: 8.375 kB / 0.5705 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000258/0.1671, allocations: 23.97 kB / 0.5705 GB, free: 6.434 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.1672, allocations: 23.91 kB / 0.5705 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1672, allocations: 7.938 kB / 0.5706 GB, free: 6.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007849/0.168, allocations: 0.6825 MB / 0.5712 GB, free: 5.727 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.168, allocations: 0 / 0.5712 GB, free: 5.727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.1683, allocations: 67.98 kB / 0.5713 GB, free: 5.66 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.002514/0.1709, allocations: 1.348 MB / 0.5726 GB, free: 4.422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00071/0.1716, allocations: 251.8 kB / 0.5728 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1716, allocations: 0 / 0.5728 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.1719, allocations: 139.8 kB / 0.573 GB, free: 4.039 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.1725, allocations: 84.92 kB / 0.5731 GB, free: 3.957 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007587/0.1801, allocations: 5.514 MB / 0.5784 GB, free: 14.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005323/0.1806, allocations: 0.8918 MB / 0.5793 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000266/0.1809, allocations: 111.2 kB / 0.5794 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002838/0.1812, allocations: 191.4 kB / 0.5796 GB, free: 13.13 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1812, allocations: 0 / 0.5796 GB, free: 13.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03666/0.2178, allocations: 10.77 MB / 0.5901 GB, free: 2.422 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.846/9.064, allocations: 13.2 kB / 0.5901 GB, free: 2.414 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.513947947882116] 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.189750277902931 9.484252621 9.328529433 Calling exit ...