Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47") [: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.003453/0.003454, allocations: 183.8 kB / 7.452 MB, free: 2.52 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.155/1.155, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.001678/0.001678, allocations: 120.9 kB / 217.7 MB, free: 8.16 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.1572/0.1572, allocations: 37.96 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.045e-05/1.047e-05, allocations: 2.25 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09463/0.09465, allocations: 48.7 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2899/0.3846, allocations: 75.04 MB / 473.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.3849, allocations: 66.25 kB / 473.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01018/0.3951, allocations: 3.949 MB / 477.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.3951, allocations: 11.84 kB / 477.3 MB, free: 13.38 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.0003554/0.3955, allocations: 422.3 kB / 477.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3955, allocations: 11.62 kB / 477.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.474e-05/0.3956, allocations: 15.62 kB / 477.7 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.3958, allocations: 214.4 kB / 477.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3958, allocations: 0 / 477.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.3959, allocations: 3.906 kB / 477.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.029e-05/0.3959, allocations: 26.38 kB / 478 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.658e-05/0.396, allocations: 40.44 kB / 478 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.396, allocations: 0 / 478 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.396, allocations: 0 / 478 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.396, allocations: 0 / 478 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.3963, allocations: 284.9 kB / 478.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.3965, allocations: 37.8 kB / 478.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.3966, allocations: 15.86 kB / 478.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.3966, allocations: 7.812 kB / 478.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.942e-05/0.3966, allocations: 52.3 kB / 478.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.3967, allocations: 0 / 478.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000308/0.397, allocations: 107.1 kB / 478.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.505e-05/0.397, allocations: 51.41 kB / 478.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.3972, allocations: 220.1 kB / 478.8 MB, free: 12.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.3972, allocations: 29.7 kB / 478.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.561e-05/0.3972, allocations: 98.16 kB / 478.9 MB, free: 12.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.769e-05/0.3973, allocations: 13.64 kB / 478.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.3973, allocations: 3.875 kB / 478.9 MB, free: 12.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.828e-05/0.3973, allocations: 323.8 kB / 479.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.752e-05/0.3974, allocations: 18.28 kB / 479.2 MB, free: 11.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.12e-05/0.3974, allocations: 22.69 kB / 479.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.3975, allocations: 20.92 kB / 479.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.3975, allocations: 0 / 479.3 MB, free: 11.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001349/0.3976, allocations: 104.9 kB / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3976, allocations: 5.688 kB / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.3976, allocations: 3.938 kB / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3976, allocations: 0 / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.45e-05/0.3977, allocations: 10.31 kB / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.3977, allocations: 3.781 kB / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.077e-05/0.3978, allocations: 64 / 479.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.3978, allocations: 11.84 kB / 479.4 MB, free: 11.66 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 4.941e-05/0.3978, allocations: 112.8 kB / 479.5 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.3979, allocations: 14.91 kB / 479.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.398, allocations: 92.42 kB / 479.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.398, allocations: 0 / 479.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.398, allocations: 0 / 479.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3981, allocations: 2.156 kB / 479.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.3983, allocations: 347.1 kB / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3983, allocations: 0 / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.3984, allocations: 14.5 kB / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3984, allocations: 0 / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.3984, allocations: 3.938 kB / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3984, allocations: 3.516 kB / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.3984, allocations: 0 / 480 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001173/0.3985, allocations: 168.6 kB / 480.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.286e-05/0.3986, allocations: 99.5 kB / 480.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.3986, allocations: 3.312 kB / 480.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.3987, allocations: 7.781 kB / 480.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.3988, allocations: 3.656 kB / 480.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.3988, allocations: 3.938 kB / 480.3 MB, free: 10.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001117/0.3989, allocations: 171.8 kB / 480.4 MB, free: 10.91 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002665/0.3992, allocations: 38.2 kB / 480.5 MB, free: 10.9 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.0005104/0.3997, allocations: 274.2 kB / 480.7 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.3998, allocations: 77.61 kB / 480.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3998, allocations: 0 / 480.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/0.3999, allocations: 18.91 kB / 480.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.4001, allocations: 26.39 kB / 480.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.4005, allocations: 197 kB / 481.1 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.4008, allocations: 0.728 MB / 481.8 MB, free: 25.87 MB / 346.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4008, allocations: 3.938 kB / 481.8 MB, free: 25.87 MB / 346.7 MB Notification: Performance of Templates: time 0.00381/0.4046, allocations: 1.551 MB / 483.3 MB, free: 25.69 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1)