Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001709/0.001709, 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.708/1.708, allocations: 194.3 MB / 207.5 MB, free: 3.398 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.001645/0.001645, allocations: 114 kB / 252.6 MB, free: 4.816 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.2904/0.2904, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.381e-05/4.383e-05, allocations: 8 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1329, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5661/0.699, allocations: 82.81 MB / 0.5254 GB, free: 8.496 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.6993, allocations: 74.83 kB / 0.5254 GB, free: 8.457 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.009206/0.7085, allocations: 3.6 MB / 0.5289 GB, free: 5.625 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.7085, allocations: 0 / 0.5289 GB, free: 5.625 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.7085, allocations: 4 kB / 0.5289 GB, free: 5.621 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.0004623/0.709, allocations: 0.5061 MB / 0.5294 GB, free: 5.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.7091, allocations: 8.031 kB / 0.5294 GB, free: 5.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.369e-05/0.7091, allocations: 19.77 kB / 0.5295 GB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002844/0.7094, allocations: 212 kB / 0.5297 GB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.7095, allocations: 4 kB / 0.5297 GB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.7095, allocations: 11.81 kB / 0.5297 GB, free: 4.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.7096, allocations: 68.98 kB / 0.5297 GB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.7097, allocations: 3.938 kB / 0.5297 GB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.7097, allocations: 15.86 kB / 0.5298 GB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.7097, allocations: 3.953 kB / 0.5298 GB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.7098, allocations: 31.56 kB / 0.5298 GB, free: 4.684 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.7103, allocations: 362.8 kB / 0.5301 GB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.7106, allocations: 97.61 kB / 0.5302 GB, free: 4.234 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/0.7107, allocations: 32.42 kB / 0.5303 GB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.7107, allocations: 0 / 0.5303 GB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.7109, allocations: 79.19 kB / 0.5303 GB, free: 4.129 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.955e-06/0.7109, allocations: 0 / 0.5303 GB, free: 4.129 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002372/0.7111, allocations: 112.7 kB / 0.5305 GB, free: 4.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.7112, allocations: 55.28 kB / 0.5305 GB, free: 3.965 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.7113, allocations: 157.6 kB / 0.5307 GB, free: 3.816 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.7113, allocations: 33.52 kB / 0.5307 GB, free: 3.781 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.7114, allocations: 107.3 kB / 0.5308 GB, free: 3.684 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.7114, allocations: 31.28 kB / 0.5308 GB, free: 3.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.7114, allocations: 0 / 0.5308 GB, free: 3.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.99e-05/0.7115, allocations: 330.7 kB / 0.5311 GB, free: 3.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.7115, allocations: 31.44 kB / 0.5312 GB, free: 3.316 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.7116, allocations: 69.56 kB / 0.5312 GB, free: 3.258 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.924e-05/0.7117, allocations: 74.19 kB / 0.5313 GB, free: 3.195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7117, allocations: 0 / 0.5313 GB, free: 3.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002081/0.7119, allocations: 185.6 kB / 0.5315 GB, free: 3.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.712, allocations: 33.7 kB / 0.5315 GB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.712, allocations: 3.938 kB / 0.5315 GB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.712, allocations: 8.062 kB / 0.5315 GB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.7121, allocations: 27.73 kB / 0.5315 GB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7121, allocations: 4 kB / 0.5316 GB, free: 2.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.113e-05/0.7122, allocations: 16.08 kB / 0.5316 GB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.7122, allocations: 4 kB / 0.5316 GB, free: 2.934 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 5.438e-05/0.7123, allocations: 116.7 kB / 0.5317 GB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.7123, allocations: 15.86 kB / 0.5317 GB, free: 2.801 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.7125, allocations: 130.1 kB / 0.5318 GB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-06/0.7125, allocations: 0 / 0.5318 GB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7125, allocations: 4 kB / 0.5318 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.7125, allocations: 0 / 0.5318 GB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.7127, allocations: 207.1 kB / 0.532 GB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.7127, allocations: 0 / 0.532 GB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.475e-05/0.7127, allocations: 19.92 kB / 0.532 GB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.7128, allocations: 0 / 0.532 GB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.7128, allocations: 7.953 kB / 0.532 GB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7128, allocations: 0 / 0.532 GB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7128, allocations: 4 kB / 0.5321 GB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.713, allocations: 173.6 kB / 0.5322 GB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.7131, allocations: 95.81 kB / 0.5323 GB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.7131, allocations: 4 kB / 0.5323 GB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.7132, allocations: 15.12 kB / 0.5323 GB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.7132, allocations: 4 kB / 0.5323 GB, free: 2.137 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.7133, allocations: 7.984 kB / 0.5323 GB, free: 2.129 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.018e-05/0.7133, allocations: 132.8 kB / 0.5325 GB, free: 2.016 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7134, allocations: 0 / 0.5325 GB, free: 2.016 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002124/0.7136, allocations: 39.31 kB / 0.5325 GB, free: 1.98 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.0007483/0.7143, allocations: 369.2 kB / 0.5329 GB, free: 1.691 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.7146, allocations: 165.3 kB / 0.533 GB, free: 1.555 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.7146, allocations: 3.062 kB / 0.533 GB, free: 1.555 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/0.7146, allocations: 37.23 kB / 0.5331 GB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.7148, allocations: 19.48 kB / 0.5331 GB, free: 1.512 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.7152, allocations: 185.5 kB / 0.5332 GB, free: 1.332 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.7154, allocations: 0.7121 MB / 0.5339 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.895e-05/0.7154, allocations: 12.55 kB / 0.534 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.7155, allocations: 11.44 kB / 0.534 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.7155, allocations: 0 / 0.534 GB, free: 0.5664 MB / 346.7 MB Notification: Performance of Templates: time 0.004518/0.72, allocations: 1.802 MB / 0.5357 GB, free: 14.79 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1)