Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009894/0.0009899, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009064/0.009064, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.81/1.81, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.4092/0.4092, allocations: 40 MB / 310.7 MB, free: 9.629 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.0006705/0.0006705, allocations: 20 kB / 379.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1784/0.1791, allocations: 57.95 MB / 437.4 MB, free: 1.91 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003644/0.1828, allocations: 1.413 MB / 438.8 MB, free: 500 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.1853, allocations: 0.7807 MB / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.1855, allocations: 0 / 439.6 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005618/0.1861, allocations: 51.81 kB / 439.7 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003397/0.1864, allocations: 51.83 kB / 439.7 MB, free: 15.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004812/0.1869, allocations: 83.77 kB / 439.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003147/0.1873, allocations: 91.7 kB / 439.9 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1874, allocations: 12.2 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.1876, allocations: 47.78 kB / 439.9 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.1877, allocations: 31.8 kB / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1878, allocations: 0 / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.1879, allocations: 39.97 kB / 440 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.169e-05/0.1881, allocations: 27.91 kB / 440 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.1882, allocations: 65.39 kB / 440.1 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.1885, allocations: 123.8 kB / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.1885, allocations: 0 / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.068e-06/0.1886, allocations: 0 / 440.2 MB, free: 15.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.1886, allocations: 0 / 440.2 MB, free: 15.08 MB / 382.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.0008726/0.1895, allocations: 434.8 kB / 440.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.1895, allocations: 8.031 kB / 440.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.077e-05/0.1896, allocations: 16.75 kB / 440.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.1902, allocations: 215.8 kB / 440.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1902, allocations: 384 / 440.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.1902, allocations: 8.125 kB / 440.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1905, allocations: 53.67 kB / 440.9 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.1905, allocations: 7.922 kB / 440.9 MB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.1905, allocations: 4 kB / 441 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.1906, allocations: 0 / 441 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/0.1907, allocations: 27.92 kB / 441 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.1914, allocations: 292.9 kB / 441.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.1917, allocations: 54.67 kB / 441.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1918, allocations: 24.86 kB / 441.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.986e-05/0.1919, allocations: 7.922 kB / 441.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.1922, allocations: 63.39 kB / 441.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/0.1922, allocations: 0 / 441.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008895/0.1931, allocations: 181 kB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.1932, allocations: 55.39 kB / 441.6 MB, free: 13.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.1936, allocations: 259.8 kB / 441.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1936, allocations: 29.7 kB / 441.9 MB, free: 13.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.1937, allocations: 112.1 kB / 442 MB, free: 13.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.83e-05/0.1938, allocations: 23.64 kB / 442.1 MB, free: 13.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.1939, allocations: 21.66 kB / 442.1 MB, free: 13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1941, allocations: 330.8 kB / 442.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.1942, allocations: 20 kB / 442.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1943, allocations: 33.7 kB / 442.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002002/0.1945, allocations: 69.64 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1946, allocations: 0 / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003371/0.1949, allocations: 109.5 kB / 442.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.1949, allocations: 4 kB / 442.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.195, allocations: 0 / 442.6 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.195, allocations: 3.984 kB / 442.6 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.1952, allocations: 16 kB / 442.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.1952, allocations: 32 / 442.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.1953, allocations: 15.94 kB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1953, allocations: 0 / 442.7 MB, free: 12.38 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.0001859/0.1955, allocations: 137.8 kB / 442.8 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.33e-05/0.1956, allocations: 19.8 kB / 442.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.525e-05/0.1957, allocations: 17.78 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1957, allocations: 0 / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.1957, allocations: 0 / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-05/0.1958, allocations: 3.938 kB / 442.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008247/0.1966, allocations: 407.5 kB / 443.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1966, allocations: 0 / 443.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.1967, allocations: 19.88 kB / 443.3 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.968e-06/0.1967, allocations: 4 kB / 443.3 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.017e-05/0.1968, allocations: 7.922 kB / 443.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1968, allocations: 0 / 443.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1968, allocations: 0 / 443.3 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.1972, allocations: 208.2 kB / 443.5 MB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.021e-05/0.1973, allocations: 88.92 kB / 443.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.172e-05/0.1974, allocations: 7.922 kB / 443.6 MB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.1975, allocations: 4 kB / 443.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.1976, allocations: 11.94 kB / 443.6 MB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.001e-05/0.1976, allocations: 7.984 kB / 443.6 MB, free: 11.35 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002952/0.198, allocations: 199 kB / 443.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.198, allocations: 8 kB / 443.8 MB, free: 11.15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004694/0.1985, allocations: 20 kB / 443.8 MB, free: 11.13 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.001885/0.2004, allocations: 464.7 kB / 444.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.2007, allocations: 55.92 kB / 444.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2007, allocations: 0 / 444.3 MB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.2009, allocations: 27.98 kB / 444.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.2015, allocations: 32.23 kB / 444.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.2025, allocations: 318.9 kB / 444.7 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005541/0.203, allocations: 0.716 MB / 445.4 MB, free: 9.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001039/0.2032, allocations: 20.86 kB / 445.4 MB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.703e-05/0.2032, allocations: 15.44 kB / 445.4 MB, free: 9.465 MB / 382.1 MB Notification: Performance of SimCode: time 1.152e-06/0.2033, allocations: 3.938 kB / 445.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of Templates: time 0.006601/0.2099, allocations: 1.642 MB / 447.1 MB, free: 7.82 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) Environment - environmentSimulation: