Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.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.001447/0.001447, allocations: 120.2 kB / 18.5 MB, free: 4.578 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.001356/0.001356, allocations: 205 kB / 21.45 MB, free: 1.629 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.559/1.559, allocations: 230.4 MB / 254.7 MB, free: 15.03 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.2551/0.2551, allocations: 46.93 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.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D",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.002309/0.002309, allocations: 75.88 kB / 0.4917 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1302, allocations: 66.05 MB / 0.5562 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D): time 0.003467/0.1337, allocations: 1.883 MB / 0.558 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.135, allocations: 0.7165 MB / 0.5587 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.459e-05/0.1351, allocations: 0 / 0.5587 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004776/0.1355, allocations: 167.5 kB / 0.5589 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004262/0.136, allocations: 183.2 kB / 0.559 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007391/0.1367, allocations: 320.9 kB / 0.5593 GB, free: 2.297 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003269/0.137, allocations: 231.4 kB / 0.5596 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/0.1372, allocations: 57.64 kB / 0.5596 GB, free: 2.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.1374, allocations: 107.6 kB / 0.5597 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1376, allocations: 147.5 kB / 0.5599 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.1376, allocations: 15.94 kB / 0.5599 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1377, allocations: 47.98 kB / 0.5599 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001464/0.1379, allocations: 123.5 kB / 0.56 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.138, allocations: 123 kB / 0.5602 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004019/0.1384, allocations: 298.5 kB / 0.5604 GB, free: 1.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1384, allocations: 4 kB / 0.5605 GB, free: 1.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1384, allocations: 0 / 0.5605 GB, free: 1.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1384, allocations: 0 / 0.5605 GB, free: 1.16 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001108/0.1395, allocations: 0.6843 MB / 0.5611 GB, free: 432 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.1396, allocations: 16.03 kB / 0.5611 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/0.1396, allocations: 42.73 kB / 0.5612 GB, free: 364 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.091e-05/0.1397, allocations: 36.7 kB / 0.5612 GB, free: 328 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000569/0.1403, allocations: 382.6 kB / 0.5616 GB, free: 15.91 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1403, allocations: 8.375 kB / 0.5616 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.1403, allocations: 8.375 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.1408, allocations: 179.8 kB / 0.5618 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.1408, allocations: 11.92 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.1409, allocations: 0 / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1409, allocations: 0 / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005416/0.1414, allocations: 155.8 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.1425, allocations: 0.6489 MB / 0.5626 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.1429, allocations: 149.1 kB / 0.5627 GB, free: 14.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.1432, allocations: 77.77 kB / 0.5628 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.1432, allocations: 11.98 kB / 0.5628 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1432, allocations: 30.56 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.212e-06/0.1432, allocations: 4 kB / 0.5628 GB, free: 14.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=18): time 0.002809/0.146, allocations: 0.7969 MB / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.1461, allocations: 81.11 kB / 0.5637 GB, free: 13.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007082/0.1468, allocations: 0.5955 MB / 0.5643 GB, free: 13.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.079e-05/0.1468, allocations: 33.7 kB / 0.5643 GB, free: 12.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.147, allocations: 200.4 kB / 0.5645 GB, free: 12.78 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.814e-05/0.1471, allocations: 67.64 kB / 0.5645 GB, free: 12.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.126e-05/0.1471, allocations: 41.7 kB / 0.5646 GB, free: 12.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1473, allocations: 358.7 kB / 0.5649 GB, free: 12.31 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.1478, allocations: 132 kB / 0.5651 GB, free: 12.18 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004965/0.1483, allocations: 157.6 kB / 0.5652 GB, free: 12.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000939/0.1492, allocations: 293.5 kB / 0.5655 GB, free: 11.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1492, allocations: 7.938 kB / 0.5655 GB, free: 11.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001081/0.1503, allocations: 369 kB / 0.5658 GB, free: 11.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1503, allocations: 4 kB / 0.5658 GB, free: 11.35 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1503, allocations: 3.984 kB / 0.5658 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1504, allocations: 8 kB / 0.5659 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.1507, allocations: 59.94 kB / 0.5659 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1507, allocations: 0 / 0.5659 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.151, allocations: 35.95 kB / 0.5659 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.035e-05/0.151, allocations: 7.984 kB / 0.566 GB, free: 11.23 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 (18): * Single equations (assignments): 18 * 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.0002058/0.1512, allocations: 193.7 kB / 0.5661 GB, free: 11.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.204e-05/0.1513, allocations: 43.7 kB / 0.5662 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.1525, allocations: 424.6 kB / 0.5666 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.1525, allocations: 4 kB / 0.5666 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1525, allocations: 0 / 0.5666 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1525, allocations: 0 / 0.5666 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.1543, allocations: 0.9112 MB / 0.5675 GB, free: 9.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1543, allocations: 4.281 kB / 0.5675 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002931/0.1546, allocations: 67.88 kB / 0.5676 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.1546, allocations: 0 / 0.5676 GB, free: 9.531 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.821e-05/0.1546, allocations: 7.938 kB / 0.5676 GB, free: 9.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1547, allocations: 4 kB / 0.5676 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1547, allocations: 0 / 0.5676 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.1558, allocations: 0.5275 MB / 0.5681 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.1559, allocations: 136.8 kB / 0.5682 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.021e-05/0.156, allocations: 7.938 kB / 0.5682 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/0.1563, allocations: 39.95 kB / 0.5683 GB, free: 8.781 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.43e-05/0.1564, allocations: 19.97 kB / 0.5683 GB, free: 8.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.1564, allocations: 11.88 kB / 0.5683 GB, free: 8.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004918/0.1569, allocations: 447.1 kB / 0.5687 GB, free: 8.316 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1569, allocations: 4 kB / 0.5687 GB, free: 8.312 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003562/0.1572, allocations: 51.98 kB / 0.5688 GB, free: 8.262 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 (18): * Single equations (assignments): 18 * 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.002954/0.1602, allocations: 1.377 MB / 0.5701 GB, free: 7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.1612, allocations: 299.7 kB / 0.5704 GB, free: 6.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1613, allocations: 0 / 0.5704 GB, free: 6.707 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005136/0.1618, allocations: 159.8 kB / 0.5705 GB, free: 6.551 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/0.1623, allocations: 45.78 kB / 0.5706 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006889/0.1692, allocations: 4.338 MB / 0.5748 GB, free: 2.074 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.1697, allocations: 0.8143 MB / 0.5756 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001962/0.1699, allocations: 70.25 kB / 0.5757 GB, free: 1.168 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.1701, allocations: 123.3 kB / 0.5758 GB, free: 1.047 MB / 430.1 MB Notification: Performance of SimCode: time 1.112e-06/0.1701, allocations: 0 / 0.5758 GB, free: 1.047 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.2007, allocations: 7.975 MB / 0.5836 GB, free: 9.18 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.601, allocations: 2.5 kB / 0.5836 GB, free: 9.18 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D_res.csv --start-time -1 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009994 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_OneSidedDerivative2D.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.OneSidedDerivative2D.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.090629043988883] Failed to read output from testmodel.py, exit status != 0: ['time', 'der1.y', 'der2.y', 'der3.y', 'der4.y'] 8.731047646142542 8.994269867 8.852880879 Calling exit ...