Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001352/0.001352, 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.00138/0.00138, 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.497/1.497, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2278/0.2278, allocations: 46.92 MB / 357.7 MB, free: 10.23 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.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2",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.002292/0.002292, allocations: 87.83 kB / 0.4917 GB, free: 7.738 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1428, allocations: 66.04 MB / 0.5562 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003307/0.1461, allocations: 1.598 MB / 0.5577 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001064/0.1471, allocations: 0.541 MB / 0.5583 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.1472, allocations: 0 / 0.5583 GB, free: 3.414 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.1474, allocations: 31.78 kB / 0.5583 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.1477, allocations: 75.69 kB / 0.5584 GB, free: 3.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.148, allocations: 95.08 kB / 0.5585 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.1482, allocations: 67.77 kB / 0.5585 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1483, allocations: 8 kB / 0.5585 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.015e-05/0.1483, allocations: 23.92 kB / 0.5586 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.763e-05/0.1484, allocations: 23.84 kB / 0.5586 GB, free: 3.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1484, allocations: 4 kB / 0.5586 GB, free: 3.094 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.066e-05/0.1485, allocations: 31.92 kB / 0.5586 GB, free: 3.062 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.1485, allocations: 11.94 kB / 0.5586 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.1486, allocations: 23.8 kB / 0.5586 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1488, allocations: 79.66 kB / 0.5587 GB, free: 2.949 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1488, allocations: 3.938 kB / 0.5587 GB, free: 2.945 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1488, allocations: 4 kB / 0.5587 GB, free: 2.941 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.1488, allocations: 0 / 0.5587 GB, free: 2.941 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.0005214/0.1493, allocations: 391 kB / 0.5591 GB, free: 2.508 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.1493, allocations: 8.031 kB / 0.5591 GB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.102e-05/0.1494, allocations: 30.75 kB / 0.5591 GB, free: 2.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/0.1494, allocations: 12.83 kB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002166/0.1496, allocations: 196.2 kB / 0.5593 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.1496, allocations: 4.375 kB / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1497, allocations: 384 / 0.5593 GB, free: 2.215 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1498, allocations: 54.25 kB / 0.5594 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1498, allocations: 3.938 kB / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.1498, allocations: 0 / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1498, allocations: 0 / 0.5594 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.1499, allocations: 23.97 kB / 0.5594 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.1503, allocations: 276.8 kB / 0.5597 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.1505, allocations: 46.55 kB / 0.5597 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.1506, allocations: 20.84 kB / 0.5598 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.1506, allocations: 0 / 0.5598 GB, free: 1.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1506, allocations: 30.56 kB / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1506, allocations: 0 / 0.5598 GB, free: 1.691 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005969/0.1512, allocations: 145.5 kB / 0.5599 GB, free: 1.543 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1513, allocations: 51.41 kB / 0.56 GB, free: 1.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.1514, allocations: 152.7 kB / 0.5601 GB, free: 1.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.1514, allocations: 25.7 kB / 0.5601 GB, free: 1.289 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.1515, allocations: 100.1 kB / 0.5602 GB, free: 1.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.1515, allocations: 15.86 kB / 0.5603 GB, free: 1.172 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.462e-05/0.1516, allocations: 17.7 kB / 0.5603 GB, free: 1.148 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1517, allocations: 326.8 kB / 0.5606 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.009e-05/0.1518, allocations: 15.98 kB / 0.5606 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.1519, allocations: 23.92 kB / 0.5606 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.152, allocations: 44.83 kB / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.152, allocations: 0 / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001985/0.1522, allocations: 89.8 kB / 0.5607 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1522, allocations: 8 kB / 0.5608 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1522, allocations: 0 / 0.5608 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.1522, allocations: 0 / 0.5608 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.783e-05/0.1523, allocations: 12 kB / 0.5608 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1523, allocations: 3.984 kB / 0.5608 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.024e-05/0.1523, allocations: 7.938 kB / 0.5608 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1523, allocations: 3.938 kB / 0.5608 GB, free: 0.6055 MB / 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 (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 9.358e-05/0.1524, allocations: 117.8 kB / 0.5609 GB, free: 492 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.1525, allocations: 15.89 kB / 0.5609 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.1527, allocations: 93.95 kB / 0.561 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1527, allocations: 0 / 0.561 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1527, allocations: 0 / 0.561 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1527, allocations: 0 / 0.561 GB, free: 372 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004612/0.1532, allocations: 342.5 kB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1532, allocations: 4 kB / 0.5613 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.057e-05/0.1533, allocations: 15.98 kB / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1533, allocations: 0 / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-06/0.1533, allocations: 4 kB / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1533, allocations: 0 / 0.5613 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.1533, allocations: 7.938 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.1535, allocations: 179.4 kB / 0.5615 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-05/0.1536, allocations: 81.06 kB / 0.5616 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.1536, allocations: 4.25 kB / 0.5616 GB, free: 15.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.1536, allocations: 11.98 kB / 0.5616 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.1537, allocations: 7.938 kB / 0.5616 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.1537, allocations: 0 / 0.5616 GB, free: 15.63 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.722e-05/0.1538, allocations: 119.2 kB / 0.5617 GB, free: 15.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1538, allocations: 0 / 0.5617 GB, free: 15.51 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.154, allocations: 15.94 kB / 0.5618 GB, free: 15.5 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.001938/0.156, allocations: 1.018 MB / 0.5627 GB, free: 14.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1562, allocations: 43.91 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1562, allocations: 4 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.1563, allocations: 28.11 kB / 0.5628 GB, free: 14.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.1566, allocations: 22.33 kB / 0.5628 GB, free: 14.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.1584, allocations: 1.433 MB / 0.5642 GB, free: 12.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.1588, allocations: 0.6885 MB / 0.5649 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.619e-05/0.1588, allocations: 19.95 kB / 0.5649 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.127e-05/0.1589, allocations: 23.44 kB / 0.565 GB, free: 12.23 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1589, allocations: 3.938 kB / 0.565 GB, free: 12.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02525/0.1841, allocations: 2.556 MB / 0.5675 GB, free: 9.719 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.99/8.174, allocations: 16.42 kB / 0.5675 GB, free: 9.711 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004998 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.34964879276231] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y'] 8.30153494188562 8.316984334 8.165173163 Calling exit ...