Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3") [: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.003782/0.003782, allocations: 172.5 kB / 7.446 MB, free: 2.508 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.221/1.221, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001734/0.001734, allocations: 115.8 kB / 217.7 MB, free: 8.141 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.1688/0.1688, allocations: 37.97 MB / 294.8 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.307e-06/9.327e-06, allocations: 3.125 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 48.71 MB / 398.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2842/0.386, allocations: 74.99 MB / 473.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001634/0.3862, allocations: 62.75 kB / 473.3 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0092/0.3954, allocations: 3.456 MB / 476.7 MB, free: 13.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.139e-05/0.3955, allocations: 0.75 kB / 476.7 MB, free: 13.11 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.0003382/0.3958, allocations: 411.6 kB / 477.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.3959, allocations: 7.5 kB / 477.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.3959, allocations: 7.656 kB / 477.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.3961, allocations: 200.5 kB / 477.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.3961, allocations: 2.344 kB / 477.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.3962, allocations: 7.781 kB / 477.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.855e-05/0.3962, allocations: 13.64 kB / 477.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.51e-05/0.3963, allocations: 50.25 kB / 477.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3963, allocations: 0 / 477.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3963, allocations: 0 / 477.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3964, allocations: 7.75 kB / 477.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002619/0.3966, allocations: 258.7 kB / 477.7 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.3968, allocations: 41.44 kB / 477.7 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.3969, allocations: 8.047 kB / 477.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.21e-05/0.3969, allocations: 3.984 kB / 477.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.3969, allocations: 64.62 kB / 477.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3969, allocations: 0 / 477.8 MB, free: 12.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002942/0.3972, allocations: 90.02 kB / 477.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.604e-05/0.3973, allocations: 51.41 kB / 477.9 MB, free: 12.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/0.3974, allocations: 136.8 kB / 478.1 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.3974, allocations: 28.86 kB / 478.1 MB, free: 11.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.3974, allocations: 90.98 kB / 478.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.3974, allocations: 14.06 kB / 478.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.3975, allocations: 4 kB / 478.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.156e-05/0.3975, allocations: 323.8 kB / 478.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.83e-05/0.3976, allocations: 16.62 kB / 478.5 MB, free: 11.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.369e-05/0.3976, allocations: 24.56 kB / 478.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.606e-05/0.3976, allocations: 26.86 kB / 478.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.3977, allocations: 0 / 478.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001359/0.3978, allocations: 87.52 kB / 478.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.3978, allocations: 3.75 kB / 478.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.3978, allocations: 3.75 kB / 478.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3978, allocations: 2.438 kB / 478.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.3979, allocations: 15.41 kB / 478.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.3979, allocations: 160 / 478.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.398, allocations: 3.938 kB / 478.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.398, allocations: 10.27 kB / 478.7 MB, free: 11.42 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.338e-05/0.398, allocations: 112.6 kB / 478.8 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.3981, allocations: 11.69 kB / 478.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.3982, allocations: 78.27 kB / 478.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3982, allocations: 4 kB / 478.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3982, allocations: 0 / 478.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3982, allocations: 0 / 478.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002247/0.3985, allocations: 323.4 kB / 479.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3985, allocations: 0 / 479.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.3985, allocations: 3.875 kB / 479.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3985, allocations: 3.875 kB / 479.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3985, allocations: 3.234 kB / 479.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3986, allocations: 0 / 479.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3986, allocations: 4 kB / 479.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001125/0.3987, allocations: 163.4 kB / 479.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.3987, allocations: 95.41 kB / 479.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3988, allocations: 0 / 479.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.93e-05/0.3988, allocations: 3.875 kB / 479.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.3989, allocations: 3.328 kB / 479.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3989, allocations: 3.844 kB / 479.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.969e-05/0.3989, allocations: 116.1 kB / 479.6 MB, free: 10.67 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.3992, allocations: 33.02 kB / 479.6 MB, free: 10.66 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.0004756/0.3997, allocations: 275 kB / 479.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.3998, allocations: 72.27 kB / 480 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3998, allocations: 3.875 kB / 480 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/0.3999, allocations: 17.59 kB / 480 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.4001, allocations: 17.23 kB / 480 MB, free: 10.45 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.4003, allocations: 107.2 kB / 480.1 MB, free: 10.37 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.4006, allocations: 0.7137 MB / 480.8 MB, free: 25.66 MB / 346.7 MB Notification: Performance of SimCode: time 8.91e-07/0.4006, allocations: 3.938 kB / 480.8 MB, free: 25.66 MB / 346.7 MB Notification: Performance of Templates: time 0.003045/0.4036, allocations: 1.393 MB / 482.2 MB, free: 25.48 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1)