Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39") [: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.003521/0.003521, allocations: 186.5 kB / 7.46 MB, free: 2.5 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.197/1.197, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001661/0.001661, allocations: 114.4 kB / 247.1 MB, free: 6.355 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.1774/0.1774, allocations: 39.94 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.126e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 54.88 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.307/0.4077, allocations: 81.15 MB / 0.5164 GB, free: 10.28 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.408, allocations: 72.36 kB / 0.5165 GB, free: 10.28 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/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.01385/0.4219, allocations: 4.022 MB / 0.5204 GB, free: 9.598 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.835e-05/0.4219, allocations: 1.219 kB / 0.5204 GB, free: 9.598 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006038/0.4225, allocations: 458 kB / 0.5209 GB, free: 9.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.34e-05/0.4226, allocations: 9.062 kB / 0.5209 GB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.337e-05/0.4227, allocations: 9.375 kB / 0.5209 GB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003719/0.4231, allocations: 202.1 kB / 0.5211 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.4231, allocations: 0 / 0.5211 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.4232, allocations: 3.812 kB / 0.5211 GB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001138/0.4233, allocations: 16.98 kB / 0.5211 GB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.4234, allocations: 56.86 kB / 0.5211 GB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.4234, allocations: 0 / 0.5211 GB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.4234, allocations: 4 kB / 0.5211 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.4235, allocations: 5.219 kB / 0.5212 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.4237, allocations: 175.6 kB / 0.5213 GB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.4239, allocations: 47.16 kB / 0.5214 GB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.4239, allocations: 20.95 kB / 0.5214 GB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.424, allocations: 0 / 0.5214 GB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.4241, allocations: 66.11 kB / 0.5214 GB, free: 8.582 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.4241, allocations: 0 / 0.5214 GB, free: 8.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002501/0.4244, allocations: 73.12 kB / 0.5215 GB, free: 8.539 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.4244, allocations: 51.41 kB / 0.5216 GB, free: 8.477 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.4246, allocations: 160.4 kB / 0.5217 GB, free: 8.379 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.4246, allocations: 27.27 kB / 0.5217 GB, free: 8.348 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.26e-05/0.4247, allocations: 95.34 kB / 0.5218 GB, free: 8.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.4247, allocations: 9.938 kB / 0.5218 GB, free: 8.254 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.4247, allocations: 5.438 kB / 0.5219 GB, free: 8.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9e-05/0.4248, allocations: 324.5 kB / 0.5222 GB, free: 7.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.4249, allocations: 25.59 kB / 0.5222 GB, free: 7.93 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.869e-05/0.425, allocations: 42.77 kB / 0.5222 GB, free: 7.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.695e-05/0.4251, allocations: 29.2 kB / 0.5223 GB, free: 7.906 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.4251, allocations: 0 / 0.5223 GB, free: 7.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002621/0.4254, allocations: 113.3 kB / 0.5224 GB, free: 7.859 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4254, allocations: 13.66 kB / 0.5224 GB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4254, allocations: 0 / 0.5224 GB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.4254, allocations: 1 kB / 0.5224 GB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.4255, allocations: 14.16 kB / 0.5224 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.4256, allocations: 0 / 0.5224 GB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.4256, allocations: 16.7 kB / 0.5224 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.4257, allocations: 3.969 kB / 0.5224 GB, free: 7.836 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 (8): * Single equations (assignments): 7 * 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 9.686e-05/0.4258, allocations: 103.9 kB / 0.5225 GB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.4258, allocations: 13.31 kB / 0.5225 GB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.426, allocations: 86.39 kB / 0.5226 GB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.426, allocations: 5.375 kB / 0.5226 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.426, allocations: 0 / 0.5226 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.426, allocations: 1.188 kB / 0.5226 GB, free: 7.664 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.4262, allocations: 171.4 kB / 0.5228 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4262, allocations: 0 / 0.5228 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.4262, allocations: 8.406 kB / 0.5228 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4262, allocations: 1.156 kB / 0.5228 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.4263, allocations: 0 / 0.5228 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.4263, allocations: 1.094 kB / 0.5228 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4263, allocations: 4.078 kB / 0.5228 GB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001617/0.4264, allocations: 104.4 kB / 0.5229 GB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-05/0.4265, allocations: 96.16 kB / 0.523 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.4265, allocations: 0 / 0.523 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.56e-05/0.4266, allocations: 3.25 kB / 0.523 GB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.4267, allocations: 5.578 kB / 0.523 GB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.4267, allocations: 5.438 kB / 0.523 GB, free: 7.289 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001203/0.4268, allocations: 140.1 kB / 0.5231 GB, free: 7.199 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000271/0.4271, allocations: 31.67 kB / 0.5232 GB, free: 7.188 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008141/0.4279, allocations: 290.7 kB / 0.5234 GB, free: 7.004 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.4281, allocations: 95.02 kB / 0.5235 GB, free: 6.973 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4281, allocations: 0.875 kB / 0.5235 GB, free: 6.973 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.989e-05/0.4282, allocations: 27.23 kB / 0.5235 GB, free: 6.965 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.4284, allocations: 15.45 kB / 0.5236 GB, free: 6.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.4289, allocations: 139.2 kB / 0.5237 GB, free: 6.852 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.4293, allocations: 0.7205 MB / 0.5244 GB, free: 6.133 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4293, allocations: 0 / 0.5244 GB, free: 6.133 MB / 346.7 MB Notification: Performance of Templates: time 0.005103/0.4344, allocations: 1.414 MB / 0.5258 GB, free: 5.43 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1)