Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001813/0.001813, allocations: 122.5 kB / 18.51 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.002176/0.002176, allocations: 215.2 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.574/1.574, 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.233/0.233, allocations: 46.93 MB / 357.7 MB, free: 10.29 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",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.002273/0.002273, allocations: 83.86 kB / 0.4917 GB, free: 7.793 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1332, allocations: 66.04 MB / 0.5562 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.003197/0.1364, allocations: 1.603 MB / 0.5577 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001196/0.1376, allocations: 0.5644 MB / 0.5583 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.1377, allocations: 0 / 0.5583 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1379, allocations: 35.78 kB / 0.5583 GB, free: 3.402 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000287/0.1382, allocations: 71.69 kB / 0.5584 GB, free: 3.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003418/0.1386, allocations: 115 kB / 0.5585 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.1387, allocations: 79.75 kB / 0.5586 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.1388, allocations: 8 kB / 0.5586 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.393e-05/0.1389, allocations: 23.92 kB / 0.5586 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.851e-05/0.139, allocations: 43.7 kB / 0.5587 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.774e-05/0.139, allocations: 4 kB / 0.5587 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.1392, allocations: 95.94 kB / 0.5588 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.1392, allocations: 11.98 kB / 0.5588 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.1393, allocations: 27.81 kB / 0.5588 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002744/0.1395, allocations: 151.4 kB / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1396, allocations: 0 / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1396, allocations: 0 / 0.5589 GB, free: 2.785 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1396, allocations: 0 / 0.5589 GB, free: 2.785 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00055/0.1401, allocations: 406.8 kB / 0.5593 GB, free: 2.336 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.1402, allocations: 12.03 kB / 0.5593 GB, free: 2.324 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.1402, allocations: 34.75 kB / 0.5594 GB, free: 2.281 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.1402, allocations: 4.891 kB / 0.5594 GB, free: 2.277 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.1404, allocations: 208.1 kB / 0.5596 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1405, allocations: 4.375 kB / 0.5596 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.1405, allocations: 8.359 kB / 0.5596 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.1406, allocations: 63.95 kB / 0.5596 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1406, allocations: 7.875 kB / 0.5597 GB, free: 1.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1407, allocations: 4 kB / 0.5597 GB, free: 1.938 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.1407, allocations: 3.938 kB / 0.5597 GB, free: 1.934 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.281e-05/0.1408, allocations: 23.98 kB / 0.5597 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.1412, allocations: 292.9 kB / 0.56 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.1413, allocations: 50.48 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.1414, allocations: 28.94 kB / 0.56 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1414, allocations: 0 / 0.56 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1414, allocations: 30.56 kB / 0.5601 GB, free: 1.445 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.1414, allocations: 4 kB / 0.5601 GB, free: 1.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006406/0.1421, allocations: 181.3 kB / 0.5602 GB, free: 1.258 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.1421, allocations: 81.11 kB / 0.5603 GB, free: 1.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1423, allocations: 151.9 kB / 0.5605 GB, free: 1.004 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.1423, allocations: 29.7 kB / 0.5605 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.1424, allocations: 100.1 kB / 0.5606 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.1424, allocations: 23.78 kB / 0.5606 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.1425, allocations: 25.7 kB / 0.5606 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1426, allocations: 318.8 kB / 0.5609 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.145e-05/0.1427, allocations: 35.97 kB / 0.561 GB, free: 468 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1428, allocations: 45.69 kB / 0.561 GB, free: 416 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.143, allocations: 64.83 kB / 0.5611 GB, free: 348 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.143, allocations: 0 / 0.5611 GB, free: 348 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002455/0.1432, allocations: 109.6 kB / 0.5612 GB, free: 232 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.1432, allocations: 4.031 kB / 0.5612 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1432, allocations: 4 kB / 0.5612 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.1433, allocations: 4 kB / 0.5612 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1434, allocations: 19.92 kB / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1434, allocations: 320 / 0.5612 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.1434, allocations: 4 kB / 0.5612 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1434, allocations: 8 kB / 0.5612 GB, free: 188 kB / 414.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 (8): * Single equations (assignments): 8 * 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 9.488e-05/0.1435, allocations: 121.8 kB / 0.5613 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.1436, allocations: 7.953 kB / 0.5614 GB, free: 48 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003035/0.1439, allocations: 122.3 kB / 0.5615 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1439, allocations: 4 kB / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1439, allocations: 0 / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1439, allocations: 0 / 0.5615 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005296/0.1444, allocations: 398.3 kB / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1444, allocations: 0 / 0.5619 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.997e-05/0.1445, allocations: 27.92 kB / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1445, allocations: 0 / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.1445, allocations: 0 / 0.5619 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.1445, allocations: 7.938 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1445, allocations: 3.938 kB / 0.5619 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.1448, allocations: 191.5 kB / 0.5621 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.1448, allocations: 85.06 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.1448, allocations: 8.266 kB / 0.5622 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/0.1449, allocations: 11.94 kB / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.145, allocations: 0 / 0.5622 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.443e-06/0.145, allocations: 11.92 kB / 0.5622 GB, free: 15.09 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.1451, allocations: 113.3 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1451, allocations: 0 / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.1454, allocations: 43.86 kB / 0.5623 GB, free: 14.94 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 (7): * Single equations (assignments): 7 * 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.002197/0.1476, allocations: 1.115 MB / 0.5634 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002467/0.1478, allocations: 67.89 kB / 0.5635 GB, free: 13.9 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.1478, allocations: 3.938 kB / 0.5635 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.889e-05/0.1479, allocations: 39.97 kB / 0.5635 GB, free: 13.86 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.1483, allocations: 26.81 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.1502, allocations: 1.53 MB / 0.5651 GB, free: 12.22 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.1505, allocations: 0.7001 MB / 0.5657 GB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.658e-05/0.1506, allocations: 29.09 kB / 0.5658 GB, free: 11.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.1507, allocations: 27.42 kB / 0.5658 GB, free: 11.44 MB / 430.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1507, allocations: 0 / 0.5658 GB, free: 11.44 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.1759, allocations: 3.535 MB / 0.5692 GB, free: 7.941 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.889/8.065, allocations: 7 kB / 0.5692 GB, free: 7.941 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.264358049724251] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.192269042134285 8.214078422 8.070732764 Calling exit ...