Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30") [: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.003507/0.003507, allocations: 178 kB / 7.452 MB, free: 2.516 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.055/1.055, 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.001638/0.001638, allocations: 108.4 kB / 217.7 MB, free: 8.133 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.1438/0.1438, allocations: 37.97 MB / 294.8 MB, free: 9.586 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.494e-06, allocations: 2.312 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08248/0.0825, allocations: 48.71 MB / 398.2 MB, free: 5.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2968/0.3793, allocations: 75.03 MB / 473.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.3796, allocations: 73.12 kB / 473.3 MB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01073/0.3904, allocations: 3.643 MB / 477 MB, free: 13.63 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.3905, allocations: 3.875 kB / 477 MB, free: 13.63 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.0004234/0.3909, allocations: 416.8 kB / 477.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.3909, allocations: 11.69 kB / 477.4 MB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.391, allocations: 7.844 kB / 477.4 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3912, allocations: 200.6 kB / 477.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3913, allocations: 0.75 kB / 477.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3913, allocations: 3.906 kB / 477.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.862e-05/0.3914, allocations: 14.2 kB / 477.6 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.59e-05/0.3915, allocations: 39.45 kB / 477.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3915, allocations: 0 / 477.7 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.3915, allocations: 3.906 kB / 477.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3915, allocations: 3.844 kB / 477.7 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.3919, allocations: 270.4 kB / 477.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3921, allocations: 43.25 kB / 478 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.405e-05/0.3921, allocations: 15.19 kB / 478 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.3921, allocations: 0 / 478 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.41e-05/0.3922, allocations: 57.88 kB / 478 MB, free: 12.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.644e-06/0.3923, allocations: 4 kB / 478 MB, free: 12.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004087/0.3927, allocations: 100.3 kB / 478.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.3927, allocations: 51.41 kB / 478.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.3929, allocations: 157.4 kB / 478.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.3929, allocations: 25.7 kB / 478.4 MB, free: 12.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.851e-05/0.393, allocations: 93.81 kB / 478.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.393, allocations: 15.22 kB / 478.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.393, allocations: 0 / 478.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.3931, allocations: 325.4 kB / 478.8 MB, free: 12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.132e-05/0.3932, allocations: 18.62 kB / 478.8 MB, free: 12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.26e-05/0.3932, allocations: 24.08 kB / 478.8 MB, free: 12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.876e-05/0.3933, allocations: 21.88 kB / 478.9 MB, free: 12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.3933, allocations: 3.141 kB / 478.9 MB, free: 12 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001461/0.3934, allocations: 90.58 kB / 478.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3934, allocations: 7.75 kB / 479 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.3935, allocations: 3.188 kB / 479 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3935, allocations: 0 / 479 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.036e-05/0.3935, allocations: 11.28 kB / 479 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3935, allocations: 4 kB / 479 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.359e-05/0.3936, allocations: 3.844 kB / 479 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.779e-06/0.3936, allocations: 3.938 kB / 479 MB, free: 11.95 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 (7): * Single equations (assignments): 6 * 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 5.567e-05/0.3937, allocations: 115.9 kB / 479.1 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.3937, allocations: 7.75 kB / 479.1 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.3939, allocations: 84.5 kB / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3939, allocations: 3.938 kB / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3939, allocations: 3.188 kB / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3939, allocations: 4 kB / 479.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.3941, allocations: 322.1 kB / 479.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3942, allocations: 0 / 479.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.3942, allocations: 3.938 kB / 479.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.3942, allocations: 3.844 kB / 479.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3942, allocations: 3.141 kB / 479.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3942, allocations: 0 / 479.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3942, allocations: 0 / 479.5 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001275/0.3944, allocations: 173.8 kB / 479.7 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.527e-05/0.3944, allocations: 88.55 kB / 479.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.648e-05/0.3945, allocations: 0 / 479.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.3945, allocations: 0 / 479.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.702e-05/0.3946, allocations: 10.44 kB / 479.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.3946, allocations: 0 / 479.8 MB, free: 11.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.456e-05/0.3947, allocations: 130.2 kB / 479.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002818/0.3949, allocations: 37.38 kB / 479.9 MB, free: 11.19 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 (6): * Single equations (assignments): 5 * 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.0005347/0.3955, allocations: 271.1 kB / 480.2 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001344/0.3956, allocations: 74.33 kB / 480.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3956, allocations: 4 kB / 480.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.845e-05/0.3957, allocations: 19.06 kB / 480.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.3959, allocations: 14.75 kB / 480.3 MB, free: 10.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003084/0.3962, allocations: 131.3 kB / 480.5 MB, free: 10.89 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.3964, allocations: 0.7212 MB / 481.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3964, allocations: 0 / 481.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of Templates: time 0.003916/0.4004, allocations: 1.435 MB / 482.6 MB, free: 10.01 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1)