Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001464/0.001464, allocations: 176 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.486/1.486, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.001646/0.001646, allocations: 115.4 kB / 247.4 MB, free: 24 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1636/0.1636, allocations: 39.95 MB / 332.2 MB, free: 0.6406 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.98e-05/1.981e-05, allocations: 8 kB / 393.3 MB, free: 3.445 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2371/0.2371, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1045/0.3417, allocations: 81.39 MB / 0.5172 GB, free: 12.17 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/0.3419, allocations: 71.97 kB / 0.5173 GB, free: 12.1 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.01305/0.355, allocations: 4.699 MB / 0.5218 GB, free: 7.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.355, allocations: 0 / 0.5218 GB, free: 7.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.355, allocations: 4 kB / 0.5218 GB, free: 7.391 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005025/0.3556, allocations: 462.5 kB / 0.5223 GB, free: 6.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.3556, allocations: 12.03 kB / 0.5223 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.3557, allocations: 11.91 kB / 0.5223 GB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.356, allocations: 222.7 kB / 0.5225 GB, free: 6.602 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.971e-05/0.356, allocations: 4 kB / 0.5225 GB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.3561, allocations: 7.906 kB / 0.5225 GB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.06e-05/0.3562, allocations: 19.98 kB / 0.5226 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.576e-05/0.3563, allocations: 45.69 kB / 0.5226 GB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3563, allocations: 3.953 kB / 0.5226 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3563, allocations: 4 kB / 0.5226 GB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3563, allocations: 4 kB / 0.5226 GB, free: 6.508 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004014/0.3567, allocations: 289.5 kB / 0.5229 GB, free: 6.184 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.3569, allocations: 58.62 kB / 0.5229 GB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.452e-05/0.3569, allocations: 16.98 kB / 0.523 GB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.127e-05/0.3569, allocations: 0 / 0.523 GB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.3571, allocations: 71.34 kB / 0.523 GB, free: 6.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.3571, allocations: 0 / 0.523 GB, free: 6.016 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004849/0.3576, allocations: 165 kB / 0.5232 GB, free: 5.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3576, allocations: 51.41 kB / 0.5232 GB, free: 5.785 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3578, allocations: 194.5 kB / 0.5234 GB, free: 5.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.82e-05/0.3578, allocations: 33.69 kB / 0.5234 GB, free: 5.547 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.3579, allocations: 100.1 kB / 0.5235 GB, free: 5.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.3579, allocations: 23.64 kB / 0.5236 GB, free: 5.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.258e-06/0.3579, allocations: 8 kB / 0.5236 GB, free: 5.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3581, allocations: 327.5 kB / 0.5239 GB, free: 5.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.548e-05/0.3581, allocations: 28 kB / 0.5239 GB, free: 5.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.842e-05/0.3582, allocations: 51.81 kB / 0.524 GB, free: 5.004 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.083e-05/0.3583, allocations: 35.92 kB / 0.524 GB, free: 4.969 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.3583, allocations: 4 kB / 0.524 GB, free: 4.965 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002206/0.3585, allocations: 129.5 kB / 0.5241 GB, free: 4.832 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.3586, allocations: 45.16 kB / 0.5242 GB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.3586, allocations: 4.141 kB / 0.5242 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3586, allocations: 4 kB / 0.5242 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.18e-05/0.3587, allocations: 23.94 kB / 0.5242 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.3587, allocations: 0 / 0.5242 GB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.042e-05/0.3588, allocations: 7.984 kB / 0.5242 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.3588, allocations: 4 kB / 0.5242 GB, free: 4.742 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 (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 7.079e-05/0.3589, allocations: 112.9 kB / 0.5243 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.3589, allocations: 11.91 kB / 0.5243 GB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002116/0.3591, allocations: 123.5 kB / 0.5244 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.3591, allocations: 3.953 kB / 0.5245 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3591, allocations: 0 / 0.5245 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3592, allocations: 0 / 0.5245 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004229/0.3596, allocations: 391.8 kB / 0.5248 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3596, allocations: 0 / 0.5248 GB, free: 4.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.296e-05/0.3596, allocations: 8 kB / 0.5248 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3597, allocations: 11.98 kB / 0.5248 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.756e-06/0.3597, allocations: 0 / 0.5248 GB, free: 4.035 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3597, allocations: 3.984 kB / 0.5248 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3597, allocations: 0 / 0.5248 GB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002126/0.3599, allocations: 218.1 kB / 0.5251 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.36, allocations: 104.9 kB / 0.5252 GB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.36, allocations: 8 kB / 0.5252 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.409e-05/0.3601, allocations: 0 / 0.5252 GB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.3602, allocations: 7.984 kB / 0.5252 GB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.3602, allocations: 4 kB / 0.5252 GB, free: 3.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3603, allocations: 156.3 kB / 0.5253 GB, free: 3.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.763e-06/0.3603, allocations: 0 / 0.5253 GB, free: 3.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002821/0.3606, allocations: 51.86 kB / 0.5254 GB, free: 3.449 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 (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.0007608/0.3614, allocations: 357.6 kB / 0.5257 GB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.3616, allocations: 155.3 kB / 0.5259 GB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3616, allocations: 0 / 0.5259 GB, free: 2.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.229e-05/0.3617, allocations: 28 kB / 0.5259 GB, free: 2.945 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.3619, allocations: 15.98 kB / 0.5259 GB, free: 2.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003685/0.3623, allocations: 201.6 kB / 0.5261 GB, free: 2.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.3626, allocations: 0.708 MB / 0.5268 GB, free: 1.969 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.747e-05/0.3627, allocations: 20.56 kB / 0.5268 GB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.3627, allocations: 23.42 kB / 0.5268 GB, free: 1.926 MB / 378.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3627, allocations: 0 / 0.5268 GB, free: 1.926 MB / 378.7 MB Notification: Performance of Templates: time 0.004115/0.3668, allocations: 1.712 MB / 0.5285 GB, free: 236 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)