Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4") [: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.003347/0.003347, allocations: 177.5 kB / 7.451 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.219/1.219, 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.001887/0.001887, allocations: 111.9 kB / 217.7 MB, free: 8.164 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.1656/0.1656, allocations: 37.97 MB / 294.8 MB, free: 9.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.284e-06, allocations: 1.125 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08861, allocations: 48.71 MB / 398.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2787/0.3674, allocations: 73.73 MB / 471.9 MB, free: 13.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002173/0.3677, allocations: 70.3 kB / 472 MB, free: 13.34 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.007556/0.3752, allocations: 2.888 MB / 474.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3753, allocations: 3.844 kB / 474.9 MB, free: 13.19 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003909/0.3757, allocations: 421.1 kB / 475.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3758, allocations: 7.75 kB / 475.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.3758, allocations: 11.66 kB / 475.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.376, allocations: 214.4 kB / 475.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.3761, allocations: 0.5 kB / 475.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.3761, allocations: 4.719 kB / 475.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.45e-05/0.3762, allocations: 21.62 kB / 475.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.947e-05/0.3763, allocations: 46.64 kB / 475.6 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3763, allocations: 7.906 kB / 475.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3763, allocations: 0 / 475.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3763, allocations: 7.984 kB / 475.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.3767, allocations: 284 kB / 475.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.3767, allocations: 35.53 kB / 475.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.924e-05/0.3768, allocations: 16.3 kB / 476 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3768, allocations: 7.938 kB / 476 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.3768, allocations: 33.38 kB / 476 MB, free: 12.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.3768, allocations: 0 / 476 MB, free: 12.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004509/0.3773, allocations: 143.2 kB / 476.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.629e-05/0.3773, allocations: 58.23 kB / 476.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.3775, allocations: 200.6 kB / 476.4 MB, free: 11.96 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.3775, allocations: 25.7 kB / 476.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.872e-05/0.3775, allocations: 90.58 kB / 476.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.3776, allocations: 26.09 kB / 476.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.3776, allocations: 0 / 476.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.833e-05/0.3777, allocations: 325.6 kB / 476.8 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.963e-05/0.3777, allocations: 20.31 kB / 476.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.611e-05/0.3778, allocations: 17.75 kB / 476.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.3778, allocations: 16.91 kB / 476.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.3778, allocations: 4 kB / 476.9 MB, free: 11.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001221/0.3779, allocations: 93.53 kB / 477 MB, free: 11.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.378, allocations: 3.656 kB / 477 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.378, allocations: 0 / 477 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.378, allocations: 3.688 kB / 477 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3781, allocations: 17.25 kB / 477 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3781, allocations: 0 / 477 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.3782, allocations: 13.73 kB / 477 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.3782, allocations: 3.5 kB / 477 MB, free: 11.46 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.79e-05/0.3783, allocations: 104.9 kB / 477.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.3783, allocations: 11.69 kB / 477.1 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.3785, allocations: 102.5 kB / 477.2 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3785, allocations: 4.156 kB / 477.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3785, allocations: 0 / 477.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.3785, allocations: 3.469 kB / 477.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.3788, allocations: 368.2 kB / 477.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3789, allocations: 0 / 477.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.3789, allocations: 22.12 kB / 477.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.3789, allocations: 0 / 477.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.379, allocations: 2.953 kB / 477.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.379, allocations: 3.906 kB / 477.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.379, allocations: 0 / 477.6 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000123/0.3791, allocations: 187.3 kB / 477.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.919e-05/0.3792, allocations: 95.12 kB / 477.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.3792, allocations: 3.938 kB / 477.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.933e-05/0.3793, allocations: 6.797 kB / 477.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.3793, allocations: 6.812 kB / 477.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.3793, allocations: 7.875 kB / 477.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.528e-05/0.3794, allocations: 161.5 kB / 478.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.3797, allocations: 23.41 kB / 478.1 MB, free: 10.69 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003576/0.38, allocations: 191.3 kB / 478.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001285/0.3802, allocations: 78.11 kB / 478.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3802, allocations: 0 / 478.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.513e-05/0.3802, allocations: 26.41 kB / 478.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.3804, allocations: 10.98 kB / 478.4 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.3808, allocations: 193.7 kB / 478.6 MB, free: 10.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.3811, allocations: 0.7261 MB / 479.3 MB, free: 25.71 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3811, allocations: 0 / 479.3 MB, free: 25.71 MB / 346.7 MB Notification: Performance of Templates: time 0.00402/0.3852, allocations: 1.147 MB / 480.5 MB, free: 25.59 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1)