Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.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.001736/0.001736, 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.002104/0.002104, 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.445/1.445, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2653/0.2653, allocations: 46.93 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.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test18,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable1Dv_Test18",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.003473/0.003473, allocations: 79.86 kB / 0.4917 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1757, allocations: 66.03 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.003076/0.1788, allocations: 1.618 MB / 0.5578 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001776/0.1805, allocations: 1.194 MB / 0.5589 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.079e-05/0.1806, allocations: 0 / 0.5589 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.1808, allocations: 19.86 kB / 0.5589 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.1811, allocations: 87.61 kB / 0.559 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1814, allocations: 115.3 kB / 0.5591 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1815, allocations: 79.77 kB / 0.5592 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.1816, allocations: 23.97 kB / 0.5592 GB, free: 2.379 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.467e-05/0.1817, allocations: 31.86 kB / 0.5593 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.1818, allocations: 39.77 kB / 0.5593 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1819, allocations: 4 kB / 0.5593 GB, free: 2.305 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001692/0.182, allocations: 99.92 kB / 0.5594 GB, free: 2.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.1821, allocations: 19.94 kB / 0.5594 GB, free: 2.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.1821, allocations: 35.73 kB / 0.5595 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1824, allocations: 155.4 kB / 0.5596 GB, free: 2 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1824, allocations: 0 / 0.5596 GB, free: 2 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1824, allocations: 0 / 0.5596 GB, free: 2 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1824, allocations: 0 / 0.5596 GB, free: 2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005606/0.183, allocations: 414.7 kB / 0.56 GB, free: 1.543 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.183, allocations: 15.97 kB / 0.56 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.566e-05/0.183, allocations: 42.73 kB / 0.5601 GB, free: 1.477 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.1831, allocations: 8.891 kB / 0.5601 GB, free: 1.469 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.1833, allocations: 200.2 kB / 0.5602 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.135e-06/0.1833, allocations: 4.375 kB / 0.5603 GB, free: 1.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.1833, allocations: 4.375 kB / 0.5603 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.1835, allocations: 75.95 kB / 0.5603 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.1835, allocations: 7.891 kB / 0.5603 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.1836, allocations: 0 / 0.5603 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1836, allocations: 4 kB / 0.5603 GB, free: 1.129 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.1837, allocations: 43.89 kB / 0.5604 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004526/0.1841, allocations: 308.8 kB / 0.5607 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001408/0.1843, allocations: 62.56 kB / 0.5607 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.056e-05/0.1843, allocations: 24.97 kB / 0.5608 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.1843, allocations: 0 / 0.5608 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.1844, allocations: 38.56 kB / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.1844, allocations: 0 / 0.5608 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007019/0.1851, allocations: 193.3 kB / 0.561 GB, free: 404 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1851, allocations: 81.11 kB / 0.5611 GB, free: 304 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1853, allocations: 155.5 kB / 0.5612 GB, free: 140 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.1853, allocations: 25.7 kB / 0.5612 GB, free: 108 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.1854, allocations: 100.1 kB / 0.5613 GB, free: 4 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.976e-05/0.1855, allocations: 31.92 kB / 0.5614 GB, free: 15.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.1855, allocations: 21.7 kB / 0.5614 GB, free: 15.94 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1857, allocations: 326.6 kB / 0.5617 GB, free: 15.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.177e-05/0.1857, allocations: 27.98 kB / 0.5617 GB, free: 15.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.1858, allocations: 45.69 kB / 0.5618 GB, free: 15.54 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.186, allocations: 72.8 kB / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.186, allocations: 0 / 0.5618 GB, free: 15.46 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002469/0.1863, allocations: 113.5 kB / 0.5619 GB, free: 15.35 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.1863, allocations: 8 kB / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.1863, allocations: 0 / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.1863, allocations: 0 / 0.5619 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.1864, allocations: 19.98 kB / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.1864, allocations: 0 / 0.562 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.102e-05/0.1865, allocations: 15.88 kB / 0.562 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1865, allocations: 0 / 0.562 GB, free: 15.3 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.0001089/0.1866, allocations: 125.8 kB / 0.5621 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.1866, allocations: 11.91 kB / 0.5621 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003166/0.187, allocations: 126.6 kB / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.187, allocations: 0 / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.187, allocations: 0 / 0.5622 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.187, allocations: 12.3 kB / 0.5622 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005581/0.1875, allocations: 402.5 kB / 0.5626 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1875, allocations: 4 kB / 0.5626 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/0.1876, allocations: 15.98 kB / 0.5626 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.1876, allocations: 7.938 kB / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.1876, allocations: 0 / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.1876, allocations: 0 / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1876, allocations: 0 / 0.5627 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.1879, allocations: 211.4 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.188, allocations: 89.05 kB / 0.5629 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.188, allocations: 7.938 kB / 0.5629 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.1881, allocations: 4 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.1881, allocations: 7.984 kB / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1881, allocations: 0 / 0.563 GB, free: 14.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001309/0.1882, allocations: 129.6 kB / 0.5631 GB, free: 14.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1882, allocations: 0 / 0.5631 GB, free: 14.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.1886, allocations: 35.88 kB / 0.5631 GB, free: 14.03 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 (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.002242/0.1908, allocations: 1.129 MB / 0.5642 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.191, allocations: 71.95 kB / 0.5643 GB, free: 12.97 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1911, allocations: 4 kB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1912, allocations: 35.92 kB / 0.5643 GB, free: 12.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1915, allocations: 18.17 kB / 0.5643 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.1935, allocations: 1.55 MB / 0.5659 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1938, allocations: 0.6963 MB / 0.5665 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.381e-05/0.1939, allocations: 24.72 kB / 0.5666 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-05/0.194, allocations: 35.41 kB / 0.5666 GB, free: 10.5 MB / 430.1 MB Notification: Performance of SimCode: time 4.5e-07/0.194, allocations: 0 / 0.5666 GB, free: 10.5 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.224, allocations: 3.485 MB / 0.57 GB, free: 7.043 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.052/8.276, allocations: 17.59 kB / 0.57 GB, free: 7.031 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18_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_Test18.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.336236745119095] 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'] 8.401443492155522 8.42318704 8.236682459 Calling exit ...