Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62") [: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.004456/0.004456, allocations: 173.7 kB / 7.449 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.285/1.285, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.001947/0.001947, allocations: 111.9 kB / 217.7 MB, free: 8.211 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.212/0.212, allocations: 37.97 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.197e-05/1.2e-05, allocations: 3.406 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09873, allocations: 48.71 MB / 398.2 MB, free: 5.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2824/0.3812, allocations: 74.87 MB / 473.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.3814, allocations: 70 kB / 473.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009683/0.3911, allocations: 3.758 MB / 476.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3912, allocations: 0 / 476.9 MB, free: 13.54 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003031/0.3915, allocations: 430.7 kB / 477.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.3915, allocations: 15.56 kB / 477.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.432e-05/0.3916, allocations: 11.69 kB / 477.4 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.3918, allocations: 201.1 kB / 477.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.3918, allocations: 3.844 kB / 477.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.3918, allocations: 3.938 kB / 477.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.267e-05/0.3919, allocations: 14.12 kB / 477.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.235e-05/0.392, allocations: 40.64 kB / 477.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.392, allocations: 3.844 kB / 477.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.392, allocations: 3.984 kB / 477.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.392, allocations: 0 / 477.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001264/0.3921, allocations: 167.6 kB / 477.8 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.78e-05/0.3922, allocations: 29.39 kB / 477.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.276e-05/0.3922, allocations: 22.61 kB / 477.8 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.3922, allocations: 4 kB / 477.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.71e-05/0.3923, allocations: 53.16 kB / 477.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.3923, allocations: 0 / 477.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001336/0.3924, allocations: 57.41 kB / 478 MB, free: 12.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.83e-05/0.3925, allocations: 55.31 kB / 478 MB, free: 12.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.3926, allocations: 216.6 kB / 478.2 MB, free: 12.41 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.3927, allocations: 29.67 kB / 478.3 MB, free: 12.38 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.366e-05/0.3927, allocations: 97.66 kB / 478.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.3927, allocations: 11.69 kB / 478.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.3927, allocations: 3.938 kB / 478.4 MB, free: 12.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.47e-05/0.3928, allocations: 328.2 kB / 478.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.3928, allocations: 13.62 kB / 478.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.677e-05/0.3929, allocations: 17.17 kB / 478.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.735e-05/0.3929, allocations: 21.8 kB / 478.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3929, allocations: 0 / 478.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001112/0.393, allocations: 74.5 kB / 478.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.393, allocations: 7.562 kB / 478.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3931, allocations: 7.094 kB / 478.8 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3931, allocations: 3.906 kB / 478.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.113e-05/0.3931, allocations: 3.906 kB / 478.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.3931, allocations: 0 / 478.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.3932, allocations: 3.875 kB / 478.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3932, allocations: 7.812 kB / 478.8 MB, free: 11.92 MB / 330.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.961e-05/0.3933, allocations: 106.5 kB / 478.9 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3933, allocations: 11.75 kB / 479 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001182/0.3934, allocations: 77.53 kB / 479 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3934, allocations: 0 / 479 MB, free: 11.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3934, allocations: 7.812 kB / 479 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3934, allocations: 3.906 kB / 479 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.189e-05/0.3935, allocations: 172.7 kB / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.3935, allocations: 0 / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.248e-05/0.3936, allocations: 0 / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3936, allocations: 3.875 kB / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3936, allocations: 0 / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.3936, allocations: 0 / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3936, allocations: 0 / 479.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.167e-05/0.3937, allocations: 97.23 kB / 479.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.3937, allocations: 99.38 kB / 479.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.3938, allocations: 0 / 479.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.3938, allocations: 3.875 kB / 479.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.3939, allocations: 0 / 479.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.3939, allocations: 3.188 kB / 479.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000112/0.394, allocations: 175.7 kB / 479.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.3942, allocations: 34.41 kB / 479.6 MB, free: 11.33 MB / 330.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000454/0.3947, allocations: 242.5 kB / 479.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001174/0.3948, allocations: 69.22 kB / 479.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3948, allocations: 0 / 479.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.122e-05/0.3948, allocations: 15.12 kB / 479.9 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.3951, allocations: 21.94 kB / 480 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.3954, allocations: 173.4 kB / 480.1 MB, free: 11.03 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002957/0.3957, allocations: 0.7224 MB / 480.9 MB, free: 26.33 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.3957, allocations: 3.875 kB / 480.9 MB, free: 26.33 MB / 346.7 MB Notification: Performance of Templates: time 0.003579/0.3993, allocations: 1.358 MB / 482.2 MB, free: 26.16 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1)