Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003162/0.003162, allocations: 183.2 kB / 7.459 MB, free: 2.504 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.334/1.334, allocations: 194.2 MB / 202.1 MB, free: 8.668 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.001803/0.001803, allocations: 114.2 kB / 247.1 MB, free: 6.336 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.1853/0.1853, allocations: 39.93 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/7.985e-06, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09699, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2807/0.3777, allocations: 82.65 MB / 0.5179 GB, free: 10.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/0.3779, allocations: 66.75 kB / 0.5179 GB, free: 10.22 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: time 0.01132/0.3892, allocations: 3.841 MB / 0.5217 GB, free: 9.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.379e-05/0.3893, allocations: 2.719 kB / 0.5217 GB, free: 9.234 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007208/0.39, allocations: 0.5888 MB / 0.5223 GB, free: 8.664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.39, allocations: 11.88 kB / 0.5223 GB, free: 8.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.3901, allocations: 18.34 kB / 0.5223 GB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.3904, allocations: 233.3 kB / 0.5225 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3905, allocations: 1.312 kB / 0.5225 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.3905, allocations: 7.938 kB / 0.5225 GB, free: 8.426 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001395/0.3906, allocations: 55.91 kB / 0.5226 GB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3908, allocations: 80.69 kB / 0.5227 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3908, allocations: 0 / 0.5227 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3908, allocations: 1.094 kB / 0.5227 GB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3908, allocations: 9.156 kB / 0.5227 GB, free: 8.367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.3915, allocations: 427.9 kB / 0.5231 GB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.3918, allocations: 99.48 kB / 0.5232 GB, free: 8.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.053e-05/0.3919, allocations: 45.14 kB / 0.5232 GB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.3919, allocations: 1.25 kB / 0.5232 GB, free: 7.996 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.3921, allocations: 95.09 kB / 0.5233 GB, free: 7.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.463e-06/0.3921, allocations: 0 / 0.5233 GB, free: 7.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002626/0.3923, allocations: 113 kB / 0.5234 GB, free: 7.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.3924, allocations: 61.09 kB / 0.5235 GB, free: 7.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001549/0.3925, allocations: 181.7 kB / 0.5237 GB, free: 7.703 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.3926, allocations: 31.95 kB / 0.5237 GB, free: 7.672 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.3926, allocations: 101.9 kB / 0.5238 GB, free: 7.578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.3926, allocations: 35.83 kB / 0.5238 GB, free: 7.555 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.3927, allocations: 2.062 kB / 0.5238 GB, free: 7.555 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.641e-05/0.3927, allocations: 329.7 kB / 0.5241 GB, free: 7.234 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.745e-05/0.3928, allocations: 56.06 kB / 0.5242 GB, free: 7.223 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.3929, allocations: 76.75 kB / 0.5243 GB, free: 7.191 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.672e-05/0.393, allocations: 52.47 kB / 0.5243 GB, free: 7.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.393, allocations: 4.828 kB / 0.5243 GB, free: 7.176 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002843/0.3933, allocations: 174.6 kB / 0.5245 GB, free: 7.125 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.3934, allocations: 4.375 kB / 0.5245 GB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3934, allocations: 5.359 kB / 0.5245 GB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.3934, allocations: 1.375 kB / 0.5245 GB, free: 7.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.3936, allocations: 46.72 kB / 0.5245 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3936, allocations: 1.281 kB / 0.5245 GB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.3938, allocations: 41.56 kB / 0.5246 GB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.3938, allocations: 6.062 kB / 0.5246 GB, free: 7.09 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: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.737e-05/0.3939, allocations: 114.9 kB / 0.5247 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.394, allocations: 18.97 kB / 0.5247 GB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002381/0.3942, allocations: 133 kB / 0.5248 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3942, allocations: 2.844 kB / 0.5248 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3942, allocations: 0 / 0.5248 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.3942, allocations: 3.984 kB / 0.5248 GB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001479/0.3944, allocations: 203.3 kB / 0.525 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3944, allocations: 1.312 kB / 0.525 GB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000185/0.3946, allocations: 43.69 kB / 0.5251 GB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.3946, allocations: 5.156 kB / 0.5251 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.3946, allocations: 1.438 kB / 0.5251 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3946, allocations: 0 / 0.5251 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3946, allocations: 1.344 kB / 0.5251 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003464/0.395, allocations: 210.8 kB / 0.5253 GB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.527e-05/0.3951, allocations: 109 kB / 0.5254 GB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.3951, allocations: 1.094 kB / 0.5254 GB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.3954, allocations: 35.66 kB / 0.5254 GB, free: 6.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.007e-05/0.3955, allocations: 17.69 kB / 0.5254 GB, free: 6.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.3955, allocations: 7.125 kB / 0.5255 GB, free: 6.469 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001398/0.3956, allocations: 144.2 kB / 0.5256 GB, free: 6.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003043/0.3959, allocations: 47.41 kB / 0.5256 GB, free: 6.375 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007822/0.3967, allocations: 296.6 kB / 0.5259 GB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003771/0.3971, allocations: 184.4 kB / 0.5261 GB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3971, allocations: 0 / 0.5261 GB, free: 6.109 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.3973, allocations: 47.56 kB / 0.5261 GB, free: 6.105 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.3976, allocations: 41.22 kB / 0.5262 GB, free: 6.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.3983, allocations: 210.8 kB / 0.5264 GB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.3986, allocations: 0.7478 MB / 0.5271 GB, free: 5.242 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.3986, allocations: 0 / 0.5271 GB, free: 5.242 MB / 346.7 MB Notification: Performance of Templates: time 0.005944/0.4045, allocations: 2.616 MB / 0.5297 GB, free: 3.926 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)