Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4.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.CombiTable1D.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4") [: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.00354/0.003541, allocations: 185.8 kB / 7.459 MB, free: 2.227 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.368/1.368, allocations: 194.2 MB / 202.1 MB, free: 8.637 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.00182/0.00182, allocations: 118.8 kB / 247.1 MB, free: 6.367 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.1743/0.1743, allocations: 39.95 MB / 331.9 MB, free: 4.871 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.614e-06/7.654e-06, allocations: 0 / 392.8 MB, free: 75.85 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 54.87 MB / 447.6 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2861/0.3979, allocations: 80.25 MB / 0.5155 GB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.3983, allocations: 66.48 kB / 0.5156 GB, free: 10.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01003/0.4084, allocations: 3.086 MB / 0.5186 GB, free: 9.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.4084, allocations: 2.188 kB / 0.5186 GB, free: 9.883 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000458/0.4089, allocations: 426.6 kB / 0.519 GB, free: 9.453 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.4089, allocations: 8.562 kB / 0.519 GB, free: 9.453 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.579e-05/0.409, allocations: 9.5 kB / 0.519 GB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.4093, allocations: 212.7 kB / 0.5192 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.4093, allocations: 1.188 kB / 0.5192 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.4093, allocations: 2.594 kB / 0.5192 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001131/0.4095, allocations: 22.31 kB / 0.5193 GB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.4096, allocations: 67.17 kB / 0.5193 GB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4096, allocations: 5.219 kB / 0.5193 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4096, allocations: 0 / 0.5193 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4096, allocations: 5.156 kB / 0.5193 GB, free: 9.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.4101, allocations: 382.4 kB / 0.5197 GB, free: 8.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.4103, allocations: 72.09 kB / 0.5198 GB, free: 8.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.4104, allocations: 29.16 kB / 0.5198 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.4104, allocations: 1.938 kB / 0.5198 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.651e-05/0.4104, allocations: 33.12 kB / 0.5198 GB, free: 8.715 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.4104, allocations: 3.938 kB / 0.5198 GB, free: 8.711 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005624/0.411, allocations: 198.4 kB / 0.52 GB, free: 8.613 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.443e-05/0.411, allocations: 78.73 kB / 0.5201 GB, free: 8.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.4112, allocations: 194.6 kB / 0.5203 GB, free: 8.406 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.4112, allocations: 25.7 kB / 0.5203 GB, free: 8.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.175e-05/0.4113, allocations: 97.06 kB / 0.5204 GB, free: 8.285 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.853e-05/0.4113, allocations: 27.31 kB / 0.5204 GB, free: 8.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-06/0.4113, allocations: 0 / 0.5204 GB, free: 8.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.4114, allocations: 323.9 kB / 0.5207 GB, free: 7.949 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-05/0.4115, allocations: 31.39 kB / 0.5208 GB, free: 7.941 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.4115, allocations: 24 kB / 0.5208 GB, free: 7.941 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.148e-05/0.4116, allocations: 33.73 kB / 0.5208 GB, free: 7.934 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4116, allocations: 0 / 0.5208 GB, free: 7.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000153/0.4117, allocations: 108.3 kB / 0.5209 GB, free: 7.883 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4117, allocations: 5.062 kB / 0.5209 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4118, allocations: 0 / 0.5209 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4118, allocations: 1.281 kB / 0.5209 GB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.659e-05/0.4119, allocations: 25.8 kB / 0.521 GB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.4119, allocations: 5.344 kB / 0.521 GB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.007e-05/0.4119, allocations: 9.203 kB / 0.521 GB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.412, allocations: 2.656 kB / 0.521 GB, free: 7.871 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 4.957e-05/0.412, allocations: 110.1 kB / 0.5211 GB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.509e-05/0.4121, allocations: 9.312 kB / 0.5211 GB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002303/0.4123, allocations: 135.4 kB / 0.5212 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4123, allocations: 2.688 kB / 0.5212 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4123, allocations: 0 / 0.5212 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.4123, allocations: 1.344 kB / 0.5212 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000479/0.4128, allocations: 484.3 kB / 0.5217 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4128, allocations: 1.312 kB / 0.5217 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.893e-05/0.4129, allocations: 26.17 kB / 0.5217 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4129, allocations: 2.562 kB / 0.5217 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.413, allocations: 1.625 kB / 0.5217 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.413, allocations: 1.344 kB / 0.5217 GB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.413, allocations: 5.344 kB / 0.5217 GB, free: 7.285 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002049/0.4132, allocations: 308.8 kB / 0.522 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.4132, allocations: 93.97 kB / 0.5221 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.4133, allocations: 1.406 kB / 0.5221 GB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.4134, allocations: 9.031 kB / 0.5221 GB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.4134, allocations: 15.02 kB / 0.5221 GB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4134, allocations: 3.719 kB / 0.5221 GB, free: 6.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001167/0.4136, allocations: 166.3 kB / 0.5223 GB, free: 6.809 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000289/0.4139, allocations: 25.72 kB / 0.5223 GB, free: 6.801 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004345/0.4143, allocations: 218.3 kB / 0.5225 GB, free: 6.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001553/0.4145, allocations: 95.91 kB / 0.5226 GB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4145, allocations: 1.312 kB / 0.5226 GB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.572e-05/0.4145, allocations: 33.94 kB / 0.5226 GB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.4148, allocations: 11.77 kB / 0.5227 GB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004241/0.4152, allocations: 218.7 kB / 0.5229 GB, free: 6.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.4154, allocations: 0.7331 MB / 0.5236 GB, free: 5.758 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4154, allocations: 0 / 0.5236 GB, free: 5.758 MB / 346.7 MB Notification: Performance of Templates: time 0.003345/0.4188, allocations: 1.251 MB / 0.5248 GB, free: 5.145 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1)