Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 195.3 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3804/0.3804, allocations: 39.94 MB / 309.3 MB, free: 9.344 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 69.95 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1776/0.1802, allocations: 56.89 MB / 433.8 MB, free: 4.121 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.004676/0.1849, allocations: 1.747 MB / 435.6 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1866, allocations: 0.7885 MB / 436.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1868, allocations: 7.938 kB / 436.4 MB, free: 1.555 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004554/0.1873, allocations: 31.91 kB / 436.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003081/0.1876, allocations: 47.77 kB / 436.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.188, allocations: 79.83 kB / 436.5 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.1884, allocations: 91.7 kB / 436.6 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1885, allocations: 12.22 kB / 436.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.1887, allocations: 31.8 kB / 436.6 MB, free: 1.266 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1888, allocations: 39.77 kB / 436.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.1888, allocations: 8 kB / 436.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001706/0.189, allocations: 32 kB / 436.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.397e-05/0.1891, allocations: 15.92 kB / 436.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.747e-05/0.1892, allocations: 31.78 kB / 436.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003104/0.1895, allocations: 115.9 kB / 436.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1895, allocations: 0 / 436.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1896, allocations: 0 / 436.9 MB, free: 1.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.1896, allocations: 0 / 436.9 MB, free: 1.027 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006822/0.1903, allocations: 407 kB / 437.3 MB, free: 0.582 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.1903, allocations: 12.03 kB / 437.3 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.1904, allocations: 12.75 kB / 437.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.1907, allocations: 204 kB / 437.5 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1907, allocations: 4.375 kB / 437.5 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.1907, allocations: 12.03 kB / 437.5 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1909, allocations: 53.67 kB / 437.6 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1909, allocations: 0 / 437.6 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.191, allocations: 0 / 437.6 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.191, allocations: 0 / 437.6 MB, free: 252 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.727e-05/0.1911, allocations: 27.91 kB / 437.6 MB, free: 224 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.1915, allocations: 284.9 kB / 437.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.1917, allocations: 58.67 kB / 437.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.1918, allocations: 20.84 kB / 438 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.1919, allocations: 0 / 438 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003016/0.1922, allocations: 75.33 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1922, allocations: 0 / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006717/0.1929, allocations: 173.2 kB / 438.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.327e-05/0.1929, allocations: 55.39 kB / 438.3 MB, free: 15.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001822/0.1931, allocations: 170.2 kB / 438.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.1931, allocations: 25.7 kB / 438.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.258e-05/0.1932, allocations: 104.1 kB / 438.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.11e-05/0.1933, allocations: 23.66 kB / 438.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.961e-05/0.1933, allocations: 29.7 kB / 438.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.1935, allocations: 318.8 kB / 438.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.826e-05/0.1936, allocations: 19.98 kB / 438.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-05/0.1937, allocations: 41.64 kB / 439 MB, free: 14.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.1938, allocations: 69.7 kB / 439 MB, free: 14.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1938, allocations: 3.938 kB / 439 MB, free: 14.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002487/0.1941, allocations: 97.58 kB / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.1941, allocations: 8 kB / 439.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.1941, allocations: 0 / 439.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/0.1942, allocations: 3.938 kB / 439.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.1943, allocations: 15.98 kB / 439.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.1943, allocations: 4 kB / 439.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.361e-05/0.1943, allocations: 3.938 kB / 439.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-06/0.1944, allocations: 8.031 kB / 439.2 MB, free: 14.49 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001222/0.1945, allocations: 125.8 kB / 439.3 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.839e-05/0.1945, allocations: 11.81 kB / 439.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.239e-05/0.1946, allocations: 12.72 kB / 439.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.1946, allocations: 7.984 kB / 439.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1946, allocations: 0 / 439.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.1946, allocations: 3.938 kB / 439.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005341/0.1952, allocations: 383.3 kB / 439.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1952, allocations: 0 / 439.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-05/0.1952, allocations: 11.94 kB / 439.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1952, allocations: 0 / 439.7 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.054e-05/0.1953, allocations: 11.94 kB / 439.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1953, allocations: 0 / 439.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1953, allocations: 0 / 439.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.1956, allocations: 204.3 kB / 439.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.1957, allocations: 89.02 kB / 440 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.1957, allocations: 3.938 kB / 440 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.1958, allocations: 8 kB / 440 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.1958, allocations: 8.359 kB / 440 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.1959, allocations: 0 / 440 MB, free: 13.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.196, allocations: 132.1 kB / 440.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.884e-06/0.196, allocations: 0 / 440.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.1963, allocations: 35.92 kB / 440.2 MB, free: 13.36 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001205/0.1975, allocations: 473.2 kB / 440.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.1978, allocations: 59.97 kB / 440.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.1978, allocations: 4.062 kB / 440.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.1979, allocations: 31.92 kB / 440.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.1983, allocations: 31.91 kB / 440.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005431/0.1988, allocations: 240.5 kB / 441 MB, free: 12.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.1992, allocations: 0.6965 MB / 441.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.793e-05/0.1993, allocations: 20.81 kB / 441.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.16e-05/0.1993, allocations: 23.42 kB / 441.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1993, allocations: 0 / 441.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of Templates: time 0.005002/0.2044, allocations: 1.624 MB / 443.4 MB, free: 10.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1)