Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001059/0.001059, 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.27/1.27, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001688/0.001689, allocations: 102.8 kB / 223.2 MB, free: 4.117 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.1799/0.1799, allocations: 38 MB / 300.4 MB, free: 5.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.63e-05, allocations: 8 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1086, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3626/0.4714, allocations: 75.77 MB / 481.5 MB, free: 18.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001775/0.4716, allocations: 71.19 kB / 481.5 MB, free: 18.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009979/0.4816, allocations: 4.003 MB / 485.6 MB, free: 18.03 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.4816, allocations: 0 / 485.6 MB, free: 18.03 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.4816, allocations: 7.938 kB / 485.6 MB, free: 18.02 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.0003195/0.482, allocations: 411.2 kB / 486 MB, free: 17.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.482, allocations: 7.781 kB / 486 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.482, allocations: 7.75 kB / 486 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.4822, allocations: 201.8 kB / 486.2 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.4823, allocations: 0 / 486.2 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4823, allocations: 9.875 kB / 486.2 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.83e-05/0.4824, allocations: 41.8 kB / 486.2 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4824, allocations: 4 kB / 486.2 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.4824, allocations: 0 / 486.2 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.4824, allocations: 3.969 kB / 486.2 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.44e-05/0.4825, allocations: 13.45 kB / 486.2 MB, free: 17.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003042/0.4828, allocations: 291.5 kB / 486.5 MB, free: 17.1 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001653/0.483, allocations: 51.28 kB / 486.6 MB, free: 17.07 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.744e-05/0.483, allocations: 18.78 kB / 486.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.518e-06/0.483, allocations: 0 / 486.6 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.163e-05/0.4831, allocations: 53.25 kB / 486.6 MB, free: 17.01 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4831, allocations: 0 / 486.6 MB, free: 17.01 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000321/0.4834, allocations: 116.8 kB / 486.8 MB, free: 16.96 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.4835, allocations: 51.41 kB / 486.8 MB, free: 16.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.4836, allocations: 156.5 kB / 487 MB, free: 16.8 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.4836, allocations: 25.7 kB / 487 MB, free: 16.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.4837, allocations: 104.5 kB / 487.1 MB, free: 16.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.4837, allocations: 21.5 kB / 487.1 MB, free: 16.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-06/0.4837, allocations: 0 / 487.1 MB, free: 16.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.76e-05/0.4838, allocations: 322.2 kB / 487.4 MB, free: 16.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.961e-05/0.4838, allocations: 18.06 kB / 487.4 MB, free: 16.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.4e-05/0.4838, allocations: 27.98 kB / 487.5 MB, free: 16.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.192e-05/0.4839, allocations: 55.3 kB / 487.5 MB, free: 16.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.4839, allocations: 0 / 487.5 MB, free: 16.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001451/0.4841, allocations: 125.1 kB / 487.6 MB, free: 16.25 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.4841, allocations: 39.2 kB / 487.7 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4841, allocations: 0 / 487.7 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4841, allocations: 0 / 487.7 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.136e-05/0.4842, allocations: 13.42 kB / 487.7 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4842, allocations: 7.734 kB / 487.7 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.824e-05/0.4842, allocations: 5.828 kB / 487.7 MB, free: 16.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/0.4842, allocations: 7.812 kB / 487.7 MB, free: 16.2 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 4.545e-05/0.4843, allocations: 105.2 kB / 487.8 MB, free: 16.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.522e-05/0.4843, allocations: 7.75 kB / 487.8 MB, free: 16.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.4845, allocations: 99.3 kB / 487.9 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4845, allocations: 0 / 487.9 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4845, allocations: 6 kB / 487.9 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4845, allocations: 3.953 kB / 487.9 MB, free: 16.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.4848, allocations: 349.7 kB / 488.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4848, allocations: 0 / 488.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.4848, allocations: 7.812 kB / 488.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4848, allocations: 1.969 kB / 488.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.4848, allocations: 7.656 kB / 488.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4848, allocations: 11.77 kB / 488.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4849, allocations: 0 / 488.3 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001222/0.485, allocations: 170.7 kB / 488.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.695e-05/0.485, allocations: 86.72 kB / 488.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.4851, allocations: 9.828 kB / 488.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.699e-05/0.4851, allocations: 0 / 488.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.4852, allocations: 13.67 kB / 488.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.4852, allocations: 0 / 488.6 MB, free: 15.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.4853, allocations: 132.3 kB / 488.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4853, allocations: 0 / 488.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.4855, allocations: 36.88 kB / 488.7 MB, free: 15.41 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.0006677/0.4862, allocations: 336 kB / 489.1 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001393/0.4864, allocations: 116.1 kB / 489.2 MB, free: 15.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4864, allocations: 3.938 kB / 489.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.537e-05/0.4864, allocations: 15.34 kB / 489.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.4866, allocations: 14.7 kB / 489.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.4869, allocations: 137.3 kB / 489.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.487, allocations: 0.701 MB / 490.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.484e-05/0.4871, allocations: 15 kB / 490.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.928e-05/0.4871, allocations: 11.28 kB / 490.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4871, allocations: 0 / 490.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of Templates: time 0.003523/0.4906, allocations: 1.511 MB / 491.6 MB, free: 14.16 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1)