Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001852/0.001853, 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.002255/0.002256, allocations: 193.8 kB / 16.13 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.634/1.634, allocations: 205.1 MB / 222 MB, free: 4.727 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.3691/0.3691, allocations: 39.94 MB / 309.3 MB, free: 9.664 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.001447/0.001447, allocations: 59.91 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1766, allocations: 56.9 MB / 433.8 MB, free: 4.395 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.004413/0.1811, allocations: 1.747 MB / 435.6 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001478/0.1827, allocations: 0.7845 MB / 436.4 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.193e-05/0.1828, allocations: 4 kB / 436.4 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.1832, allocations: 39.83 kB / 436.4 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.1834, allocations: 47.83 kB / 436.4 MB, free: 1.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.1836, allocations: 75.8 kB / 436.5 MB, free: 1.676 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.1838, allocations: 91.69 kB / 436.6 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.184, allocations: 16.2 kB / 436.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.04e-05/0.1841, allocations: 39.8 kB / 436.7 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.037e-05/0.1842, allocations: 31.84 kB / 436.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.1842, allocations: 0 / 436.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.1843, allocations: 39.92 kB / 436.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.366e-05/0.1844, allocations: 19.92 kB / 436.7 MB, free: 1.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.596e-05/0.1845, allocations: 35.73 kB / 436.8 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.1848, allocations: 111.9 kB / 436.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.1848, allocations: 0 / 436.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1848, allocations: 0 / 436.9 MB, free: 1.297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.1848, allocations: 0 / 436.9 MB, free: 1.297 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.0007293/0.1855, allocations: 419 kB / 437.3 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.1856, allocations: 8.031 kB / 437.3 MB, free: 0.832 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.989e-05/0.1857, allocations: 12.84 kB / 437.3 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1859, allocations: 204 kB / 437.5 MB, free: 0.582 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.186, allocations: 4.375 kB / 437.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.186, allocations: 12.11 kB / 437.5 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.1862, allocations: 49.67 kB / 437.6 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1862, allocations: 4 kB / 437.6 MB, free: 0.5078 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.1862, allocations: 12 kB / 437.6 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1862, allocations: 0 / 437.6 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.795e-05/0.1863, allocations: 15.98 kB / 437.6 MB, free: 492 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.1868, allocations: 288.8 kB / 437.9 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.187, allocations: 54.67 kB / 438 MB, free: 88 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.844e-05/0.1871, allocations: 32.78 kB / 438 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1871, allocations: 0 / 438 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.1874, allocations: 67.23 kB / 438.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1874, allocations: 4 kB / 438.1 MB, free: 15.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006103/0.188, allocations: 165.4 kB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.1881, allocations: 59.33 kB / 438.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.1882, allocations: 186.2 kB / 438.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1883, allocations: 29.7 kB / 438.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.567e-05/0.1883, allocations: 104.1 kB / 438.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.1884, allocations: 23.7 kB / 438.6 MB, free: 15.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.315e-05/0.1884, allocations: 21.72 kB / 438.6 MB, free: 15.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.1886, allocations: 326.8 kB / 439 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.884e-05/0.1887, allocations: 19.98 kB / 439 MB, free: 15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.247e-05/0.1887, allocations: 37.64 kB / 439 MB, free: 14.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1889, allocations: 69.72 kB / 439.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1889, allocations: 0 / 439.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.1891, allocations: 101.6 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1891, allocations: 8 kB / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1891, allocations: 0 / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1891, allocations: 0 / 439.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.8e-05/0.1893, allocations: 15.94 kB / 439.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/0.1893, allocations: 12.02 kB / 439.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.1893, allocations: 3.938 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1893, allocations: 4 kB / 439.2 MB, free: 14.73 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.0001228/0.1895, allocations: 121.8 kB / 439.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.588e-05/0.1895, allocations: 11.89 kB / 439.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.1896, allocations: 16.72 kB / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1896, allocations: 0 / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1896, allocations: 0 / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1896, allocations: 3.938 kB / 439.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000488/0.1901, allocations: 395.6 kB / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1901, allocations: 0 / 439.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.1902, allocations: 15.98 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1902, allocations: 0 / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.1902, allocations: 3.938 kB / 439.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.1902, allocations: 4 kB / 439.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1902, allocations: 7.875 kB / 439.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.1905, allocations: 204.3 kB / 440 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.1905, allocations: 85.02 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.1906, allocations: 7.922 kB / 440.1 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.1907, allocations: 4 kB / 440.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.1907, allocations: 8 kB / 440.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.1907, allocations: 7.984 kB / 440.1 MB, free: 13.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.1909, allocations: 148.1 kB / 440.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1909, allocations: 0 / 440.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1911, allocations: 23.98 kB / 440.3 MB, free: 13.58 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.001166/0.1923, allocations: 469.3 kB / 440.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001929/0.1925, allocations: 63.97 kB / 440.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1925, allocations: 0 / 440.8 MB, free: 13.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.1926, allocations: 27.92 kB / 440.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003726/0.193, allocations: 39.84 kB / 440.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.1935, allocations: 241.2 kB / 441.1 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003261/0.1939, allocations: 0.7004 MB / 441.8 MB, free: 12.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.487e-05/0.1939, allocations: 20.88 kB / 441.8 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.194, allocations: 19.44 kB / 441.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.194, allocations: 0 / 441.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of Templates: time 0.005531/0.1995, allocations: 1.63 MB / 443.5 MB, free: 10.36 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1)