Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001481/0.001481, allocations: 181.9 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.711/1.711, 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.001746/0.001747, allocations: 104 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.2228/0.2228, allocations: 39.95 MB / 337.5 MB, free: 464 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.383e-05, allocations: 8 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 54.86 MB / 455.2 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4968/0.6058, allocations: 82.02 MB / 0.5246 GB, free: 9.113 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.6061, allocations: 66.03 kB / 0.5247 GB, free: 9.082 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.0116/0.6177, allocations: 4.499 MB / 0.529 GB, free: 5.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6177, allocations: 4 kB / 0.5291 GB, free: 5.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.6177, allocations: 0 / 0.5291 GB, free: 5.527 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.000371/0.6181, allocations: 461.2 kB / 0.5295 GB, free: 5.027 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.6181, allocations: 12.03 kB / 0.5295 GB, free: 5.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.256e-05/0.6182, allocations: 7.906 kB / 0.5295 GB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.6184, allocations: 218.3 kB / 0.5297 GB, free: 4.766 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.6185, allocations: 4 kB / 0.5297 GB, free: 4.762 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.6185, allocations: 7.812 kB / 0.5297 GB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.6186, allocations: 53.23 kB / 0.5298 GB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6186, allocations: 0 / 0.5298 GB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.6186, allocations: 3.953 kB / 0.5298 GB, free: 4.703 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.6187, allocations: 4 kB / 0.5298 GB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.37e-05/0.6187, allocations: 15.94 kB / 0.5298 GB, free: 4.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.619, allocations: 319.7 kB / 0.5301 GB, free: 4.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.6192, allocations: 54 kB / 0.5302 GB, free: 4.301 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.6192, allocations: 16.67 kB / 0.5302 GB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.6192, allocations: 7.875 kB / 0.5302 GB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.6193, allocations: 78.91 kB / 0.5303 GB, free: 4.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.6193, allocations: 0 / 0.5303 GB, free: 4.199 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003978/0.6198, allocations: 164.1 kB / 0.5304 GB, free: 4.062 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.6198, allocations: 63.34 kB / 0.5305 GB, free: 3.988 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.6199, allocations: 174.1 kB / 0.5306 GB, free: 3.824 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.6199, allocations: 25.7 kB / 0.5307 GB, free: 3.793 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.591e-05/0.62, allocations: 111.6 kB / 0.5308 GB, free: 3.691 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.62, allocations: 27.58 kB / 0.5308 GB, free: 3.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/0.62, allocations: 0 / 0.5308 GB, free: 3.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.205e-05/0.6201, allocations: 326.7 kB / 0.5311 GB, free: 3.348 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.539e-05/0.6201, allocations: 31.44 kB / 0.5311 GB, free: 3.328 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.258e-05/0.6202, allocations: 52.84 kB / 0.5312 GB, free: 3.285 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.97e-05/0.6203, allocations: 72.92 kB / 0.5313 GB, free: 3.223 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.6203, allocations: 0 / 0.5313 GB, free: 3.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001907/0.6205, allocations: 181.8 kB / 0.5314 GB, free: 3.062 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.6205, allocations: 41.62 kB / 0.5315 GB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6205, allocations: 0 / 0.5315 GB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.6206, allocations: 0 / 0.5315 GB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.656e-05/0.6207, allocations: 16 kB / 0.5315 GB, free: 3.004 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.6207, allocations: 3.984 kB / 0.5315 GB, free: 3 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.436e-05/0.6207, allocations: 4 kB / 0.5315 GB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.6208, allocations: 4 kB / 0.5315 GB, free: 2.992 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.337e-05/0.6208, allocations: 116.8 kB / 0.5316 GB, free: 2.875 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.6208, allocations: 15.86 kB / 0.5316 GB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.621, allocations: 122.2 kB / 0.5317 GB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.621, allocations: 0 / 0.5317 GB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.621, allocations: 0 / 0.5317 GB, free: 2.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.6211, allocations: 3.984 kB / 0.5317 GB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.6214, allocations: 417.3 kB / 0.5321 GB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6214, allocations: 0 / 0.5321 GB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.6214, allocations: 16.03 kB / 0.5322 GB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.6214, allocations: 0 / 0.5322 GB, free: 2.316 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.6215, allocations: 3.984 kB / 0.5322 GB, free: 2.312 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.6215, allocations: 4 kB / 0.5322 GB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.6215, allocations: 0 / 0.5322 GB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.6216, allocations: 218 kB / 0.5324 GB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.6217, allocations: 104.3 kB / 0.5325 GB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.355e-05/0.6217, allocations: 7.062 kB / 0.5325 GB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.6218, allocations: 0 / 0.5325 GB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.6219, allocations: 11.92 kB / 0.5325 GB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.188e-06/0.6219, allocations: 7.406 kB / 0.5325 GB, free: 1.953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.509e-05/0.622, allocations: 144 kB / 0.5326 GB, free: 1.832 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.622, allocations: 0 / 0.5326 GB, free: 1.832 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002412/0.6222, allocations: 47.44 kB / 0.5327 GB, free: 1.789 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.0008075/0.623, allocations: 389.5 kB / 0.5331 GB, free: 1.477 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.6232, allocations: 164.8 kB / 0.5332 GB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.6233, allocations: 0 / 0.5332 GB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.413e-05/0.6233, allocations: 28.94 kB / 0.5332 GB, free: 1.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.6235, allocations: 30.44 kB / 0.5333 GB, free: 1.301 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003386/0.6239, allocations: 184.7 kB / 0.5334 GB, free: 1.117 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001622/0.6241, allocations: 0.7111 MB / 0.5341 GB, free: 392 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.965e-05/0.6241, allocations: 12.58 kB / 0.5342 GB, free: 380 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.6242, allocations: 15.44 kB / 0.5342 GB, free: 364 kB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6242, allocations: 0 / 0.5342 GB, free: 364 kB / 346.7 MB Notification: Performance of Templates: time 0.004519/0.6287, allocations: 1.756 MB / 0.5359 GB, free: 14.63 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1)