Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001316/0.001315, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001313/0.001313, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2244/0.2244, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB 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.003517/0.003518, allocations: 83.55 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1723, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.006313/0.1787, allocations: 1.681 MB / 481.9 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.1818, allocations: 1.005 MB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.1819, allocations: 4 kB / 482.9 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004257/0.1824, allocations: 59.73 kB / 483 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006188/0.1831, allocations: 103.6 kB / 483.1 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.1835, allocations: 71.67 kB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.1838, allocations: 111.7 kB / 483.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.411e-05/0.184, allocations: 4.234 kB / 483.3 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.1841, allocations: 47.78 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.1843, allocations: 47.77 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.1844, allocations: 4 kB / 483.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1845, allocations: 35.98 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.1846, allocations: 15.92 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.1847, allocations: 35.73 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.185, allocations: 107.9 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.185, allocations: 4 kB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.185, allocations: 0 / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.1851, allocations: 0 / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007939/0.1859, allocations: 406.9 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.589e-05/0.1859, allocations: 12.02 kB / 484 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.122e-05/0.186, allocations: 30.75 kB / 484 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.412e-05/0.1861, allocations: 20.78 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.1865, allocations: 208.7 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1865, allocations: 4.375 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.1865, allocations: 7.938 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/0.1868, allocations: 49.67 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1868, allocations: 0 / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1868, allocations: 4 kB / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1868, allocations: 0 / 484.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1869, allocations: 15.92 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002875/0.1872, allocations: 181.7 kB / 484.5 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.1875, allocations: 58.56 kB / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.94e-05/0.1876, allocations: 24.84 kB / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.1877, allocations: 0 / 484.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.188, allocations: 67.3 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 5.741e-06/0.188, allocations: 0 / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004591/0.1885, allocations: 97.52 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.1885, allocations: 55.41 kB / 484.8 MB, free: 392 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.1889, allocations: 190.4 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1889, allocations: 25.7 kB / 485 MB, free: 160 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.189, allocations: 108.1 kB / 485.1 MB, free: 48 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.342e-05/0.1891, allocations: 11.8 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/0.1892, allocations: 25.7 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002275/0.1894, allocations: 322.8 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.1895, allocations: 16 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.667e-05/0.1896, allocations: 29.7 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.1898, allocations: 45.64 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.1898, allocations: 3.938 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002657/0.1901, allocations: 81.53 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1901, allocations: 4 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.1901, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.1902, allocations: 8.031 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1903, allocations: 8 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1903, allocations: 4.297 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.594e-05/0.1904, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.1904, allocations: 4 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001661/0.1906, allocations: 132.2 kB / 485.8 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/0.1907, allocations: 19.8 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.462e-05/0.1907, allocations: 13 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.1908, allocations: 4 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1908, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1908, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002541/0.191, allocations: 193.5 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1911, allocations: 3.938 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.1911, allocations: 7.938 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.1911, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1911, allocations: 0 / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.1912, allocations: 4 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.1912, allocations: 0 / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004598/0.1916, allocations: 113 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-05/0.1918, allocations: 85.02 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.325e-05/0.1918, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.565e-05/0.1919, allocations: 3.984 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.1919, allocations: 4 kB / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.192, allocations: 0 / 486.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002289/0.1922, allocations: 148.2 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1922, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004116/0.1927, allocations: 31.91 kB / 486.4 MB, free: 14.62 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003034/0.1957, allocations: 0.9431 MB / 487.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.196, allocations: 47.91 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.196, allocations: 4 kB / 487.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.162e-05/0.1961, allocations: 16.06 kB / 487.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.1966, allocations: 34.2 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.1994, allocations: 1.498 MB / 488.9 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005451/0.2, allocations: 0.701 MB / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.924e-05/0.2001, allocations: 16.53 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.2002, allocations: 31.42 kB / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of SimCode: time 4.3e-07/0.2003, allocations: 0 / 489.7 MB, free: 11.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03044/0.2307, allocations: 3.087 MB / 492.8 MB, free: 8.316 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.096/8.327, allocations: 7.453 kB / 492.8 MB, free: 8.312 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1)