Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, 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.001935/0.001935, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002238/0.002239, allocations: 83.2 kB / 417.7 MB, free: 19.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1695, allocations: 62.44 MB / 480.1 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00591/0.1756, allocations: 1.826 MB / 482 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002169/0.1778, allocations: 1.094 MB / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.178, allocations: 0 / 483.1 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006845/0.1788, allocations: 319.2 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005913/0.1794, allocations: 259.2 kB / 483.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1797, allocations: 99.64 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.18, allocations: 259.3 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.819e-05/0.18, allocations: 21.66 kB / 484 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1802, allocations: 127.6 kB / 484.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.1805, allocations: 199.4 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.1805, allocations: 8 kB / 484.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1807, allocations: 39.98 kB / 484.4 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001592/0.1808, allocations: 139.6 kB / 484.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.181, allocations: 146.8 kB / 484.6 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.1814, allocations: 374.9 kB / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.1815, allocations: 0 / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1815, allocations: 0 / 485 MB, free: 312 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.1815, allocations: 4 kB / 485 MB, free: 308 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001128/0.1826, allocations: 0.7384 MB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.394e-05/0.1827, allocations: 8.031 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.215e-05/0.1828, allocations: 46.67 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/0.1828, allocations: 48.28 kB / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006217/0.1835, allocations: 455.8 kB / 486.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1835, allocations: 4.375 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.1835, allocations: 3.938 kB / 486.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.1838, allocations: 91.36 kB / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.1838, allocations: 0 / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.1838, allocations: 0 / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1838, allocations: 0 / 486.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.1839, allocations: 31.92 kB / 486.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004415/0.1844, allocations: 378.4 kB / 486.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.1847, allocations: 113.2 kB / 486.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.1848, allocations: 37.7 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1848, allocations: 7.938 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003701/0.1852, allocations: 109.1 kB / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.824e-06/0.1852, allocations: 0 / 487.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005245/0.1858, allocations: 201.4 kB / 487.3 MB, free: 13.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.1858, allocations: 81.11 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.1869, allocations: 1.058 MB / 488.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.981e-05/0.1869, allocations: 29.7 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001904/0.1871, allocations: 240.1 kB / 488.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.028e-05/0.1872, allocations: 27.61 kB / 488.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.251e-05/0.1873, allocations: 33.64 kB / 488.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.1875, allocations: 374.7 kB / 489.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.688e-05/0.1875, allocations: 27.98 kB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.1876, allocations: 55.41 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.1879, allocations: 87.36 kB / 489.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1879, allocations: 3.938 kB / 489.2 MB, free: 11.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000292/0.1882, allocations: 168.9 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1882, allocations: 6.5 kB / 489.4 MB, free: 11.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.1882, allocations: 4.062 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1882, allocations: 4 kB / 489.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.1884, allocations: 27.92 kB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/0.1884, allocations: 4 kB / 489.5 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.1885, allocations: 7.938 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.1885, allocations: 4 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002437/0.1888, allocations: 229.6 kB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.469e-05/0.1888, allocations: 51.34 kB / 489.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.292e-05/0.1889, allocations: 60.14 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.1889, allocations: 4 kB / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.189, allocations: 192 / 489.8 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.189, allocations: 3.984 kB / 489.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.1893, allocations: 349.4 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1893, allocations: 0 / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.1894, allocations: 11.94 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.1894, allocations: 0 / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.1894, allocations: 4 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1894, allocations: 0 / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1894, allocations: 3.984 kB / 490.2 MB, free: 10.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/0.1898, allocations: 209.2 kB / 490.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.1899, allocations: 140.4 kB / 490.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.66e-05/0.19, allocations: 0 / 490.5 MB, free: 10.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.248e-05/0.19, allocations: 7.984 kB / 490.5 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.1901, allocations: 8 kB / 490.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.1901, allocations: 11.98 kB / 490.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008122/0.1909, allocations: 0.7839 MB / 491.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.191, allocations: 0 / 491.3 MB, free: 9.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1912, allocations: 44 kB / 491.4 MB, free: 9.547 MB / 366.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00158/0.1928, allocations: 1.053 MB / 492.4 MB, free: 8.598 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.1931, allocations: 91.78 kB / 492.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1931, allocations: 0 / 492.5 MB, free: 8.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.953e-05/0.1932, allocations: 31.98 kB / 492.5 MB, free: 8.477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.1936, allocations: 74.5 kB / 492.6 MB, free: 8.414 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/0.199, allocations: 4.686 MB / 497.3 MB, free: 3.617 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.1994, allocations: 0.8466 MB / 498.1 MB, free: 2.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000141/0.1996, allocations: 55.44 kB / 498.2 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.1998, allocations: 151.4 kB / 498.3 MB, free: 2.543 MB / 366.1 MB Notification: Performance of SimCode: time 1.943e-06/0.1998, allocations: 0 / 498.3 MB, free: 2.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02867/0.2285, allocations: 8.913 MB / 0.4954 GB, free: 9.699 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.371/7.6, allocations: 18.31 kB / 0.4954 GB, free: 9.684 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)