Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00172/0.001719, allocations: 176.2 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.55/1.55, 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.001663/0.001663, 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.183/0.183, allocations: 39.95 MB / 332.2 MB, free: 0.6445 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.067e-05, allocations: 8 kB / 393.3 MB, free: 3.438 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2284, allocations: 54.88 MB / 448.2 MB, free: 13.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3322, allocations: 81.24 MB / 0.517 GB, free: 12.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.3324, allocations: 71.97 kB / 0.5171 GB, free: 12.25 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01259/0.345, allocations: 4.364 MB / 0.5214 GB, free: 7.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3451, allocations: 4 kB / 0.5214 GB, free: 7.883 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.3451, allocations: 0 / 0.5214 GB, free: 7.883 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004694/0.3456, allocations: 456.4 kB / 0.5218 GB, free: 7.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3456, allocations: 8.031 kB / 0.5218 GB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.3457, allocations: 11.91 kB / 0.5218 GB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.3459, allocations: 202.9 kB / 0.522 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.346, allocations: 0 / 0.522 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.346, allocations: 4 kB / 0.522 GB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.063e-05/0.3461, allocations: 19.98 kB / 0.522 GB, free: 7.102 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.702e-05/0.3461, allocations: 45.62 kB / 0.5221 GB, free: 7.051 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.3462, allocations: 3.953 kB / 0.5221 GB, free: 7.047 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3462, allocations: 7.938 kB / 0.5221 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3462, allocations: 0 / 0.5221 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000181/0.3464, allocations: 182.1 kB / 0.5223 GB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.629e-05/0.3465, allocations: 46.62 kB / 0.5223 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.3465, allocations: 20.86 kB / 0.5223 GB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.3465, allocations: 0 / 0.5223 GB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001097/0.3467, allocations: 63.48 kB / 0.5224 GB, free: 6.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3467, allocations: 0 / 0.5224 GB, free: 6.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001771/0.3469, allocations: 77.53 kB / 0.5225 GB, free: 6.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.3469, allocations: 59.39 kB / 0.5225 GB, free: 6.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3471, allocations: 163.2 kB / 0.5227 GB, free: 6.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.3471, allocations: 33.7 kB / 0.5227 GB, free: 6.312 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.806e-05/0.3471, allocations: 96.12 kB / 0.5228 GB, free: 6.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.3472, allocations: 11.91 kB / 0.5228 GB, free: 6.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.3472, allocations: 0 / 0.5228 GB, free: 6.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3473, allocations: 322.8 kB / 0.5231 GB, free: 5.879 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.913e-05/0.3473, allocations: 24 kB / 0.5231 GB, free: 5.855 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.75e-05/0.3474, allocations: 37.72 kB / 0.5232 GB, free: 5.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6e-05/0.3475, allocations: 35.97 kB / 0.5232 GB, free: 5.777 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3475, allocations: 0 / 0.5232 GB, free: 5.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001833/0.3477, allocations: 113.4 kB / 0.5233 GB, free: 5.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/0.3477, allocations: 37.69 kB / 0.5234 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3477, allocations: 0 / 0.5234 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.3477, allocations: 0 / 0.5234 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.369e-05/0.3478, allocations: 12 kB / 0.5234 GB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3478, allocations: 7.922 kB / 0.5234 GB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.3479, allocations: 7.938 kB / 0.5234 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3479, allocations: 7.953 kB / 0.5234 GB, free: 5.582 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 (8): * Single equations (assignments): 7 * 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.174e-05/0.348, allocations: 113 kB / 0.5235 GB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.788e-05/0.348, allocations: 11.81 kB / 0.5235 GB, free: 5.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.3482, allocations: 86.02 kB / 0.5236 GB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3482, allocations: 11.92 kB / 0.5236 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3482, allocations: 0 / 0.5236 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3482, allocations: 0 / 0.5236 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.3483, allocations: 174.1 kB / 0.5238 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.3484, allocations: 192 / 0.5238 GB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-05/0.3484, allocations: 11.94 kB / 0.5238 GB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3484, allocations: 4 kB / 0.5238 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.3484, allocations: 0 / 0.5238 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3484, allocations: 0 / 0.5238 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3484, allocations: 0 / 0.5238 GB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.3486, allocations: 113.6 kB / 0.5239 GB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.541e-05/0.3487, allocations: 93 kB / 0.524 GB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.3487, allocations: 4 kB / 0.524 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.3487, allocations: 0 / 0.524 GB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.963e-05/0.3488, allocations: 11.98 kB / 0.524 GB, free: 4.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3488, allocations: 4 kB / 0.524 GB, free: 4.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.3489, allocations: 136 kB / 0.5241 GB, free: 4.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3489, allocations: 0 / 0.5241 GB, free: 4.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002196/0.3491, allocations: 31.94 kB / 0.5242 GB, free: 4.699 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006761/0.3498, allocations: 322 kB / 0.5245 GB, free: 4.414 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.35, allocations: 135.4 kB / 0.5246 GB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.35, allocations: 0 / 0.5246 GB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.746e-05/0.3501, allocations: 19.94 kB / 0.5246 GB, free: 4.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001936/0.3503, allocations: 28 kB / 0.5246 GB, free: 4.223 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.3506, allocations: 133.2 kB / 0.5248 GB, free: 4.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.3508, allocations: 0.7079 MB / 0.5255 GB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.787e-05/0.3509, allocations: 19.91 kB / 0.5255 GB, free: 3.316 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.3509, allocations: 15.44 kB / 0.5255 GB, free: 3.305 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3509, allocations: 0 / 0.5255 GB, free: 3.305 MB / 378.7 MB Notification: Performance of Templates: time 0.003604/0.3545, allocations: 1.415 MB / 0.5269 GB, free: 1.898 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)