Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.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.001683/0.001683, 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.00208/0.00208, 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.503/1.503, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.2325/0.2325, allocations: 46.92 MB / 357.7 MB, free: 10.25 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.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test5,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5",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.002276/0.002276, allocations: 87.84 kB / 0.4917 GB, free: 7.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1251, allocations: 66.04 MB / 0.5562 GB, free: 5.594 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003346/0.1285, allocations: 1.657 MB / 0.5578 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1295, allocations: 0.5606 MB / 0.5583 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.231e-05/0.1296, allocations: 0 / 0.5583 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005889/0.1302, allocations: 451.1 kB / 0.5588 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004731/0.1306, allocations: 295.3 kB / 0.5591 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003466/0.131, allocations: 130.9 kB / 0.5592 GB, free: 2.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.1312, allocations: 163.6 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1313, allocations: 19.91 kB / 0.5594 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.1315, allocations: 119.7 kB / 0.5595 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.1317, allocations: 247.5 kB / 0.5597 GB, free: 1.965 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1318, allocations: 4 kB / 0.5597 GB, free: 1.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.443e-05/0.1319, allocations: 35.98 kB / 0.5597 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.132, allocations: 75.7 kB / 0.5598 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1321, allocations: 111 kB / 0.5599 GB, free: 1.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003699/0.1324, allocations: 266.5 kB / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1325, allocations: 0 / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1325, allocations: 0 / 0.5602 GB, free: 1.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.1325, allocations: 0 / 0.5602 GB, free: 1.48 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008612/0.1333, allocations: 0.6646 MB / 0.5608 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1334, allocations: 8.031 kB / 0.5608 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.1334, allocations: 38.75 kB / 0.5609 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.155e-05/0.1335, allocations: 44.61 kB / 0.5609 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.1338, allocations: 300.6 kB / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1338, allocations: 384 / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.1338, allocations: 4.375 kB / 0.5612 GB, free: 336 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.134, allocations: 58.17 kB / 0.5613 GB, free: 272 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.134, allocations: 7.938 kB / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.976e-06/0.134, allocations: 0 / 0.5613 GB, free: 264 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.134, allocations: 4 kB / 0.5613 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.1341, allocations: 27.95 kB / 0.5613 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.1347, allocations: 396.6 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.1349, allocations: 42.5 kB / 0.5617 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.135, allocations: 24.94 kB / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.135, allocations: 0 / 0.5617 GB, free: 15.71 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.135, allocations: 30.56 kB / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.135, allocations: 0 / 0.5618 GB, free: 15.67 MB / 430.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006675/0.1357, allocations: 228.7 kB / 0.562 GB, free: 15.44 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.1357, allocations: 55.41 kB / 0.562 GB, free: 15.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/0.1366, allocations: 0.8776 MB / 0.5629 GB, free: 14.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.1366, allocations: 25.7 kB / 0.5629 GB, free: 14.45 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.1368, allocations: 228.1 kB / 0.5631 GB, free: 14.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.1368, allocations: 15.84 kB / 0.5632 GB, free: 14.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/0.1369, allocations: 17.7 kB / 0.5632 GB, free: 14.19 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.1371, allocations: 366.7 kB / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.211e-05/0.1371, allocations: 19.98 kB / 0.5635 GB, free: 13.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1372, allocations: 20.17 kB / 0.5636 GB, free: 13.78 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.1373, allocations: 52.77 kB / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1373, allocations: 0 / 0.5636 GB, free: 13.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002289/0.1376, allocations: 121.3 kB / 0.5637 GB, free: 13.6 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1376, allocations: 7.938 kB / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.1376, allocations: 0 / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1376, allocations: 4 kB / 0.5637 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.1377, allocations: 15.98 kB / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.1377, allocations: 0 / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.131e-05/0.1377, allocations: 7.984 kB / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1377, allocations: 0 / 0.5638 GB, free: 13.57 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0002163/0.138, allocations: 217.7 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.138, allocations: 43.72 kB / 0.564 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.1383, allocations: 141.1 kB / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1383, allocations: 0 / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1383, allocations: 0 / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1383, allocations: 0 / 0.5641 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.1389, allocations: 470.4 kB / 0.5646 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1389, allocations: 0 / 0.5646 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.056e-05/0.139, allocations: 15.98 kB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.139, allocations: 0 / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.139, allocations: 4.188 kB / 0.5646 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.139, allocations: 7.938 kB / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.139, allocations: 0 / 0.5646 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002739/0.1393, allocations: 215.2 kB / 0.5648 GB, free: 12.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.09e-05/0.1394, allocations: 120.8 kB / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.541e-05/0.1394, allocations: 3.938 kB / 0.5649 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.1395, allocations: 11.94 kB / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.638e-05/0.1395, allocations: 11.92 kB / 0.565 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.1395, allocations: 0 / 0.565 GB, free: 12.22 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006508/0.1402, allocations: 0.6589 MB / 0.5656 GB, free: 11.56 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1402, allocations: 0 / 0.5656 GB, free: 11.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1404, allocations: 24 kB / 0.5656 GB, free: 11.54 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.001916/0.1423, allocations: 1.045 MB / 0.5667 GB, free: 10.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.1425, allocations: 47.91 kB / 0.5667 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1425, allocations: 0 / 0.5667 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.503e-05/0.1426, allocations: 23.98 kB / 0.5667 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000384/0.143, allocations: 34.17 kB / 0.5668 GB, free: 10.51 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.1467, allocations: 3.248 MB / 0.5699 GB, free: 7.164 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004711/0.1472, allocations: 0.8299 MB / 0.5707 GB, free: 6.309 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.888e-05/0.1472, allocations: 8 kB / 0.5707 GB, free: 6.301 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/0.1474, allocations: 103.4 kB / 0.5708 GB, free: 6.203 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1474, allocations: 4 kB / 0.5708 GB, free: 6.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02757/0.1749, allocations: 6.089 MB / 0.5768 GB, free: 168 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/8.958, allocations: 5.406 kB / 0.5768 GB, free: 164 kB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Ds_Test5.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.094056171830744] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y', 'd_t_new.y', 'const.y', 'clock.y'] 9.082215809263289 9.105558509 8.96878697 Calling exit ...