Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001706/0.001706, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.436/1.436, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00146/0.001461, allocations: 107.5 kB / 223.2 MB, free: 4.043 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2347/0.2347, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.296e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09578, allocations: 48.72 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/0.4759, allocations: 75.73 MB / 481.4 MB, free: 18.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.4762, allocations: 69.61 kB / 481.5 MB, free: 18.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01061/0.4869, allocations: 3.909 MB / 485.4 MB, free: 18 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4869, allocations: 0 / 485.4 MB, free: 18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.487, allocations: 3.844 kB / 485.4 MB, free: 18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005081/0.4875, allocations: 417.9 kB / 485.8 MB, free: 17.59 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/0.4875, allocations: 7.5 kB / 485.8 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.4876, allocations: 11.41 kB / 485.9 MB, free: 17.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.4879, allocations: 193.5 kB / 486 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.488, allocations: 3.812 kB / 486 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.488, allocations: 9.672 kB / 486.1 MB, free: 17.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.4881, allocations: 40.91 kB / 486.1 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.4882, allocations: 0 / 486.1 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.4882, allocations: 0 / 486.1 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.4882, allocations: 6.062 kB / 486.1 MB, free: 17.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.179e-05/0.4883, allocations: 17.05 kB / 486.1 MB, free: 17.34 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.4888, allocations: 291.5 kB / 486.4 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.489, allocations: 48.72 kB / 486.4 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.31e-05/0.4891, allocations: 8.703 kB / 486.5 MB, free: 17.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.4891, allocations: 3.906 kB / 486.5 MB, free: 17.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001525/0.4892, allocations: 61.14 kB / 486.5 MB, free: 16.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.4893, allocations: 3.938 kB / 486.5 MB, free: 16.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004788/0.4897, allocations: 116.5 kB / 486.6 MB, free: 16.93 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.4898, allocations: 51.41 kB / 486.7 MB, free: 16.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.49, allocations: 151.7 kB / 486.8 MB, free: 16.78 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.4901, allocations: 29.58 kB / 486.9 MB, free: 16.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.198e-05/0.4901, allocations: 103.1 kB / 487 MB, free: 16.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.803e-05/0.4902, allocations: 19.59 kB / 487 MB, free: 16.65 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.4902, allocations: 0 / 487 MB, free: 16.65 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4903, allocations: 322.1 kB / 487.3 MB, free: 16.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.071e-05/0.4904, allocations: 19.41 kB / 487.3 MB, free: 16.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.757e-05/0.4904, allocations: 24.88 kB / 487.3 MB, free: 16.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.4905, allocations: 54.34 kB / 487.4 MB, free: 16.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4905, allocations: 0 / 487.4 MB, free: 16.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001779/0.4907, allocations: 128 kB / 487.5 MB, free: 16.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.475e-05/0.4908, allocations: 35.45 kB / 487.6 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4908, allocations: 3.875 kB / 487.6 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.4908, allocations: 4 kB / 487.6 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.723e-05/0.4909, allocations: 13.78 kB / 487.6 MB, free: 16.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.4909, allocations: 3.953 kB / 487.6 MB, free: 16.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.4909, allocations: 7.75 kB / 487.6 MB, free: 16.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.491, allocations: 0 / 487.6 MB, free: 16.19 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/0.491, allocations: 106.7 kB / 487.7 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.4911, allocations: 7.688 kB / 487.7 MB, free: 16.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.4913, allocations: 91.95 kB / 487.8 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4913, allocations: 4.141 kB / 487.8 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4913, allocations: 96 / 487.8 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4913, allocations: 13.19 kB / 487.8 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003405/0.4917, allocations: 353.7 kB / 488.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4917, allocations: 4.062 kB / 488.2 MB, free: 15.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.4917, allocations: 7.875 kB / 488.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4917, allocations: 0 / 488.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4917, allocations: 9.312 kB / 488.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.4918, allocations: 3.953 kB / 488.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4918, allocations: 4 kB / 488.2 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.4919, allocations: 171.7 kB / 488.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.492, allocations: 86.75 kB / 488.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/0.492, allocations: 7.562 kB / 488.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.218e-05/0.4921, allocations: 1.734 kB / 488.4 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.4921, allocations: 9.859 kB / 488.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.4921, allocations: 0 / 488.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.609e-05/0.4922, allocations: 137.2 kB / 488.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4922, allocations: 0 / 488.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.4925, allocations: 36.56 kB / 488.6 MB, free: 15.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007847/0.4933, allocations: 325.1 kB / 488.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.4935, allocations: 115.7 kB / 489.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4935, allocations: 7.938 kB / 489.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.872e-05/0.4935, allocations: 15.28 kB / 489.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.4938, allocations: 15.47 kB / 489.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002942/0.4941, allocations: 131.6 kB / 489.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00016/0.4942, allocations: 0.7079 MB / 489.9 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.733e-05/0.4943, allocations: 13.94 kB / 489.9 MB, free: 14.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.4943, allocations: 11.31 kB / 490 MB, free: 14.32 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4943, allocations: 7.844 kB / 490 MB, free: 14.31 MB / 330.7 MB Notification: Performance of Templates: time 0.003833/0.4982, allocations: 1.507 MB / 491.5 MB, free: 14.14 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1)