Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19") [: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.002554/0.002554, allocations: 173.8 kB / 7.447 MB, free: 2.512 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.2/1.2, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001586/0.001586, allocations: 115.8 kB / 217.7 MB, free: 8.184 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.1348/0.1348, allocations: 37.98 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.03e-05, allocations: 2.719 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09461/0.09464, allocations: 48.72 MB / 398.2 MB, free: 5.699 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2814/0.3761, allocations: 75 MB / 473.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.3764, allocations: 65.81 kB / 473.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009583/0.386, allocations: 3.544 MB / 476.8 MB, free: 13.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.386, allocations: 3.875 kB / 476.8 MB, free: 13.47 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.0003798/0.3864, allocations: 411.1 kB / 477.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3864, allocations: 7.875 kB / 477.2 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/0.3865, allocations: 11.78 kB / 477.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.3868, allocations: 204.4 kB / 477.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3868, allocations: 0 / 477.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.3868, allocations: 3.875 kB / 477.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.236e-05/0.3869, allocations: 13.62 kB / 477.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.887e-05/0.387, allocations: 45.72 kB / 477.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.387, allocations: 0 / 477.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.387, allocations: 3.906 kB / 477.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.387, allocations: 0 / 477.5 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/0.3874, allocations: 271.7 kB / 477.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.3875, allocations: 35.38 kB / 477.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.3876, allocations: 15.33 kB / 477.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.31e-05/0.3876, allocations: 0 / 477.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.596e-05/0.3877, allocations: 58.06 kB / 477.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.253e-06/0.3877, allocations: 0 / 477.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003201/0.388, allocations: 94.72 kB / 478 MB, free: 12.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.3881, allocations: 55.31 kB / 478 MB, free: 12.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.3882, allocations: 157.2 kB / 478.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.3882, allocations: 25.7 kB / 478.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.3882, allocations: 94.62 kB / 478.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.3883, allocations: 15.28 kB / 478.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.3883, allocations: 3.938 kB / 478.3 MB, free: 12.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.3883, allocations: 318 kB / 478.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.777e-05/0.3884, allocations: 22.28 kB / 478.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.239e-05/0.3884, allocations: 22.78 kB / 478.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.685e-05/0.3885, allocations: 31.55 kB / 478.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3885, allocations: 0 / 478.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001402/0.3886, allocations: 91.95 kB / 478.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.3887, allocations: 3.906 kB / 478.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3887, allocations: 0 / 478.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.3887, allocations: 0 / 478.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.78e-05/0.3887, allocations: 14.12 kB / 478.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3887, allocations: 4.031 kB / 478.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.3888, allocations: 4.062 kB / 478.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.3888, allocations: 11.83 kB / 478.8 MB, free: 11.79 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.11e-05/0.3889, allocations: 111.5 kB / 478.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.3889, allocations: 11.8 kB / 479 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.3891, allocations: 82.78 kB / 479 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3891, allocations: 3.906 kB / 479 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3891, allocations: 0 / 479 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3891, allocations: 0 / 479 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.3893, allocations: 330.1 kB / 479.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3893, allocations: 0 / 479.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.3894, allocations: 10.52 kB / 479.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.3894, allocations: 0 / 479.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3894, allocations: 3.844 kB / 479.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3894, allocations: 0 / 479.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3894, allocations: 0 / 479.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001168/0.3895, allocations: 174.3 kB / 479.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.626e-05/0.3896, allocations: 91.97 kB / 479.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.3896, allocations: 0 / 479.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.951e-05/0.3897, allocations: 3.938 kB / 479.6 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.3897, allocations: 6.656 kB / 479.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.321e-06/0.3898, allocations: 3.938 kB / 479.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.456e-05/0.3898, allocations: 125.7 kB / 479.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002615/0.3901, allocations: 35.09 kB / 479.8 MB, free: 11.02 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.0005246/0.3906, allocations: 265 kB / 480.1 MB, free: 10.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001514/0.3908, allocations: 80.36 kB / 480.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3908, allocations: 0 / 480.2 MB, free: 10.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.81e-05/0.3908, allocations: 22.94 kB / 480.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.3911, allocations: 10.47 kB / 480.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000381/0.3915, allocations: 129 kB / 480.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004183/0.3919, allocations: 0.7148 MB / 481 MB, free: 26.02 MB / 346.7 MB Notification: Performance of SimCode: time 3.51e-07/0.392, allocations: 3.938 kB / 481 MB, free: 26.02 MB / 346.7 MB Notification: Performance of Templates: time 0.003774/0.3957, allocations: 1.448 MB / 482.5 MB, free: 25.83 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1)