Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001262/0.001262, allocations: 177.5 kB / 7.652 MB, free: 1.426 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.58/1.58, allocations: 194.4 MB / 202.4 MB, free: 12.95 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.001914/0.001914, allocations: 104.7 kB / 247.4 MB, free: 15.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1555/0.1555, allocations: 39.96 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.469e-05, allocations: 8 kB / 393.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.25, allocations: 54.89 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1105/0.3606, allocations: 81.39 MB / 0.5172 GB, free: 12.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.3609, allocations: 67.97 kB / 0.5173 GB, free: 12.11 MB / 378.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.01372/0.3746, allocations: 4.968 MB / 0.5221 GB, free: 7.133 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3746, allocations: 0 / 0.5221 GB, free: 7.133 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.3746, allocations: 4 kB / 0.5221 GB, free: 7.129 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000587/0.3752, allocations: 465.4 kB / 0.5226 GB, free: 6.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3753, allocations: 12.03 kB / 0.5226 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.3754, allocations: 7.906 kB / 0.5226 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003367/0.3757, allocations: 208.9 kB / 0.5228 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.3757, allocations: 4 kB / 0.5228 GB, free: 6.348 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.3758, allocations: 4 kB / 0.5228 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001333/0.3759, allocations: 51.92 kB / 0.5228 GB, free: 6.293 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.376, allocations: 69.62 kB / 0.5229 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3761, allocations: 0 / 0.5229 GB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.3761, allocations: 4 kB / 0.5229 GB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3761, allocations: 0 / 0.5229 GB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.3765, allocations: 329.2 kB / 0.5232 GB, free: 5.855 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.3767, allocations: 74.67 kB / 0.5233 GB, free: 5.773 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.3768, allocations: 40.8 kB / 0.5233 GB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.3768, allocations: 0 / 0.5233 GB, free: 5.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001445/0.3769, allocations: 79.27 kB / 0.5234 GB, free: 5.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.377, allocations: 3.938 kB / 0.5234 GB, free: 5.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005438/0.3775, allocations: 210.1 kB / 0.5236 GB, free: 5.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.088e-05/0.3775, allocations: 51.41 kB / 0.5236 GB, free: 5.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.3777, allocations: 171.4 kB / 0.5238 GB, free: 5.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3778, allocations: 29.7 kB / 0.5238 GB, free: 5.145 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.3778, allocations: 104.3 kB / 0.5239 GB, free: 5.039 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.3779, allocations: 31.64 kB / 0.524 GB, free: 5.008 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.3779, allocations: 0 / 0.524 GB, free: 5.008 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.378, allocations: 326.8 kB / 0.5243 GB, free: 4.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.426e-05/0.3781, allocations: 48 kB / 0.5243 GB, free: 4.633 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.013e-05/0.3782, allocations: 61.61 kB / 0.5244 GB, free: 4.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.287e-05/0.3783, allocations: 43.98 kB / 0.5244 GB, free: 4.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3783, allocations: 3.984 kB / 0.5244 GB, free: 4.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000252/0.3786, allocations: 165.5 kB / 0.5246 GB, free: 4.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.3786, allocations: 41.69 kB / 0.5246 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3786, allocations: 8 kB / 0.5246 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3786, allocations: 0 / 0.5246 GB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.3787, allocations: 24.02 kB / 0.5247 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3788, allocations: 0 / 0.5247 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.514e-05/0.3788, allocations: 4 kB / 0.5247 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3788, allocations: 8 kB / 0.5247 GB, free: 4.262 MB / 378.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 (13): * Single equations (assignments): 12 * 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.586e-05/0.3789, allocations: 111.2 kB / 0.5248 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.379, allocations: 19.75 kB / 0.5248 GB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.3792, allocations: 159.4 kB / 0.5249 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3792, allocations: 4 kB / 0.525 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3792, allocations: 0 / 0.525 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3793, allocations: 0 / 0.525 GB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.3797, allocations: 435.8 kB / 0.5254 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3797, allocations: 0 / 0.5254 GB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.319e-05/0.3798, allocations: 19.98 kB / 0.5254 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3798, allocations: 0 / 0.5254 GB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3798, allocations: 4 kB / 0.5254 GB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3798, allocations: 0 / 0.5254 GB, free: 3.469 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3798, allocations: 4.031 kB / 0.5254 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.3801, allocations: 253.8 kB / 0.5256 GB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.589e-05/0.3802, allocations: 104.9 kB / 0.5257 GB, free: 3.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.3802, allocations: 4 kB / 0.5257 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.3803, allocations: 4 kB / 0.5257 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3803, allocations: 16.08 kB / 0.5258 GB, free: 3.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.3804, allocations: 7.938 kB / 0.5258 GB, free: 3.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001029/0.3805, allocations: 135.9 kB / 0.5259 GB, free: 2.906 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3805, allocations: 0 / 0.5259 GB, free: 2.906 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000294/0.3808, allocations: 47.92 kB / 0.5259 GB, free: 2.859 MB / 378.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 (13): * Single equations (assignments): 11 * 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.0008674/0.3816, allocations: 370.7 kB / 0.5263 GB, free: 2.535 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002491/0.3819, allocations: 179.4 kB / 0.5265 GB, free: 2.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3819, allocations: 0 / 0.5265 GB, free: 2.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.378e-05/0.382, allocations: 51.92 kB / 0.5265 GB, free: 2.297 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000239/0.3822, allocations: 27.72 kB / 0.5265 GB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.3826, allocations: 174.7 kB / 0.5267 GB, free: 2.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.3829, allocations: 0.7197 MB / 0.5274 GB, free: 1.332 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.144e-05/0.383, allocations: 24.81 kB / 0.5274 GB, free: 1.305 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.3831, allocations: 19.42 kB / 0.5275 GB, free: 1.289 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3831, allocations: 0 / 0.5275 GB, free: 1.289 MB / 378.7 MB Notification: Performance of Templates: time 0.2196/0.6027, allocations: 1.859 MB / 0.5293 GB, free: 86.62 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1)