Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001542/0.001542, allocations: 178.9 kB / 7.651 MB, free: 1.398 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.437/1.437, allocations: 194.3 MB / 202.4 MB, free: 8.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00166/0.00166, allocations: 115.2 kB / 247.4 MB, free: 6.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2016/0.2016, allocations: 39.93 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.016e-05/2.018e-05, allocations: 8.547 kB / 393.3 MB, free: 75.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 54.87 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.364/0.4677, allocations: 81.39 MB / 0.5172 GB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.468, allocations: 71.31 kB / 0.5172 GB, free: 10.32 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.01125/0.4792, allocations: 4.593 MB / 0.5217 GB, free: 9.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4792, allocations: 0 / 0.5217 GB, free: 9.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.4793, allocations: 0.75 kB / 0.5217 GB, free: 9.156 MB / 346.7 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.000398/0.4797, allocations: 470.8 kB / 0.5222 GB, free: 8.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.4797, allocations: 11.59 kB / 0.5222 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.572e-05/0.4797, allocations: 7.812 kB / 0.5222 GB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002329/0.48, allocations: 215.1 kB / 0.5224 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.48, allocations: 0 / 0.5224 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.48, allocations: 3.781 kB / 0.5224 GB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.66e-05/0.4801, allocations: 21.34 kB / 0.5224 GB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.132e-05/0.4802, allocations: 57.64 kB / 0.5225 GB, free: 8.406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.4802, allocations: 3.953 kB / 0.5225 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.4803, allocations: 0 / 0.5225 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.4803, allocations: 7.906 kB / 0.5225 GB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.4806, allocations: 287.6 kB / 0.5228 GB, free: 8.137 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.4807, allocations: 54.25 kB / 0.5228 GB, free: 8.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.4807, allocations: 23.75 kB / 0.5228 GB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.4808, allocations: 0 / 0.5228 GB, free: 8.094 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.4809, allocations: 65.02 kB / 0.5229 GB, free: 8.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.4809, allocations: 0 / 0.5229 GB, free: 8.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003848/0.4813, allocations: 161.8 kB / 0.5231 GB, free: 7.965 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.4813, allocations: 51.41 kB / 0.5231 GB, free: 7.902 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.4814, allocations: 171.5 kB / 0.5233 GB, free: 7.789 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.4815, allocations: 29.52 kB / 0.5233 GB, free: 7.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.4815, allocations: 99.41 kB / 0.5234 GB, free: 7.672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.4815, allocations: 30.7 kB / 0.5234 GB, free: 7.648 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.4815, allocations: 0 / 0.5234 GB, free: 7.648 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.4816, allocations: 326.1 kB / 0.5237 GB, free: 7.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.064e-05/0.4816, allocations: 32.38 kB / 0.5238 GB, free: 7.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.713e-05/0.4817, allocations: 42.72 kB / 0.5238 GB, free: 7.316 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.022e-05/0.4818, allocations: 41.12 kB / 0.5238 GB, free: 7.309 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4818, allocations: 0 / 0.5238 GB, free: 7.309 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001767/0.482, allocations: 138.5 kB / 0.524 GB, free: 7.254 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/0.482, allocations: 36.7 kB / 0.524 GB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.482, allocations: 7.953 kB / 0.524 GB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.482, allocations: 0 / 0.524 GB, free: 7.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.4821, allocations: 19.42 kB / 0.524 GB, free: 7.211 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.4821, allocations: 3.938 kB / 0.524 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.4822, allocations: 3.875 kB / 0.524 GB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.4822, allocations: 7.656 kB / 0.5241 GB, free: 7.207 MB / 346.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 5.207e-05/0.4823, allocations: 112.7 kB / 0.5242 GB, free: 7.094 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.651e-05/0.4823, allocations: 11.81 kB / 0.5242 GB, free: 7.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.4825, allocations: 111 kB / 0.5243 GB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.4825, allocations: 3.953 kB / 0.5243 GB, free: 7.027 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4825, allocations: 3.984 kB / 0.5243 GB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4825, allocations: 192 / 0.5243 GB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002883/0.4828, allocations: 381.5 kB / 0.5247 GB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.4828, allocations: 3.938 kB / 0.5247 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.4828, allocations: 7.906 kB / 0.5247 GB, free: 6.711 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4829, allocations: 7.953 kB / 0.5247 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4829, allocations: 7.859 kB / 0.5247 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4829, allocations: 0 / 0.5247 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4829, allocations: 160 / 0.5247 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.483, allocations: 217.2 kB / 0.5249 GB, free: 6.527 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.384e-05/0.4831, allocations: 104.1 kB / 0.525 GB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.4831, allocations: 7.906 kB / 0.525 GB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.4832, allocations: 0 / 0.525 GB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.4833, allocations: 7.797 kB / 0.525 GB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.4833, allocations: 3.812 kB / 0.525 GB, free: 6.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.771e-05/0.4834, allocations: 138.6 kB / 0.5251 GB, free: 6.328 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4834, allocations: 0 / 0.5251 GB, free: 6.328 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002644/0.4836, allocations: 38.84 kB / 0.5252 GB, free: 6.316 MB / 346.7 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007492/0.4844, allocations: 377.4 kB / 0.5255 GB, free: 6.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001755/0.4846, allocations: 154.1 kB / 0.5257 GB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4846, allocations: 0 / 0.5257 GB, free: 6.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.403e-05/0.4846, allocations: 28.59 kB / 0.5257 GB, free: 6 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.4849, allocations: 18.02 kB / 0.5257 GB, free: 5.996 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002885/0.4852, allocations: 175 kB / 0.5259 GB, free: 5.883 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.4853, allocations: 0.7109 MB / 0.5266 GB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.642e-05/0.4854, allocations: 7.812 kB / 0.5266 GB, free: 5.168 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.4854, allocations: 17.75 kB / 0.5266 GB, free: 5.16 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4854, allocations: 0 / 0.5266 GB, free: 5.16 MB / 346.7 MB Notification: Performance of Templates: time 0.003739/0.4892, allocations: 1.682 MB / 0.5283 GB, free: 4.312 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)