Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50") [: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.003807/0.003807, allocations: 175.8 kB / 7.451 MB, free: 2.488 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.235/1.235, allocations: 170.6 MB / 178.4 MB, free: 15.78 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.001915/0.001914, allocations: 120.7 kB / 217.7 MB, free: 8.555 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.1592/0.1592, allocations: 37.97 MB / 294.8 MB, free: 9.66 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.126e-05/1.143e-05, allocations: 3.469 kB / 349.5 MB, free: 37.19 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09021/0.09023, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2883/0.3786, allocations: 75.31 MB / 473.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000148/0.3788, allocations: 71.66 kB / 473.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01559/0.3944, allocations: 6.332 MB / 479.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3945, allocations: 0 / 479.9 MB, free: 13.41 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003468/0.3948, allocations: 447.4 kB / 480.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3948, allocations: 11.66 kB / 480.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.973e-05/0.3949, allocations: 11.69 kB / 480.4 MB, free: 12.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.3951, allocations: 199.3 kB / 480.6 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.3951, allocations: 7.562 kB / 480.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3951, allocations: 3.125 kB / 480.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.899e-05/0.3952, allocations: 21.89 kB / 480.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.552e-05/0.3953, allocations: 64.05 kB / 480.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3953, allocations: 0 / 480.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3953, allocations: 3.938 kB / 480.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3953, allocations: 3.312 kB / 480.7 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.3956, allocations: 271 kB / 481 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.807e-05/0.3957, allocations: 49.44 kB / 481 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.902e-05/0.3957, allocations: 14.39 kB / 481 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.3958, allocations: 0 / 481 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.518e-05/0.3958, allocations: 60.75 kB / 481.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.3958, allocations: 4 kB / 481.1 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003423/0.3962, allocations: 115.1 kB / 481.2 MB, free: 12.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.3962, allocations: 77.11 kB / 481.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.3963, allocations: 149.7 kB / 481.4 MB, free: 12.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3963, allocations: 25.7 kB / 481.4 MB, free: 12.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.488e-05/0.3964, allocations: 89.83 kB / 481.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.926e-05/0.3964, allocations: 18.56 kB / 481.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-06/0.3964, allocations: 0 / 481.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.3965, allocations: 317.5 kB / 481.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.3965, allocations: 26.72 kB / 481.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.935e-05/0.3965, allocations: 42.62 kB / 481.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.738e-05/0.3966, allocations: 25.45 kB / 481.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.3966, allocations: 0 / 481.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001513/0.3968, allocations: 111.7 kB / 482.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.3968, allocations: 7.719 kB / 482.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3968, allocations: 8 kB / 482.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.208e-06/0.3968, allocations: 0 / 482.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.3969, allocations: 14.98 kB / 482.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.3969, allocations: 4.031 kB / 482.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.115e-05/0.3969, allocations: 0 / 482.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3969, allocations: 3.688 kB / 482.1 MB, free: 11.63 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 (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 4.584e-05/0.397, allocations: 108.8 kB / 482.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.397, allocations: 11.03 kB / 482.2 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001718/0.3972, allocations: 111.3 kB / 482.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3972, allocations: 0 / 482.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3972, allocations: 4 kB / 482.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.3972, allocations: 0 / 482.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.3975, allocations: 346.2 kB / 482.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3975, allocations: 0 / 482.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.3975, allocations: 11.06 kB / 482.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3975, allocations: 0 / 482.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.3975, allocations: 3.656 kB / 482.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3975, allocations: 0 / 482.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3976, allocations: 0 / 482.7 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001241/0.3977, allocations: 187.5 kB / 482.9 MB, free: 11.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.642e-05/0.3977, allocations: 92.2 kB / 482.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3977, allocations: 0 / 482.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.3978, allocations: 3.875 kB / 482.9 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.3979, allocations: 7.312 kB / 483 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3979, allocations: 3.812 kB / 483 MB, free: 10.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.812e-05/0.3979, allocations: 111.3 kB / 483.1 MB, free: 10.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002808/0.3982, allocations: 53.84 kB / 483.1 MB, free: 10.86 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 (8): * Single equations (assignments): 7 * 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.0005344/0.3988, allocations: 334.6 kB / 483.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.3989, allocations: 88.11 kB / 483.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3989, allocations: 0 / 483.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.005e-05/0.3989, allocations: 25.61 kB / 483.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002018/0.3992, allocations: 19.67 kB / 483.6 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002483/0.3994, allocations: 118.9 kB / 483.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.3996, allocations: 0.7158 MB / 484.4 MB, free: 25.81 MB / 346.7 MB Notification: Performance of SimCode: time 3.21e-07/0.3996, allocations: 0 / 484.4 MB, free: 25.81 MB / 346.7 MB Notification: Performance of Templates: time 0.003641/0.4033, allocations: 1.819 MB / 486.2 MB, free: 25.58 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1)