Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.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.001722/0.001722, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.002003/0.002003, allocations: 215.2 kB / 21.46 MB, free: 1.59 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.65/1.65, 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.2679/0.2679, allocations: 46.92 MB / 357.7 MB, free: 10.22 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.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test22,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22",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.002267/0.002267, allocations: 83.86 kB / 0.4917 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1386, allocations: 66.04 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003936/0.1426, allocations: 2.049 MB / 0.5582 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002362/0.1449, allocations: 1.36 MB / 0.5595 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.145, allocations: 0 / 0.5595 GB, free: 2.137 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.1453, allocations: 63.5 kB / 0.5596 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.1458, allocations: 207.1 kB / 0.5598 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.1471, allocations: 0.6019 MB / 0.5603 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004485/0.1475, allocations: 319 kB / 0.5606 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.1477, allocations: 68.69 kB / 0.5607 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002469/0.1479, allocations: 139.4 kB / 0.5608 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.1482, allocations: 207.2 kB / 0.561 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.764e-05/0.1483, allocations: 16 kB / 0.5611 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.1484, allocations: 63.97 kB / 0.5611 GB, free: 500 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.1486, allocations: 151.4 kB / 0.5613 GB, free: 348 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001618/0.1487, allocations: 174.6 kB / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00051/0.1492, allocations: 425.8 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1493, allocations: 0 / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.447e-06/0.1493, allocations: 4 kB / 0.5618 GB, free: 15.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1493, allocations: 0 / 0.5618 GB, free: 15.75 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.001146/0.1504, allocations: 0.8237 MB / 0.5626 GB, free: 14.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1505, allocations: 15.97 kB / 0.5627 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.1505, allocations: 46.67 kB / 0.5627 GB, free: 14.8 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002769/0.1508, allocations: 76.5 kB / 0.5628 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.1515, allocations: 493.1 kB / 0.5632 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.1515, allocations: 8.375 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.189e-05/0.1515, allocations: 12.38 kB / 0.5633 GB, free: 14.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.1518, allocations: 151.2 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.1519, allocations: 0 / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1519, allocations: 4 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1519, allocations: 4 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002334/0.1521, allocations: 95.92 kB / 0.5635 GB, free: 13.92 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009786/0.1531, allocations: 0.7073 MB / 0.5642 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.1533, allocations: 121.2 kB / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.1534, allocations: 41.81 kB / 0.5644 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.1535, allocations: 7.938 kB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.068e-05/0.1535, allocations: 34.56 kB / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1535, allocations: 0 / 0.5644 GB, free: 12.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001506/0.155, allocations: 0.5773 MB / 0.565 GB, free: 12.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.1551, allocations: 81.11 kB / 0.565 GB, free: 12.24 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.1562, allocations: 0.926 MB / 0.5659 GB, free: 11.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1563, allocations: 25.7 kB / 0.566 GB, free: 11.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002402/0.1565, allocations: 280.3 kB / 0.5662 GB, free: 10.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.591e-05/0.1566, allocations: 59.53 kB / 0.5663 GB, free: 10.93 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.852e-05/0.1566, allocations: 29.7 kB / 0.5663 GB, free: 10.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1568, allocations: 318 kB / 0.5666 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.157, allocations: 67.89 kB / 0.5667 GB, free: 10.52 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.1572, allocations: 78.94 kB / 0.5668 GB, free: 10.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000366/0.1575, allocations: 157.6 kB / 0.5669 GB, free: 10.27 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1575, allocations: 3.938 kB / 0.5669 GB, free: 10.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005238/0.1581, allocations: 245.3 kB / 0.5672 GB, free: 10.02 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1581, allocations: 4 kB / 0.5672 GB, free: 10.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.1581, allocations: 8 kB / 0.5672 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1581, allocations: 0 / 0.5672 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.1583, allocations: 43.91 kB / 0.5672 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1583, allocations: 0 / 0.5672 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.1584, allocations: 11.98 kB / 0.5672 GB, free: 9.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.1585, allocations: 4 kB / 0.5672 GB, free: 9.953 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 (16): * Single equations (assignments): 16 * 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.0002473/0.1587, allocations: 221.7 kB / 0.5674 GB, free: 9.727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.1588, allocations: 63.58 kB / 0.5675 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006514/0.1595, allocations: 291.6 kB / 0.5678 GB, free: 9.367 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1595, allocations: 4 kB / 0.5678 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1595, allocations: 3.938 kB / 0.5678 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1595, allocations: 0 / 0.5678 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.1607, allocations: 0.8334 MB / 0.5686 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1607, allocations: 0 / 0.5686 GB, free: 8.469 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001636/0.1609, allocations: 35.97 kB / 0.5686 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1609, allocations: 0 / 0.5686 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.1609, allocations: 4 kB / 0.5686 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1609, allocations: 0 / 0.5686 GB, free: 8.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.1609, allocations: 11.88 kB / 0.5686 GB, free: 8.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.1615, allocations: 422.2 kB / 0.569 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.1617, allocations: 160.7 kB / 0.5692 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.1617, allocations: 0 / 0.5692 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.1619, allocations: 19.98 kB / 0.5692 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.162, allocations: 15.92 kB / 0.5692 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.162, allocations: 4 kB / 0.5692 GB, free: 7.773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0008207/0.1628, allocations: 0.6825 MB / 0.5699 GB, free: 7.098 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1628, allocations: 0 / 0.5699 GB, free: 7.098 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003718/0.1632, allocations: 55.98 kB / 0.57 GB, free: 7.043 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 (16): * Single equations (assignments): 16 * 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.002282/0.1654, allocations: 1.256 MB / 0.5712 GB, free: 5.898 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004537/0.1659, allocations: 155.8 kB / 0.5713 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1659, allocations: 4 kB / 0.5713 GB, free: 5.742 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.1661, allocations: 83.88 kB / 0.5714 GB, free: 5.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006123/0.1667, allocations: 86.67 kB / 0.5715 GB, free: 5.574 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006746/0.1735, allocations: 5.2 MB / 0.5766 GB, free: 284 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005343/0.174, allocations: 0.876 MB / 0.5774 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002102/0.1742, allocations: 95.2 kB / 0.5775 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.1745, allocations: 179.4 kB / 0.5777 GB, free: 15.11 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1745, allocations: 0 / 0.5777 GB, free: 15.11 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/0.2089, allocations: 10.18 MB / 0.5876 GB, free: 4.992 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.638/8.847, allocations: 5.859 kB / 0.5876 GB, free: 4.992 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test22.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.527586690150201] 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', 'sine_R.y', 'const_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'sine_L.y', 'const_L.y'] 8.97135280398652 9.239841703 9.08757179 Calling exit ...