Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001088/0.001088, 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.867/1.867, allocations: 194.3 MB / 207.5 MB, free: 3.406 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.001744/0.001744, allocations: 112.2 kB / 252.6 MB, free: 4.832 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.2358/0.2358, allocations: 39.94 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.353e-05/4.372e-05, allocations: 4 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1505, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.5982, allocations: 82.06 MB / 0.5246 GB, free: 9.035 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5985, allocations: 70.97 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.01212/0.6106, allocations: 4.564 MB / 0.5291 GB, free: 5.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6106, allocations: 0 / 0.5291 GB, free: 5.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.6106, allocations: 4 kB / 0.5292 GB, free: 5.395 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.0004529/0.6111, allocations: 456.7 kB / 0.5296 GB, free: 4.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.6112, allocations: 8.031 kB / 0.5296 GB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.602e-05/0.6112, allocations: 11.91 kB / 0.5296 GB, free: 4.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.6115, allocations: 209.5 kB / 0.5298 GB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.6115, allocations: 7.875 kB / 0.5298 GB, free: 4.645 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.6116, allocations: 4 kB / 0.5298 GB, free: 4.641 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.6117, allocations: 53.36 kB / 0.5299 GB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6117, allocations: 0 / 0.5299 GB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.6117, allocations: 7.953 kB / 0.5299 GB, free: 4.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.6117, allocations: 4 kB / 0.5299 GB, free: 4.578 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.939e-05/0.6118, allocations: 19.5 kB / 0.5299 GB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.6122, allocations: 315.8 kB / 0.5302 GB, free: 4.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.6124, allocations: 54.25 kB / 0.5302 GB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.6124, allocations: 24.3 kB / 0.5303 GB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.6124, allocations: 0 / 0.5303 GB, free: 4.16 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.6126, allocations: 74.59 kB / 0.5303 GB, free: 4.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.6126, allocations: 0 / 0.5303 GB, free: 4.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004791/0.6131, allocations: 152.4 kB / 0.5305 GB, free: 3.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.6131, allocations: 55.34 kB / 0.5305 GB, free: 3.887 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.6133, allocations: 172.5 kB / 0.5307 GB, free: 3.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.6133, allocations: 29.64 kB / 0.5307 GB, free: 3.699 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.6133, allocations: 111.3 kB / 0.5308 GB, free: 3.598 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.322e-05/0.6134, allocations: 23.58 kB / 0.5309 GB, free: 3.578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.6134, allocations: 0 / 0.5309 GB, free: 3.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.197e-05/0.6135, allocations: 326.3 kB / 0.5312 GB, free: 3.258 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.817e-05/0.6135, allocations: 31.62 kB / 0.5312 GB, free: 3.238 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.693e-05/0.6136, allocations: 54.5 kB / 0.5313 GB, free: 3.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.266e-05/0.6137, allocations: 69.31 kB / 0.5313 GB, free: 3.137 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.6137, allocations: 4 kB / 0.5313 GB, free: 3.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002059/0.6139, allocations: 182 kB / 0.5315 GB, free: 2.973 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/0.6139, allocations: 37.52 kB / 0.5315 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.614, allocations: 0 / 0.5315 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.614, allocations: 0 / 0.5315 GB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.6141, allocations: 15.98 kB / 0.5316 GB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.6141, allocations: 4 kB / 0.5316 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.139e-05/0.6141, allocations: 4.094 kB / 0.5316 GB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.6142, allocations: 7.938 kB / 0.5316 GB, free: 2.902 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 6.056e-05/0.6142, allocations: 116.9 kB / 0.5317 GB, free: 2.785 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.864e-05/0.6143, allocations: 15.77 kB / 0.5317 GB, free: 2.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002391/0.6145, allocations: 125 kB / 0.5318 GB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.6145, allocations: 0 / 0.5318 GB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.81e-06/0.6145, allocations: 192 / 0.5318 GB, free: 2.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.6145, allocations: 3.984 kB / 0.5318 GB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000371/0.6149, allocations: 417.1 kB / 0.5322 GB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.6149, allocations: 0 / 0.5322 GB, free: 2.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.615, allocations: 12 kB / 0.5322 GB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.615, allocations: 0 / 0.5322 GB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.615, allocations: 3.984 kB / 0.5322 GB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.615, allocations: 4.078 kB / 0.5322 GB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.615, allocations: 3.984 kB / 0.5322 GB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001682/0.6152, allocations: 221.1 kB / 0.5324 GB, free: 1.992 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.341e-05/0.6152, allocations: 100.8 kB / 0.5325 GB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.227e-05/0.6153, allocations: 3.875 kB / 0.5325 GB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.6153, allocations: 4 kB / 0.5326 GB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.6154, allocations: 11.92 kB / 0.5326 GB, free: 1.863 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.016e-06/0.6154, allocations: 4 kB / 0.5326 GB, free: 1.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.157e-05/0.6155, allocations: 139.1 kB / 0.5327 GB, free: 1.742 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6155, allocations: 0 / 0.5327 GB, free: 1.742 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002549/0.6158, allocations: 35.75 kB / 0.5327 GB, free: 1.711 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.0009011/0.6167, allocations: 393.3 kB / 0.5331 GB, free: 1.387 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002219/0.6169, allocations: 161.8 kB / 0.5333 GB, free: 1.258 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6169, allocations: 192 / 0.5333 GB, free: 1.258 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.085e-05/0.617, allocations: 31.61 kB / 0.5333 GB, free: 1.234 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.6172, allocations: 30.75 kB / 0.5333 GB, free: 1.211 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003134/0.6175, allocations: 165.5 kB / 0.5335 GB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.6177, allocations: 0.7043 MB / 0.5342 GB, free: 320 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.85e-05/0.6177, allocations: 12.44 kB / 0.5342 GB, free: 308 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.6178, allocations: 15.42 kB / 0.5342 GB, free: 292 kB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6178, allocations: 0 / 0.5342 GB, free: 292 kB / 346.7 MB Notification: Performance of Templates: time 0.00413/0.6219, allocations: 1.739 MB / 0.5359 GB, free: 14.57 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1)