Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") [: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.1+maint.om/package.mo): time 0.002883/0.002884, allocations: 177.5 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.198/1.198, allocations: 170.6 MB / 178.4 MB, free: 15.37 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002096/0.002096, allocations: 119.8 kB / 217.7 MB, free: 8.137 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2022/0.2022, allocations: 37.98 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.41e-05/2.43e-05, allocations: 6.281 kB / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.108, allocations: 48.71 MB / 398.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4732, allocations: 74.9 MB / 473.1 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.4734, allocations: 64.52 kB / 473.2 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01276/0.4862, allocations: 5.066 MB / 478.2 MB, free: 13.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.068e-05/0.4863, allocations: 7.625 kB / 478.3 MB, free: 13.36 MB / 330.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.0008258/0.4871, allocations: 0.6503 MB / 478.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4872, allocations: 11.69 kB / 478.9 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.31e-05/0.4873, allocations: 42.94 kB / 479 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006506/0.488, allocations: 451 kB / 479.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.488, allocations: 0 / 479.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.488, allocations: 7.062 kB / 479.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.678e-05/0.4881, allocations: 17.86 kB / 479.4 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.891e-05/0.4882, allocations: 67.88 kB / 479.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4882, allocations: 0 / 479.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.4882, allocations: 4 kB / 479.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.4882, allocations: 3.906 kB / 479.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.4886, allocations: 356.1 kB / 479.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.643e-05/0.4887, allocations: 54.69 kB / 479.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.4888, allocations: 27.27 kB / 479.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.4888, allocations: 4 kB / 479.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001133/0.4889, allocations: 86.92 kB / 480 MB, free: 12.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.4889, allocations: 0 / 480 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002703/0.4892, allocations: 117.3 kB / 480.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.4892, allocations: 84.98 kB / 480.2 MB, free: 12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.4903, allocations: 0.885 MB / 481.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.4903, allocations: 29.67 kB / 481.1 MB, free: 11.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.4904, allocations: 143.6 kB / 481.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.4905, allocations: 14.03 kB / 481.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-06/0.4905, allocations: 0 / 481.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.4906, allocations: 365.6 kB / 481.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.305e-05/0.4907, allocations: 30.3 kB / 481.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.954e-05/0.4908, allocations: 49.12 kB / 481.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/0.4909, allocations: 38.7 kB / 481.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.4909, allocations: 0 / 481.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002694/0.4912, allocations: 170.8 kB / 481.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4912, allocations: 3.875 kB / 481.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4912, allocations: 2.953 kB / 481.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.4913, allocations: 0 / 481.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.4914, allocations: 11.75 kB / 481.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.4914, allocations: 4 kB / 481.9 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001026/0.4915, allocations: 18.31 kB / 482 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.4915, allocations: 6.938 kB / 482 MB, free: 11.35 MB / 330.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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 8.931e-05/0.4916, allocations: 112.8 kB / 482.1 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.027e-05/0.4917, allocations: 42.56 kB / 482.1 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.492, allocations: 147.8 kB / 482.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.492, allocations: 0 / 482.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.492, allocations: 3.312 kB / 482.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4921, allocations: 0 / 482.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.4924, allocations: 343.2 kB / 482.6 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4924, allocations: 1.969 kB / 482.6 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.4925, allocations: 11.44 kB / 482.6 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4925, allocations: 0 / 482.6 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.4925, allocations: 2.531 kB / 482.6 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.4925, allocations: 7.219 kB / 482.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.4925, allocations: 0 / 482.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002032/0.4927, allocations: 165.7 kB / 482.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.4929, allocations: 187.7 kB / 483 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.592e-05/0.493, allocations: 11.8 kB / 483 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.4931, allocations: 9.938 kB / 483 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.4932, allocations: 6.375 kB / 483 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.4932, allocations: 7.156 kB / 483 MB, free: 10.74 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0006565/0.4938, allocations: 0.6936 MB / 483.7 MB, free: 10.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003579/0.4942, allocations: 91.06 kB / 483.8 MB, free: 10.64 MB / 330.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.000838/0.4951, allocations: 345.4 kB / 484.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002107/0.4953, allocations: 129.7 kB / 484.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.4953, allocations: 0 / 484.2 MB, free: 10.35 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.118e-05/0.4953, allocations: 26.45 kB / 484.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.4957, allocations: 44.56 kB / 484.3 MB, free: 10.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.4968, allocations: 0.7287 MB / 485 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.4971, allocations: 0.8744 MB / 485.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of SimCode: time 2.094e-06/0.4971, allocations: 0 / 485.9 MB, free: 9.469 MB / 330.7 MB Notification: Performance of Templates: time 0.007776/0.5049, allocations: 3.592 MB / 489.5 MB, free: 9.07 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1)