Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008454/0.008454, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.989/1.989, allocations: 205.4 MB / 222.4 MB, free: 5.801 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.4011/0.4011, allocations: 40 MB / 310.7 MB, free: 9.379 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.000842/0.000842, allocations: 16 kB / 379.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1856, allocations: 57.95 MB / 437.4 MB, free: 1.934 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003691/0.1893, allocations: 1.413 MB / 438.8 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001828/0.1912, allocations: 0.7691 MB / 439.6 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.274e-05/0.1913, allocations: 7.938 kB / 439.6 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.1917, allocations: 43.88 kB / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.1919, allocations: 55.81 kB / 439.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.1922, allocations: 75.78 kB / 439.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1924, allocations: 91.59 kB / 439.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1925, allocations: 20.2 kB / 439.9 MB, free: 15.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.419e-05/0.1926, allocations: 35.8 kB / 439.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.734e-05/0.1928, allocations: 39.77 kB / 440 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1928, allocations: 4 kB / 440 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.1929, allocations: 32 kB / 440 MB, free: 15.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.147e-05/0.193, allocations: 23.91 kB / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001832/0.1932, allocations: 65.38 kB / 440.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1934, allocations: 119.9 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1934, allocations: 0 / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1934, allocations: 4 kB / 440.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.1934, allocations: 0 / 440.2 MB, free: 15.12 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.0008995/0.1943, allocations: 403 kB / 440.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.1944, allocations: 15.97 kB / 440.6 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.1945, allocations: 12.75 kB / 440.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005351/0.195, allocations: 208.1 kB / 440.8 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.195, allocations: 8.375 kB / 440.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1951, allocations: 8.031 kB / 440.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002177/0.1953, allocations: 61.67 kB / 440.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.1953, allocations: 0 / 440.9 MB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.1953, allocations: 3.984 kB / 440.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.1953, allocations: 4 kB / 440.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.709e-05/0.1954, allocations: 19.92 kB / 440.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006501/0.1961, allocations: 296.8 kB / 441.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1963, allocations: 62.67 kB / 441.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002881/0.1966, allocations: 16.86 kB / 441.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.1966, allocations: 4 kB / 441.3 MB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.1969, allocations: 71.31 kB / 441.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1969, allocations: 0 / 441.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007798/0.1977, allocations: 173.1 kB / 441.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.1977, allocations: 59.41 kB / 441.6 MB, free: 13.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.1981, allocations: 218.7 kB / 441.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.655e-05/0.1981, allocations: 25.7 kB / 441.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.1982, allocations: 108.1 kB / 441.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.925e-05/0.1983, allocations: 27.64 kB / 442 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.1983, allocations: 13.72 kB / 442 MB, free: 13.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.1985, allocations: 326.8 kB / 442.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.1986, allocations: 23.98 kB / 442.3 MB, free: 12.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.315e-05/0.1987, allocations: 37.7 kB / 442.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.1988, allocations: 65.72 kB / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1988, allocations: 0 / 442.4 MB, free: 12.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001798/0.199, allocations: 101.6 kB / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.199, allocations: 4 kB / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.1991, allocations: 0 / 442.5 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1991, allocations: 7.969 kB / 442.5 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/0.1992, allocations: 19.98 kB / 442.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1992, allocations: 0 / 442.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/0.1993, allocations: 11.88 kB / 442.6 MB, free: 12.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1993, allocations: 4 kB / 442.6 MB, free: 12.51 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.0001344/0.1994, allocations: 125.8 kB / 442.7 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.1994, allocations: 15.81 kB / 442.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.1995, allocations: 17.41 kB / 442.7 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1995, allocations: 7.984 kB / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1995, allocations: 4 kB / 442.7 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.1995, allocations: 3.938 kB / 442.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009333/0.2005, allocations: 391.3 kB / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2005, allocations: 0 / 443.1 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.2005, allocations: 12.31 kB / 443.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.2005, allocations: 0 / 443.1 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.2006, allocations: 12.11 kB / 443.1 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2006, allocations: 4 kB / 443.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2006, allocations: 7.969 kB / 443.2 MB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.2012, allocations: 200.2 kB / 443.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/0.2016, allocations: 88.92 kB / 443.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.759e-05/0.2016, allocations: 15.92 kB / 443.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.2018, allocations: 0 / 443.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.2018, allocations: 4 kB / 443.5 MB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.271e-05/0.2018, allocations: 11.98 kB / 443.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001697/0.202, allocations: 172.3 kB / 443.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.044e-06/0.202, allocations: 0 / 443.6 MB, free: 11.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004999/0.2025, allocations: 27.94 kB / 443.7 MB, free: 11.3 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.001305/0.2038, allocations: 472.8 kB / 444.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004189/0.2043, allocations: 47.98 kB / 444.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.2043, allocations: 0 / 444.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.12e-05/0.2044, allocations: 39.91 kB / 444.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.2048, allocations: 20.3 kB / 444.2 MB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006104/0.2054, allocations: 290.2 kB / 444.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003854/0.2058, allocations: 0.716 MB / 445.2 MB, free: 9.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.931e-05/0.2058, allocations: 20.8 kB / 445.3 MB, free: 9.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.2059, allocations: 15.44 kB / 445.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2059, allocations: 0 / 445.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of Templates: time 0.005125/0.211, allocations: 1.612 MB / 446.9 MB, free: 8.055 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) Environment - environmentSimulation: