Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001366/0.001366, allocations: 180.5 kB / 7.651 MB, free: 1.402 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.466/1.466, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001702/0.001703, allocations: 116.1 kB / 247.4 MB, free: 6.207 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.1991/0.1991, allocations: 39.95 MB / 332.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.794e-05/1.797e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1047, allocations: 54.88 MB / 448.2 MB, free: 20.65 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3941/0.4989, allocations: 82.15 MB / 0.5179 GB, free: 10.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.4991, allocations: 70.22 kB / 0.518 GB, free: 10.34 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getDerTableValue. [/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.008897/0.508, allocations: 3.564 MB / 0.5215 GB, free: 9.344 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5081, allocations: 3.844 kB / 0.5215 GB, free: 9.344 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.5081, allocations: 0 / 0.5215 GB, free: 9.344 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004659/0.5085, allocations: 0.5 MB / 0.522 GB, free: 8.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.5086, allocations: 7.812 kB / 0.522 GB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.5087, allocations: 19.48 kB / 0.522 GB, free: 8.824 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002784/0.5089, allocations: 217 kB / 0.5222 GB, free: 8.598 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.509, allocations: 7.844 kB / 0.5222 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.509, allocations: 4.594 kB / 0.5222 GB, free: 8.594 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/0.5091, allocations: 32.2 kB / 0.5222 GB, free: 8.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001112/0.5092, allocations: 66.39 kB / 0.5223 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.5093, allocations: 0 / 0.5223 GB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.5093, allocations: 7.938 kB / 0.5223 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.5093, allocations: 0 / 0.5223 GB, free: 8.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.5097, allocations: 351.6 kB / 0.5226 GB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.51, allocations: 83.83 kB / 0.5227 GB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.688e-05/0.51, allocations: 31.27 kB / 0.5228 GB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.51, allocations: 3.953 kB / 0.5228 GB, free: 8.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001352/0.5102, allocations: 81.48 kB / 0.5228 GB, free: 8.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.303e-06/0.5102, allocations: 0 / 0.5228 GB, free: 8.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002159/0.5104, allocations: 100.7 kB / 0.5229 GB, free: 8.094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.5105, allocations: 51.41 kB / 0.523 GB, free: 8.031 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.5106, allocations: 161.1 kB / 0.5231 GB, free: 7.918 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5106, allocations: 29.55 kB / 0.5232 GB, free: 7.887 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.5107, allocations: 103.1 kB / 0.5233 GB, free: 7.797 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.5107, allocations: 30.92 kB / 0.5233 GB, free: 7.773 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.604e-06/0.5107, allocations: 3.844 kB / 0.5233 GB, free: 7.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.5108, allocations: 325.6 kB / 0.5236 GB, free: 7.457 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.498e-05/0.5108, allocations: 29.72 kB / 0.5236 GB, free: 7.457 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/0.5109, allocations: 58.78 kB / 0.5237 GB, free: 7.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.867e-05/0.511, allocations: 36.95 kB / 0.5237 GB, free: 7.426 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.511, allocations: 4 kB / 0.5237 GB, free: 7.422 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002079/0.5112, allocations: 150.1 kB / 0.5239 GB, free: 7.363 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.201e-05/0.5112, allocations: 40.62 kB / 0.5239 GB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5112, allocations: 3.984 kB / 0.5239 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5113, allocations: 0 / 0.5239 GB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.5114, allocations: 23.08 kB / 0.5239 GB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.5114, allocations: 3.938 kB / 0.5239 GB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.491e-05/0.5115, allocations: 15.58 kB / 0.524 GB, free: 7.309 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.5115, allocations: 11.41 kB / 0.524 GB, free: 7.305 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 6.645e-05/0.5116, allocations: 108.8 kB / 0.5241 GB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.5116, allocations: 11.31 kB / 0.5241 GB, free: 7.191 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001799/0.5118, allocations: 115.4 kB / 0.5242 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.5118, allocations: 96 / 0.5242 GB, free: 7.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.5118, allocations: 3.938 kB / 0.5242 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5118, allocations: 3.844 kB / 0.5242 GB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.5119, allocations: 186 kB / 0.5244 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5119, allocations: 0 / 0.5244 GB, free: 6.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.009e-05/0.512, allocations: 15.59 kB / 0.5244 GB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.512, allocations: 0 / 0.5244 GB, free: 6.945 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.5121, allocations: 11.61 kB / 0.5244 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5121, allocations: 0 / 0.5244 GB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.5121, allocations: 3.953 kB / 0.5244 GB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.5123, allocations: 159.7 kB / 0.5246 GB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.5124, allocations: 100.3 kB / 0.5246 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.5124, allocations: 0 / 0.5246 GB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.674e-05/0.5125, allocations: 15.73 kB / 0.5247 GB, free: 6.742 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.5125, allocations: 11.77 kB / 0.5247 GB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.5125, allocations: 3.953 kB / 0.5247 GB, free: 6.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.07e-05/0.5126, allocations: 121.6 kB / 0.5248 GB, free: 6.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5126, allocations: 0 / 0.5248 GB, free: 6.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002499/0.5129, allocations: 42.08 kB / 0.5248 GB, free: 6.641 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0007155/0.5136, allocations: 327 kB / 0.5251 GB, free: 6.422 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002163/0.5138, allocations: 161.7 kB / 0.5253 GB, free: 6.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5138, allocations: 4.125 kB / 0.5253 GB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.612e-05/0.5139, allocations: 32.34 kB / 0.5253 GB, free: 6.344 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00027/0.5142, allocations: 26.88 kB / 0.5254 GB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.5146, allocations: 170.5 kB / 0.5255 GB, free: 6.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.5148, allocations: 0.726 MB / 0.5262 GB, free: 5.492 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.5149, allocations: 8.25 kB / 0.5262 GB, free: 5.488 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.575e-05/0.5149, allocations: 15.12 kB / 0.5263 GB, free: 5.484 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5149, allocations: 0 / 0.5263 GB, free: 5.484 MB / 346.7 MB Notification: Performance of Templates: time 0.004165/0.5191, allocations: 1.7 MB / 0.5279 GB, free: 4.637 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1)