Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001102/0.001102, allocations: 182.5 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.519/1.519, allocations: 194.3 MB / 207.5 MB, free: 3.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.001794/0.001794, allocations: 122.9 kB / 252.6 MB, free: 4.789 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.2087/0.2087, allocations: 39.93 MB / 337.5 MB, free: 492 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.199e-05/4.209e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4786/0.6115, allocations: 82.05 MB / 0.5246 GB, free: 9.074 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.6118, allocations: 73.84 kB / 0.5247 GB, free: 9.035 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.01272/0.6246, allocations: 4.878 MB / 0.5294 GB, free: 5.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6246, allocations: 0 / 0.5294 GB, free: 5.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.18e-05/0.6246, allocations: 4 kB / 0.5294 GB, free: 5.137 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.0004454/0.6251, allocations: 480.5 kB / 0.5299 GB, free: 4.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.6251, allocations: 8.031 kB / 0.5299 GB, free: 4.617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.6252, allocations: 19.81 kB / 0.5299 GB, free: 4.598 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.6255, allocations: 221 kB / 0.5301 GB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.6255, allocations: 4 kB / 0.5301 GB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.6255, allocations: 4 kB / 0.5301 GB, free: 4.344 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.6257, allocations: 55.55 kB / 0.5302 GB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6257, allocations: 0 / 0.5302 GB, free: 4.293 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.6257, allocations: 3.953 kB / 0.5302 GB, free: 4.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.6257, allocations: 8 kB / 0.5302 GB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.385e-05/0.6258, allocations: 18.38 kB / 0.5302 GB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.6261, allocations: 327.2 kB / 0.5305 GB, free: 3.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.682e-05/0.6262, allocations: 57.31 kB / 0.5306 GB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.345e-05/0.6263, allocations: 16.8 kB / 0.5306 GB, free: 3.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.6263, allocations: 4 kB / 0.5306 GB, free: 3.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.6264, allocations: 73.03 kB / 0.5307 GB, free: 3.781 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.6264, allocations: 0 / 0.5307 GB, free: 3.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004228/0.6268, allocations: 171.1 kB / 0.5308 GB, free: 3.633 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.6269, allocations: 51.41 kB / 0.5309 GB, free: 3.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001929/0.6271, allocations: 231.4 kB / 0.5311 GB, free: 3.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.6271, allocations: 25.7 kB / 0.5311 GB, free: 3.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.597e-05/0.6271, allocations: 122.9 kB / 0.5313 GB, free: 3.234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.6272, allocations: 30.7 kB / 0.5313 GB, free: 3.211 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/0.6272, allocations: 7.438 kB / 0.5313 GB, free: 3.207 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.915e-05/0.6273, allocations: 322.3 kB / 0.5316 GB, free: 2.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.767e-05/0.6273, allocations: 37.44 kB / 0.5316 GB, free: 2.863 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.348e-05/0.6274, allocations: 53.52 kB / 0.5317 GB, free: 2.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.819e-05/0.6275, allocations: 69.44 kB / 0.5318 GB, free: 2.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.6275, allocations: 4 kB / 0.5318 GB, free: 2.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002032/0.6277, allocations: 181.4 kB / 0.5319 GB, free: 2.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.6277, allocations: 36.7 kB / 0.532 GB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.6277, allocations: 0 / 0.532 GB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.6278, allocations: 0 / 0.532 GB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.6279, allocations: 20.08 kB / 0.532 GB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.6279, allocations: 3.938 kB / 0.532 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.6279, allocations: 7.906 kB / 0.532 GB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.6279, allocations: 7.375 kB / 0.532 GB, free: 2.523 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.922e-05/0.628, allocations: 124.3 kB / 0.5321 GB, free: 2.398 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.011e-05/0.628, allocations: 11.86 kB / 0.5321 GB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/0.6282, allocations: 122.3 kB / 0.5323 GB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.6283, allocations: 0 / 0.5323 GB, free: 2.277 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6283, allocations: 7.938 kB / 0.5323 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.6283, allocations: 0 / 0.5323 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.6286, allocations: 423 kB / 0.5327 GB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6287, allocations: 11.97 kB / 0.5327 GB, free: 1.832 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/0.6287, allocations: 12 kB / 0.5327 GB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6287, allocations: 0 / 0.5327 GB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.6287, allocations: 3.25 kB / 0.5327 GB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.6287, allocations: 7.984 kB / 0.5327 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.6287, allocations: 0 / 0.5327 GB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.6289, allocations: 226.9 kB / 0.5329 GB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.629, allocations: 108 kB / 0.533 GB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.505e-05/0.629, allocations: 4 kB / 0.533 GB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.414e-05/0.6291, allocations: 7.25 kB / 0.533 GB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.6291, allocations: 7.922 kB / 0.533 GB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.6292, allocations: 4 kB / 0.533 GB, free: 1.445 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001306/0.6293, allocations: 194 kB / 0.5332 GB, free: 1.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6293, allocations: 0 / 0.5332 GB, free: 1.289 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002523/0.6296, allocations: 47.11 kB / 0.5333 GB, free: 1.246 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.0008369/0.6304, allocations: 387.4 kB / 0.5336 GB, free: 0.9375 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002006/0.6306, allocations: 172.1 kB / 0.5338 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.6306, allocations: 0 / 0.5338 GB, free: 0.7969 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.387e-05/0.6307, allocations: 30.25 kB / 0.5338 GB, free: 0.7773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.6309, allocations: 27.09 kB / 0.5339 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.6314, allocations: 230.8 kB / 0.5341 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.6317, allocations: 0.7189 MB / 0.5348 GB, free: 15.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.622e-05/0.6317, allocations: 12.44 kB / 0.5348 GB, free: 15.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.367e-05/0.6318, allocations: 18.88 kB / 0.5348 GB, free: 15.76 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.6318, allocations: 0 / 0.5348 GB, free: 15.76 MB / 362.7 MB Notification: Performance of Templates: time 0.004904/0.6367, allocations: 1.888 MB / 0.5367 GB, free: 13.89 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1)