Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20.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.CombiTable1D.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20") [: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.003546/0.003546, allocations: 173.2 kB / 7.447 MB, free: 2.344 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.161/1.161, allocations: 170.6 MB / 178.4 MB, free: 15.71 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.001705/0.001705, allocations: 99.94 kB / 217.7 MB, free: 8.5 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.201/0.201, allocations: 37.97 MB / 294.8 MB, free: 9.648 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.197e-06/9.457e-06, allocations: 1.219 kB / 349.5 MB, free: 37.22 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1069, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.4632, allocations: 73.96 MB / 472.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.4635, allocations: 71.83 kB / 472.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01842/0.4819, allocations: 4.838 MB / 477.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.482, allocations: 3.812 kB / 477.1 MB, free: 13.14 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.0006267/0.4826, allocations: 416.9 kB / 477.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.4827, allocations: 10.42 kB / 477.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.253e-05/0.4828, allocations: 7.781 kB / 477.5 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000279/0.4831, allocations: 186.4 kB / 477.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.4831, allocations: 3.938 kB / 477.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.4831, allocations: 7.812 kB / 477.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001051/0.4832, allocations: 13.91 kB / 477.7 MB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.4834, allocations: 58.91 kB / 477.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.4834, allocations: 0 / 477.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.4835, allocations: 4 kB / 477.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.4835, allocations: 0 / 477.8 MB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.484, allocations: 264.6 kB / 478 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.4842, allocations: 30.55 kB / 478.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.4843, allocations: 17.53 kB / 478.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.421e-05/0.4844, allocations: 7.844 kB / 478.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.4844, allocations: 34.56 kB / 478.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.4844, allocations: 0 / 478.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006354/0.4851, allocations: 108.8 kB / 478.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.4851, allocations: 77.11 kB / 478.3 MB, free: 12.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.4853, allocations: 110.9 kB / 478.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.4853, allocations: 25.7 kB / 478.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.419e-05/0.4853, allocations: 87.14 kB / 478.5 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.4854, allocations: 19.09 kB / 478.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-06/0.4854, allocations: 0 / 478.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.84e-05/0.4855, allocations: 321.5 kB / 478.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.492e-05/0.4855, allocations: 15.53 kB / 478.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.4856, allocations: 31.25 kB / 478.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.858e-05/0.4857, allocations: 14.39 kB / 478.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4857, allocations: 3.938 kB / 478.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001859/0.4859, allocations: 72.02 kB / 479 MB, free: 11.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.4859, allocations: 7.75 kB / 479 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.4859, allocations: 0 / 479 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4859, allocations: 0 / 479 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.4861, allocations: 14.73 kB / 479 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.4861, allocations: 0 / 479 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.434e-05/0.4862, allocations: 15.05 kB / 479 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.4862, allocations: 3.938 kB / 479 MB, free: 11.41 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 (6): * Single equations (assignments): 5 * 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 6.975e-05/0.4863, allocations: 108.8 kB / 479.1 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.4863, allocations: 7.344 kB / 479.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002046/0.4866, allocations: 74.25 kB / 479.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4866, allocations: 0 / 479.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.4866, allocations: 0 / 479.2 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.4866, allocations: 3.906 kB / 479.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/0.487, allocations: 311.1 kB / 479.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.487, allocations: 0 / 479.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.4871, allocations: 18.22 kB / 479.5 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4871, allocations: 10.3 kB / 479.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4871, allocations: 0 / 479.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4872, allocations: 7.891 kB / 479.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4872, allocations: 0 / 479.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001685/0.4873, allocations: 161.5 kB / 479.7 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.4874, allocations: 88.39 kB / 479.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.4874, allocations: 3.422 kB / 479.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.4876, allocations: 3.875 kB / 479.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.4876, allocations: 7.016 kB / 479.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.4876, allocations: 0 / 479.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.39e-05/0.4877, allocations: 93.28 kB / 479.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004654/0.4882, allocations: 26.91 kB / 479.9 MB, free: 10.65 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 (5): * Single equations (assignments): 5 * 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.0006338/0.4888, allocations: 256.3 kB / 480.2 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.489, allocations: 64.25 kB / 480.3 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.489, allocations: 4 kB / 480.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.75e-05/0.4891, allocations: 18.94 kB / 480.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.4894, allocations: 9.953 kB / 480.3 MB, free: 10.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004186/0.4898, allocations: 96.81 kB / 480.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.4901, allocations: 0.7013 MB / 481.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4901, allocations: 0 / 481.1 MB, free: 9.66 MB / 330.7 MB Notification: Performance of Templates: time 0.004714/0.4949, allocations: 1.246 MB / 482.3 MB, free: 9.512 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1)