Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.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.001324/0.001324, allocations: 121.2 kB / 18.5 MB, free: 4.488 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.001717/0.001717, allocations: 214.6 kB / 21.46 MB, free: 1.535 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.493/1.493, 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.2397/0.2397, 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.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test6",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.002347/0.002347, allocations: 80.09 kB / 0.4917 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1316, allocations: 66.04 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003531/0.1351, allocations: 1.668 MB / 0.5578 GB, free: 3.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1364, allocations: 0.5489 MB / 0.5584 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.727e-05/0.1365, allocations: 4 kB / 0.5584 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003932/0.1369, allocations: 99.67 kB / 0.5585 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.1373, allocations: 115.6 kB / 0.5586 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003589/0.1376, allocations: 111 kB / 0.5587 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.1378, allocations: 111.7 kB / 0.5588 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.138, allocations: 23.98 kB / 0.5588 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/0.138, allocations: 51.77 kB / 0.5588 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1382, allocations: 67.75 kB / 0.5589 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.1382, allocations: 7.984 kB / 0.5589 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.1383, allocations: 47.98 kB / 0.559 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.1384, allocations: 19.92 kB / 0.559 GB, free: 2.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.1384, allocations: 39.69 kB / 0.559 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002575/0.1387, allocations: 143.3 kB / 0.5592 GB, free: 2.469 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.1387, allocations: 0 / 0.5592 GB, free: 2.469 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1387, allocations: 7.984 kB / 0.5592 GB, free: 2.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1387, allocations: 3.938 kB / 0.5592 GB, free: 2.457 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006319/0.1393, allocations: 438.6 kB / 0.5596 GB, free: 1.977 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1394, allocations: 8.031 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.197e-05/0.1394, allocations: 38.75 kB / 0.5596 GB, free: 1.922 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.1395, allocations: 12.84 kB / 0.5596 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002754/0.1398, allocations: 208.1 kB / 0.5598 GB, free: 1.668 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1398, allocations: 4.375 kB / 0.5598 GB, free: 1.664 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.1398, allocations: 12.36 kB / 0.5599 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.14, allocations: 74.23 kB / 0.5599 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.14, allocations: 7.891 kB / 0.5599 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.14, allocations: 0 / 0.5599 GB, free: 1.566 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.14, allocations: 4 kB / 0.5599 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1402, allocations: 47.95 kB / 0.56 GB, free: 1.516 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005649/0.1407, allocations: 348.7 kB / 0.5603 GB, free: 1.125 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.1409, allocations: 66.55 kB / 0.5604 GB, free: 1.051 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.713e-05/0.141, allocations: 20.84 kB / 0.5604 GB, free: 1.027 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.141, allocations: 7.938 kB / 0.5604 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.141, allocations: 30.56 kB / 0.5604 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 3.666e-06/0.141, allocations: 7.922 kB / 0.5604 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.001201/0.1422, allocations: 329.7 kB / 0.5608 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.1423, allocations: 59.34 kB / 0.5608 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.1426, allocations: 236 kB / 0.561 GB, free: 336 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1426, allocations: 33.69 kB / 0.5611 GB, free: 296 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.189e-05/0.1427, allocations: 112.1 kB / 0.5612 GB, free: 180 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/0.1428, allocations: 47.64 kB / 0.5612 GB, free: 132 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.1429, allocations: 25.72 kB / 0.5613 GB, free: 100 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1431, allocations: 326.8 kB / 0.5616 GB, free: 15.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.1432, allocations: 43.97 kB / 0.5616 GB, free: 15.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1433, allocations: 46.97 kB / 0.5616 GB, free: 15.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.1435, allocations: 112.7 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1435, allocations: 4 kB / 0.5618 GB, free: 15.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003298/0.1439, allocations: 157.7 kB / 0.5619 GB, free: 15.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1439, allocations: 4 kB / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1439, allocations: 0 / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.1439, allocations: 0 / 0.5619 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.1441, allocations: 27.92 kB / 0.5619 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1441, allocations: 4.234 kB / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1441, allocations: 3.984 kB / 0.5619 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.1442, allocations: 12 kB / 0.562 GB, free: 15.36 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 (13): * Single equations (assignments): 13 * 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.0001491/0.1443, allocations: 137.8 kB / 0.5621 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.235e-05/0.1444, allocations: 15.91 kB / 0.5621 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.1448, allocations: 198.4 kB / 0.5623 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.1448, allocations: 11.88 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1448, allocations: 0 / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1448, allocations: 3.938 kB / 0.5623 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007904/0.1456, allocations: 0.4952 MB / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1456, allocations: 0 / 0.5628 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.759e-05/0.1457, allocations: 27.98 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1457, allocations: 0 / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.1457, allocations: 4 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1457, allocations: 4 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1457, allocations: 0 / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003821/0.1461, allocations: 260.2 kB / 0.5631 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.1462, allocations: 93 kB / 0.5632 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.595e-05/0.1462, allocations: 4 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.961e-05/0.1463, allocations: 8 kB / 0.5632 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.1463, allocations: 7.984 kB / 0.5632 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.1463, allocations: 8 kB / 0.5632 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.1465, allocations: 181.2 kB / 0.5634 GB, free: 13.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1465, allocations: 0 / 0.5634 GB, free: 13.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.1468, allocations: 31.88 kB / 0.5634 GB, free: 13.77 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 (13): * Single equations (assignments): 13 * 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.002469/0.1493, allocations: 1.135 MB / 0.5645 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003205/0.1496, allocations: 107.9 kB / 0.5646 GB, free: 12.67 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.1496, allocations: 4 kB / 0.5646 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001351/0.1497, allocations: 63.84 kB / 0.5647 GB, free: 12.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.1502, allocations: 22.69 kB / 0.5647 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.1529, allocations: 1.913 MB / 0.5666 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.1533, allocations: 0.7235 MB / 0.5673 GB, free: 9.828 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.1534, allocations: 28.52 kB / 0.5673 GB, free: 9.801 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.1535, allocations: 47.42 kB / 0.5673 GB, free: 9.758 MB / 430.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1535, allocations: 4 kB / 0.5673 GB, free: 9.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.1804, allocations: 3.642 MB / 0.5709 GB, free: 6.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.076/8.256, allocations: 10.03 kB / 0.5709 GB, free: 6.172 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6_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_CombiTable1Dv_Test6.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.401874613016844] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 't_new.y[2]', 'd_t_new.y', 'clock.y', 'd_t_new2.y', 'd2_t_new.y', 'd2_t_new2.y'] 8.379115782678127 8.405152711 8.261560011 Calling exit ...