Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.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.001541/0.001541, 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.001697/0.001697, 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.505/1.505, 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.2339/0.2339, allocations: 46.94 MB / 357.7 MB, free: 10.19 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.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test34,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test34",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.002353/0.002353, allocations: 83.86 kB / 0.4917 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.135, allocations: 66.04 MB / 0.5562 GB, free: 5.516 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003048/0.1381, allocations: 1.62 MB / 0.5578 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001032/0.1391, allocations: 0.5566 MB / 0.5583 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.1392, allocations: 0 / 0.5583 GB, free: 3.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.1394, allocations: 79.77 kB / 0.5584 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.1397, allocations: 99.59 kB / 0.5585 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.14, allocations: 111.1 kB / 0.5586 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.1402, allocations: 91.73 kB / 0.5587 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.1403, allocations: 15.94 kB / 0.5587 GB, free: 2.934 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.1403, allocations: 39.83 kB / 0.5587 GB, free: 2.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001078/0.1405, allocations: 55.81 kB / 0.5588 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1405, allocations: 8 kB / 0.5588 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.275e-05/0.1406, allocations: 43.98 kB / 0.5588 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.1406, allocations: 23.86 kB / 0.5589 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.512e-05/0.1407, allocations: 39.72 kB / 0.5589 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1408, allocations: 103.5 kB / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1409, allocations: 0 / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1409, allocations: 0 / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1409, allocations: 0 / 0.559 GB, free: 2.625 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.0005155/0.1414, allocations: 422.7 kB / 0.5594 GB, free: 2.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.1414, allocations: 12.03 kB / 0.5594 GB, free: 2.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.1415, allocations: 38.75 kB / 0.5594 GB, free: 2.102 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.1415, allocations: 12.84 kB / 0.5595 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.1417, allocations: 204.8 kB / 0.5597 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.737e-06/0.1417, allocations: 384 / 0.5597 GB, free: 1.848 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.1417, allocations: 4.375 kB / 0.5597 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.1419, allocations: 58.17 kB / 0.5597 GB, free: 1.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1419, allocations: 3.938 kB / 0.5597 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.1419, allocations: 0 / 0.5597 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1419, allocations: 4 kB / 0.5597 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.142, allocations: 31.97 kB / 0.5598 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.1424, allocations: 296.8 kB / 0.56 GB, free: 1.402 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.1426, allocations: 54.47 kB / 0.5601 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.1426, allocations: 12.86 kB / 0.5601 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1426, allocations: 4 kB / 0.5601 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.504e-05/0.1427, allocations: 38.64 kB / 0.5601 GB, free: 1.273 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1427, allocations: 0 / 0.5601 GB, free: 1.273 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009499/0.1436, allocations: 233.2 kB / 0.5604 GB, free: 1.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1437, allocations: 59.41 kB / 0.5604 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.1439, allocations: 214.3 kB / 0.5606 GB, free: 0.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.1439, allocations: 33.64 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.972e-05/0.144, allocations: 104.1 kB / 0.5608 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.176e-05/0.144, allocations: 35.8 kB / 0.5608 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.351e-05/0.1441, allocations: 21.72 kB / 0.5608 GB, free: 0.543 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1442, allocations: 334.7 kB / 0.5611 GB, free: 212 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.274e-05/0.1443, allocations: 31.97 kB / 0.5612 GB, free: 180 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.012e-05/0.1444, allocations: 27.98 kB / 0.5612 GB, free: 152 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.1446, allocations: 72.81 kB / 0.5613 GB, free: 76 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1446, allocations: 0 / 0.5613 GB, free: 76 kB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002482/0.1448, allocations: 105.8 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1448, allocations: 4 kB / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1449, allocations: 80 / 0.5614 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1449, allocations: 8 kB / 0.5614 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001102/0.145, allocations: 23.92 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.145, allocations: 3.984 kB / 0.5614 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.386e-05/0.145, allocations: 7.938 kB / 0.5614 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1451, allocations: 11.92 kB / 0.5614 GB, free: 15.91 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 (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 0.0001014/0.1452, allocations: 121.8 kB / 0.5615 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.1452, allocations: 15.91 kB / 0.5615 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/0.1455, allocations: 139 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1455, allocations: 0 / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1455, allocations: 0 / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1455, allocations: 3.938 kB / 0.5617 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000578/0.1461, allocations: 419.2 kB / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1461, allocations: 0 / 0.5621 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.677e-05/0.1462, allocations: 23.98 kB / 0.5621 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1462, allocations: 4.031 kB / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.1462, allocations: 3.938 kB / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1462, allocations: 4 kB / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1462, allocations: 0 / 0.5621 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002897/0.1465, allocations: 216.2 kB / 0.5623 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.1465, allocations: 93.02 kB / 0.5624 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1466, allocations: 3.938 kB / 0.5624 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.725e-05/0.1466, allocations: 7.984 kB / 0.5624 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.1467, allocations: 8 kB / 0.5624 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.1467, allocations: 3.938 kB / 0.5624 GB, free: 14.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.1468, allocations: 164.2 kB / 0.5626 GB, free: 14.58 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1468, allocations: 0 / 0.5626 GB, free: 14.58 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1471, allocations: 27.92 kB / 0.5626 GB, free: 14.55 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 (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 Backend phase and start with SimCode phase: time 0.002183/0.1493, allocations: 1.091 MB / 0.5637 GB, free: 13.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002602/0.1495, allocations: 75.92 kB / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1495, allocations: 0 / 0.5638 GB, free: 13.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1496, allocations: 35.92 kB / 0.5638 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.15, allocations: 18.66 kB / 0.5638 GB, free: 13.47 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002094/0.1521, allocations: 1.731 MB / 0.5655 GB, free: 11.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1524, allocations: 0.7119 MB / 0.5662 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.785e-05/0.1525, allocations: 20.66 kB / 0.5662 GB, free: 10.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.338e-05/0.1526, allocations: 31.42 kB / 0.5662 GB, free: 10.87 MB / 430.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1526, allocations: 0 / 0.5662 GB, free: 10.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.1772, allocations: 3.201 MB / 0.5694 GB, free: 7.734 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.907/8.084, allocations: 3.984 kB / 0.5694 GB, free: 7.73 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34_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_Test34.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.26822491409257] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'd2_t_new.y', 'clock.y'] 8.20334332762286 8.231329361 8.085639026 Calling exit ...