Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001945/0.001945, allocations: 195.9 kB / 16.14 MB, free: 6.711 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.824/1.824, allocations: 205.1 MB / 222 MB, free: 4.797 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.3905/0.3905, allocations: 39.94 MB / 309.3 MB, free: 9.309 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.002156/0.002156, allocations: 72.28 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1762, allocations: 56.89 MB / 433.8 MB, free: 4.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003378/0.1797, allocations: 1.744 MB / 435.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.181, allocations: 0.7846 MB / 436.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.166e-05/0.1811, allocations: 4 kB / 436.3 MB, free: 1.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.1814, allocations: 39.83 kB / 436.4 MB, free: 1.531 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.1816, allocations: 43.83 kB / 436.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.1819, allocations: 87.78 kB / 436.5 MB, free: 1.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.182, allocations: 83.77 kB / 436.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.1821, allocations: 20.19 kB / 436.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.904e-05/0.1822, allocations: 39.78 kB / 436.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.622e-05/0.1823, allocations: 23.86 kB / 436.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1823, allocations: 8 kB / 436.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1825, allocations: 39.92 kB / 436.7 MB, free: 1.191 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.1825, allocations: 19.91 kB / 436.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.198e-05/0.1826, allocations: 31.75 kB / 436.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002112/0.1828, allocations: 108 kB / 436.9 MB, free: 1.035 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1828, allocations: 3.938 kB / 436.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1828, allocations: 0 / 436.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1829, allocations: 3.938 kB / 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.000674/0.1835, allocations: 403.1 kB / 437.3 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.1836, allocations: 12.03 kB / 437.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.1837, allocations: 16.75 kB / 437.3 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002949/0.184, allocations: 212 kB / 437.5 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.184, allocations: 384 / 437.5 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.184, allocations: 12.03 kB / 437.5 MB, free: 308 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.1843, allocations: 53.67 kB / 437.6 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1843, allocations: 0 / 437.6 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.1843, allocations: 0 / 437.6 MB, free: 248 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.1843, allocations: 4 kB / 437.6 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.958e-05/0.1844, allocations: 15.98 kB / 437.6 MB, free: 228 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.185, allocations: 292.8 kB / 437.9 MB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.1852, allocations: 54.69 kB / 437.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.1853, allocations: 20.84 kB / 438 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.598e-05/0.1853, allocations: 4 kB / 438 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003077/0.1856, allocations: 71.33 kB / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1857, allocations: 0 / 438 MB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006386/0.1863, allocations: 165.3 kB / 438.2 MB, free: 15.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.1864, allocations: 55.34 kB / 438.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.1866, allocations: 170.2 kB / 438.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.1866, allocations: 33.64 kB / 438.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.951e-05/0.1867, allocations: 100.1 kB / 438.5 MB, free: 15.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.17e-05/0.1868, allocations: 27.64 kB / 438.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.1868, allocations: 25.72 kB / 438.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.187, allocations: 326.8 kB / 438.9 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.1871, allocations: 15.98 kB / 438.9 MB, free: 14.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/0.1871, allocations: 37.7 kB / 439 MB, free: 14.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.1873, allocations: 65.72 kB / 439 MB, free: 14.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1873, allocations: 0 / 439 MB, free: 14.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001984/0.1875, allocations: 105.6 kB / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1875, allocations: 4 kB / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1875, allocations: 0 / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.1876, allocations: 0 / 439.1 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/0.1877, allocations: 24.11 kB / 439.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1877, allocations: 0 / 439.2 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.731e-05/0.1877, allocations: 8.25 kB / 439.2 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.946e-06/0.1878, allocations: 8.031 kB / 439.2 MB, free: 14.5 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.0001258/0.1879, allocations: 121.8 kB / 439.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.1879, allocations: 15.8 kB / 439.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.605e-05/0.188, allocations: 12.72 kB / 439.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.188, allocations: 4 kB / 439.3 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.188, allocations: 4 kB / 439.3 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.188, allocations: 7.922 kB / 439.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.1885, allocations: 387.3 kB / 439.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1886, allocations: 0 / 439.7 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.373e-05/0.1886, allocations: 15.98 kB / 439.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1886, allocations: 4 kB / 439.7 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1886, allocations: 3.938 kB / 439.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1886, allocations: 0 / 439.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1886, allocations: 3.938 kB / 439.8 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.1888, allocations: 196.3 kB / 439.9 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.315e-05/0.1889, allocations: 89.02 kB / 440 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.1889, allocations: 7.922 kB / 440 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.189, allocations: 8 kB / 440 MB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.1891, allocations: 4 kB / 440 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1891, allocations: 7.984 kB / 440.1 MB, free: 13.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.1892, allocations: 136 kB / 440.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1892, allocations: 0 / 440.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.1895, allocations: 24 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.001081/0.1906, allocations: 469.2 kB / 440.7 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.1908, allocations: 55.97 kB / 440.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1908, allocations: 8 kB / 440.7 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.1909, allocations: 36.06 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.0003551/0.1912, allocations: 23.98 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.0005371/0.1918, allocations: 244.5 kB / 441 MB, free: 12.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.1921, allocations: 0.7004 MB / 441.7 MB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.725e-05/0.1921, allocations: 12.88 kB / 441.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.1922, allocations: 19.44 kB / 441.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1922, allocations: 0 / 441.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of Templates: time 0.004534/0.1967, allocations: 1.631 MB / 443.4 MB, free: 10.15 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)