Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001861/0.001861, allocations: 123.6 kB / 18.45 MB, free: 4.633 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.001702/0.001701, allocations: 205.7 kB / 21.41 MB, free: 1.684 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.484/1.484, allocations: 227.4 MB / 251.7 MB, free: 96 kB / 190.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.2308/0.2308, allocations: 46.15 MB / 351.1 MB, free: 14.32 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.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31",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.00353/0.003531, allocations: 79.14 kB / 489.7 MB, free: 28.38 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1594, allocations: 62.45 MB / 0.5392 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.004076/0.1635, allocations: 1.611 MB / 0.5408 GB, free: 3.137 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.165, allocations: 0.5489 MB / 0.5413 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.1651, allocations: 3.938 kB / 0.5413 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004448/0.1656, allocations: 119.7 kB / 0.5414 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004323/0.166, allocations: 127.5 kB / 0.5415 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004437/0.1665, allocations: 111.2 kB / 0.5417 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.1667, allocations: 99.78 kB / 0.5417 GB, free: 2.137 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1669, allocations: 27.84 kB / 0.5418 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.475e-05/0.167, allocations: 47.89 kB / 0.5418 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.1671, allocations: 79.8 kB / 0.5419 GB, free: 1.984 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.866e-05/0.1672, allocations: 4 kB / 0.5419 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001495/0.1673, allocations: 51.91 kB / 0.5419 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.511e-05/0.1674, allocations: 23.92 kB / 0.542 GB, free: 1.906 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.055e-05/0.1675, allocations: 39.67 kB / 0.542 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.1678, allocations: 127.4 kB / 0.5421 GB, free: 1.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1678, allocations: 0 / 0.5421 GB, free: 1.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1678, allocations: 0 / 0.5421 GB, free: 1.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1678, allocations: 0 / 0.5421 GB, free: 1.742 MB / 398.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.0007589/0.1686, allocations: 450.4 kB / 0.5426 GB, free: 1.25 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.1687, allocations: 8.031 kB / 0.5426 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.425e-05/0.1687, allocations: 38.75 kB / 0.5426 GB, free: 1.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.1688, allocations: 12.84 kB / 0.5426 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1691, allocations: 215.8 kB / 0.5428 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1692, allocations: 384 / 0.5428 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.1692, allocations: 4.375 kB / 0.5428 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1694, allocations: 62.16 kB / 0.5429 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.1694, allocations: 3.938 kB / 0.5429 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1694, allocations: 4 kB / 0.5429 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.886e-06/0.1694, allocations: 4 kB / 0.5429 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001486/0.1696, allocations: 31.95 kB / 0.5429 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.1702, allocations: 300.8 kB / 0.5432 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1704, allocations: 50.5 kB / 0.5433 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.654e-05/0.1705, allocations: 24.94 kB / 0.5433 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1706, allocations: 3.984 kB / 0.5433 GB, free: 396 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1706, allocations: 30.56 kB / 0.5433 GB, free: 356 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1706, allocations: 0 / 0.5433 GB, free: 356 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00129/0.1719, allocations: 253.1 kB / 0.5436 GB, free: 96 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.172, allocations: 51.41 kB / 0.5436 GB, free: 32 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.1724, allocations: 279.8 kB / 0.5439 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1724, allocations: 25.7 kB / 0.5439 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.1726, allocations: 112.1 kB / 0.544 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.1726, allocations: 31.81 kB / 0.544 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.278e-05/0.1727, allocations: 25.7 kB / 0.5441 GB, free: 15.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000229/0.173, allocations: 338.7 kB / 0.5444 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1731, allocations: 35.91 kB / 0.5444 GB, free: 15.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.1733, allocations: 27.92 kB / 0.5444 GB, free: 15.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.1736, allocations: 80.81 kB / 0.5445 GB, free: 15.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1736, allocations: 0 / 0.5445 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003551/0.174, allocations: 113.6 kB / 0.5446 GB, free: 14.93 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.174, allocations: 8 kB / 0.5446 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.174, allocations: 0 / 0.5446 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.174, allocations: 0 / 0.5446 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.1742, allocations: 19.98 kB / 0.5447 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1742, allocations: 3.938 kB / 0.5447 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.593e-05/0.1743, allocations: 4 kB / 0.5447 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.1743, allocations: 7.922 kB / 0.5447 GB, free: 14.89 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 (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.0001593/0.1745, allocations: 133.8 kB / 0.5448 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.073e-05/0.1746, allocations: 15.91 kB / 0.5448 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004588/0.175, allocations: 143.3 kB / 0.545 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.1751, allocations: 4 kB / 0.545 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.1751, allocations: 0 / 0.545 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.1751, allocations: 0 / 0.545 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/0.1759, allocations: 427.2 kB / 0.5454 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.1759, allocations: 4.031 kB / 0.5454 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.176, allocations: 23.92 kB / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.1761, allocations: 0 / 0.5454 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.1761, allocations: 7.938 kB / 0.5454 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1761, allocations: 0 / 0.5454 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1761, allocations: 0 / 0.5454 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004673/0.1766, allocations: 220.2 kB / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.62e-05/0.1767, allocations: 89.02 kB / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.1767, allocations: 15.88 kB / 0.5457 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1769, allocations: 7.984 kB / 0.5457 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.1769, allocations: 0 / 0.5457 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.177, allocations: 4 kB / 0.5457 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00032/0.1773, allocations: 213.5 kB / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1773, allocations: 0 / 0.5459 GB, free: 13.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003948/0.1777, allocations: 19.94 kB / 0.5459 GB, free: 13.48 MB / 414.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.003154/0.1809, allocations: 1.11 MB / 0.547 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003787/0.1813, allocations: 71.95 kB / 0.5471 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.1813, allocations: 4 kB / 0.5471 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001515/0.1815, allocations: 43.91 kB / 0.5471 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005833/0.1821, allocations: 25.97 kB / 0.5472 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.1854, allocations: 1.86 MB / 0.549 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.1859, allocations: 0.7274 MB / 0.5497 GB, free: 9.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.1861, allocations: 16.66 kB / 0.5497 GB, free: 9.652 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.1862, allocations: 43.41 kB / 0.5498 GB, free: 9.609 MB / 414.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1862, allocations: 0 / 0.5498 GB, free: 9.609 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02784/0.2141, allocations: 3.446 MB / 0.5531 GB, free: 6.262 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.878/8.092, allocations: 7.266 kB / 0.5531 GB, free: 6.258 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0029988 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test31.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.188065205002204] Failed to read output from testmodel.py, exit status != 0: ['time', 't_new.y[1]', 'd_t_new.y', 'clock.y', 'd2_t_new.y'] 8.217352552921511 8.244880728 8.072097584 Calling exit ...