Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001243/0.001243, allocations: 181.4 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.718/1.718, allocations: 194.3 MB / 207.5 MB, free: 3.395 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.001675/0.001675, allocations: 118.6 kB / 252.6 MB, free: 4.805 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.2144/0.2144, allocations: 39.94 MB / 337.5 MB, free: 472 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.347e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1504, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5727/0.7232, allocations: 82.02 MB / 0.5246 GB, free: 9.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.7235, allocations: 76.45 kB / 0.5247 GB, free: 9.031 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.01485/0.7384, allocations: 4.494 MB / 0.529 GB, free: 5.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.7384, allocations: 4 kB / 0.529 GB, free: 5.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.467e-05/0.7385, allocations: 0 / 0.529 GB, free: 5.484 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.0005142/0.739, allocations: 467.1 kB / 0.5295 GB, free: 4.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.739, allocations: 12.03 kB / 0.5295 GB, free: 4.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/0.7391, allocations: 7.906 kB / 0.5295 GB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.7394, allocations: 212.9 kB / 0.5297 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.7395, allocations: 4 kB / 0.5297 GB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.982e-05/0.7395, allocations: 11.36 kB / 0.5297 GB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.7397, allocations: 47.06 kB / 0.5298 GB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.7397, allocations: 0 / 0.5298 GB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.7397, allocations: 3.953 kB / 0.5298 GB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.7397, allocations: 0 / 0.5298 GB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.193e-05/0.7398, allocations: 27.61 kB / 0.5298 GB, free: 4.641 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004471/0.7403, allocations: 319.2 kB / 0.5301 GB, free: 4.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.7404, allocations: 52.31 kB / 0.5302 GB, free: 4.254 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.7405, allocations: 19.17 kB / 0.5302 GB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.7405, allocations: 3.938 kB / 0.5302 GB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.7407, allocations: 76.84 kB / 0.5303 GB, free: 4.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.744e-06/0.7407, allocations: 4 kB / 0.5303 GB, free: 4.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005505/0.7413, allocations: 162.8 kB / 0.5304 GB, free: 4.012 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.7413, allocations: 59.41 kB / 0.5305 GB, free: 3.941 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.7415, allocations: 178.4 kB / 0.5306 GB, free: 3.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.7415, allocations: 29.2 kB / 0.5307 GB, free: 3.742 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.7416, allocations: 105.8 kB / 0.5308 GB, free: 3.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.012e-05/0.7416, allocations: 27.05 kB / 0.5308 GB, free: 3.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.7417, allocations: 0 / 0.5308 GB, free: 3.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.33e-05/0.7417, allocations: 325 kB / 0.5311 GB, free: 3.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.48e-05/0.7418, allocations: 38.81 kB / 0.5311 GB, free: 3.281 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.801e-05/0.7419, allocations: 56.94 kB / 0.5312 GB, free: 3.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.7421, allocations: 70.19 kB / 0.5313 GB, free: 3.176 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.7421, allocations: 0 / 0.5313 GB, free: 3.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003026/0.7424, allocations: 183.6 kB / 0.5314 GB, free: 3.016 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.678e-05/0.7424, allocations: 33.7 kB / 0.5315 GB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.7424, allocations: 0 / 0.5315 GB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.7425, allocations: 4.031 kB / 0.5315 GB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.7426, allocations: 19.92 kB / 0.5315 GB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.7426, allocations: 4 kB / 0.5315 GB, free: 2.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.755e-05/0.7427, allocations: 7.5 kB / 0.5315 GB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.7427, allocations: 4 kB / 0.5315 GB, free: 2.941 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 7.981e-05/0.7428, allocations: 116.4 kB / 0.5316 GB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.7429, allocations: 15.86 kB / 0.5316 GB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.7431, allocations: 117.9 kB / 0.5317 GB, free: 2.711 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.7432, allocations: 4 kB / 0.5318 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.7432, allocations: 0 / 0.5318 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7432, allocations: 0 / 0.5318 GB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005409/0.7437, allocations: 413 kB / 0.5321 GB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.7438, allocations: 3.984 kB / 0.5321 GB, free: 2.285 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.971e-05/0.7438, allocations: 12 kB / 0.5322 GB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.7438, allocations: 0 / 0.5322 GB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.7438, allocations: 0 / 0.5322 GB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.7439, allocations: 4 kB / 0.5322 GB, free: 2.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7439, allocations: 4.031 kB / 0.5322 GB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.7441, allocations: 217.6 kB / 0.5324 GB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.861e-05/0.7442, allocations: 100.2 kB / 0.5325 GB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.7442, allocations: 11.11 kB / 0.5325 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.7443, allocations: 0 / 0.5325 GB, free: 1.926 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.7444, allocations: 22.55 kB / 0.5325 GB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.7444, allocations: 4.469 kB / 0.5325 GB, free: 1.902 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.7446, allocations: 143.8 kB / 0.5326 GB, free: 1.781 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.7446, allocations: 0 / 0.5326 GB, free: 1.781 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003456/0.7449, allocations: 46.44 kB / 0.5327 GB, free: 1.738 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.001061/0.746, allocations: 383.6 kB / 0.5331 GB, free: 1.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002456/0.7462, allocations: 164 kB / 0.5332 GB, free: 1.297 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7463, allocations: 4.062 kB / 0.5332 GB, free: 1.293 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.401e-05/0.7463, allocations: 30.56 kB / 0.5332 GB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.7466, allocations: 29.62 kB / 0.5333 GB, free: 1.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.747, allocations: 175.2 kB / 0.5334 GB, free: 1.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001846/0.7472, allocations: 0.7154 MB / 0.5341 GB, free: 340 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.716e-05/0.7473, allocations: 16.56 kB / 0.5342 GB, free: 324 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.688e-05/0.7473, allocations: 15.44 kB / 0.5342 GB, free: 308 kB / 346.7 MB Notification: Performance of SimCode: time 3.91e-07/0.7474, allocations: 0 / 0.5342 GB, free: 308 kB / 346.7 MB Notification: Performance of Templates: time 0.005415/0.7528, allocations: 1.759 MB / 0.5359 GB, free: 14.57 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1)