Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001338/0.001338, allocations: 182.2 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.619/1.619, allocations: 194.3 MB / 207.5 MB, free: 3.375 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.001605/0.001605, allocations: 120.1 kB / 252.6 MB, free: 4.836 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.2062/0.2062, allocations: 39.94 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.293e-05/5.294e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1703, allocations: 54.87 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5747/0.745, allocations: 82.06 MB / 0.5246 GB, free: 9.035 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.7454, allocations: 71.14 kB / 0.5247 GB, free: 9 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.01634/0.7618, allocations: 4.629 MB / 0.5292 GB, free: 5.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.7618, allocations: 0 / 0.5292 GB, free: 5.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.7618, allocations: 4 kB / 0.5292 GB, free: 5.336 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.0004937/0.7623, allocations: 469.1 kB / 0.5297 GB, free: 4.828 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/0.7624, allocations: 12.03 kB / 0.5297 GB, free: 4.816 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.7625, allocations: 7.906 kB / 0.5297 GB, free: 4.809 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.7628, allocations: 214.1 kB / 0.5299 GB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.7628, allocations: 0 / 0.5299 GB, free: 4.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.7629, allocations: 8 kB / 0.5299 GB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.763, allocations: 49.44 kB / 0.5299 GB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.7631, allocations: 0 / 0.5299 GB, free: 4.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.7631, allocations: 3.953 kB / 0.5299 GB, free: 4.512 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.7631, allocations: 7.984 kB / 0.53 GB, free: 4.504 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.354e-05/0.7632, allocations: 23.62 kB / 0.53 GB, free: 4.488 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.7637, allocations: 313.9 kB / 0.5303 GB, free: 4.156 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.7638, allocations: 55.62 kB / 0.5303 GB, free: 4.105 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.7639, allocations: 16.36 kB / 0.5303 GB, free: 4.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.7639, allocations: 4 kB / 0.5303 GB, free: 4.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.7641, allocations: 74.28 kB / 0.5304 GB, free: 4.008 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.034e-06/0.7641, allocations: 0 / 0.5304 GB, free: 4.008 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000578/0.7647, allocations: 173 kB / 0.5306 GB, free: 3.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.7648, allocations: 51.41 kB / 0.5306 GB, free: 3.801 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.765, allocations: 183.2 kB / 0.5308 GB, free: 3.629 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.765, allocations: 25.7 kB / 0.5308 GB, free: 3.598 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.765, allocations: 113.4 kB / 0.5309 GB, free: 3.496 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.7651, allocations: 22.84 kB / 0.531 GB, free: 3.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.7651, allocations: 0 / 0.531 GB, free: 3.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.048e-05/0.7652, allocations: 326.3 kB / 0.5313 GB, free: 3.156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.595e-05/0.7652, allocations: 34.3 kB / 0.5313 GB, free: 3.133 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.462e-05/0.7653, allocations: 51.66 kB / 0.5314 GB, free: 3.094 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.956e-05/0.7654, allocations: 72.48 kB / 0.5314 GB, free: 3.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.7655, allocations: 0 / 0.5314 GB, free: 3.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003105/0.7658, allocations: 180.9 kB / 0.5316 GB, free: 2.871 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.809e-05/0.7658, allocations: 37.14 kB / 0.5316 GB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7658, allocations: 0 / 0.5316 GB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.7659, allocations: 3.984 kB / 0.5316 GB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.766, allocations: 12 kB / 0.5316 GB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.766, allocations: 8.062 kB / 0.5317 GB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.745e-05/0.7661, allocations: 8.031 kB / 0.5317 GB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.7661, allocations: 15.3 kB / 0.5317 GB, free: 2.789 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.968e-05/0.7662, allocations: 109 kB / 0.5318 GB, free: 2.676 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.7663, allocations: 11.86 kB / 0.5318 GB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002776/0.7666, allocations: 123.2 kB / 0.5319 GB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.7666, allocations: 0 / 0.5319 GB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.7666, allocations: 0 / 0.5319 GB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.7666, allocations: 0 / 0.5319 GB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004552/0.7671, allocations: 416.7 kB / 0.5323 GB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.7671, allocations: 0 / 0.5323 GB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.073e-05/0.7671, allocations: 12.03 kB / 0.5323 GB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.7672, allocations: 4 kB / 0.5323 GB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.7672, allocations: 0 / 0.5323 GB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.7672, allocations: 0 / 0.5323 GB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7672, allocations: 4 kB / 0.5323 GB, free: 2.121 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.7675, allocations: 223.8 kB / 0.5325 GB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.7675, allocations: 108.6 kB / 0.5326 GB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.976e-05/0.7676, allocations: 0 / 0.5326 GB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.7677, allocations: 7.625 kB / 0.5326 GB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.7677, allocations: 11.92 kB / 0.5327 GB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.7678, allocations: 4 kB / 0.5327 GB, free: 1.758 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.7679, allocations: 143.3 kB / 0.5328 GB, free: 1.637 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.7679, allocations: 3.938 kB / 0.5328 GB, free: 1.633 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004043/0.7683, allocations: 39.56 kB / 0.5328 GB, free: 1.598 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.001149/0.7695, allocations: 389.1 kB / 0.5332 GB, free: 1.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002651/0.7698, allocations: 159.6 kB / 0.5334 GB, free: 1.164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7698, allocations: 192 / 0.5334 GB, free: 1.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.7699, allocations: 35.25 kB / 0.5334 GB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.7702, allocations: 31.48 kB / 0.5334 GB, free: 1.109 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004357/0.7706, allocations: 176.5 kB / 0.5336 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001808/0.7708, allocations: 0.7118 MB / 0.5343 GB, free: 204 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.982e-05/0.7709, allocations: 20.56 kB / 0.5343 GB, free: 184 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.771, allocations: 15.44 kB / 0.5343 GB, free: 168 kB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.771, allocations: 0 / 0.5343 GB, free: 168 kB / 346.7 MB Notification: Performance of Templates: time 0.006363/0.7773, allocations: 1.753 MB / 0.536 GB, free: 14.44 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1)