Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52") [: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.001395/0.001395, allocations: 181.9 kB / 7.454 MB, free: 1.559 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.246/1.246, allocations: 170.6 MB / 178.4 MB, free: 3.949 MB / 146.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001716/0.001716, allocations: 111.9 kB / 217.7 MB, free: 12.69 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1385/0.1385, allocations: 37.97 MB / 294.8 MB, free: 72 kB / 210.8 MB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.566e-06, allocations: 0 / 349.5 MB, free: 29.14 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07775/0.07778, allocations: 48.69 MB / 398.2 MB, free: 12.43 MB / 274.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2277/0.3056, allocations: 75.04 MB / 473.3 MB, free: 8.637 MB / 306.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001955/0.3058, allocations: 68.69 kB / 473.3 MB, free: 8.629 MB / 306.8 MB Notification: Performance of FrontEnd: time 0.01048/0.3163, allocations: 3.822 MB / 477.1 MB, free: 6.566 MB / 306.8 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3163, allocations: 3.938 kB / 477.1 MB, free: 6.562 MB / 306.8 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.0003059/0.3167, allocations: 418.5 kB / 477.6 MB, free: 6.109 MB / 306.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3167, allocations: 8.031 kB / 477.6 MB, free: 6.102 MB / 306.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.294e-05/0.3168, allocations: 11.84 kB / 477.6 MB, free: 6.09 MB / 306.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.317, allocations: 207.7 kB / 477.8 MB, free: 5.855 MB / 306.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.317, allocations: 0 / 477.8 MB, free: 5.855 MB / 306.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.317, allocations: 4 kB / 477.8 MB, free: 5.852 MB / 306.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.576e-05/0.3171, allocations: 23.11 kB / 477.8 MB, free: 5.832 MB / 306.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.086e-05/0.3171, allocations: 41 kB / 477.8 MB, free: 5.789 MB / 306.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.3172, allocations: 0.75 kB / 477.8 MB, free: 5.789 MB / 306.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.3172, allocations: 0 / 477.8 MB, free: 5.789 MB / 306.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.3172, allocations: 0 / 477.8 MB, free: 5.789 MB / 306.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002685/0.3175, allocations: 284 kB / 478.1 MB, free: 5.496 MB / 306.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.3176, allocations: 33.39 kB / 478.2 MB, free: 5.461 MB / 306.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.3177, allocations: 15.92 kB / 478.2 MB, free: 5.445 MB / 306.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.3177, allocations: 7.922 kB / 478.2 MB, free: 5.438 MB / 306.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.588e-05/0.3177, allocations: 56.86 kB / 478.2 MB, free: 5.375 MB / 306.8 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.3178, allocations: 7.938 kB / 478.2 MB, free: 5.367 MB / 306.8 MB Notification: Performance of matching and sorting (n=5): time 0.0002993/0.3181, allocations: 97.23 kB / 478.3 MB, free: 5.277 MB / 306.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.483e-05/0.3181, allocations: 51.41 kB / 478.4 MB, free: 5.215 MB / 306.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3182, allocations: 192.1 kB / 478.6 MB, free: 5.035 MB / 306.8 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.3182, allocations: 29.7 kB / 478.6 MB, free: 5 MB / 306.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.074e-05/0.3183, allocations: 95.62 kB / 478.7 MB, free: 4.906 MB / 306.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.3183, allocations: 19.06 kB / 478.7 MB, free: 4.891 MB / 306.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.3183, allocations: 0 / 478.7 MB, free: 4.891 MB / 306.8 MB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.3184, allocations: 322.3 kB / 479 MB, free: 4.57 MB / 306.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.671e-05/0.3184, allocations: 18.75 kB / 479 MB, free: 4.559 MB / 306.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.012e-05/0.3184, allocations: 19.25 kB / 479.1 MB, free: 4.547 MB / 306.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.419e-05/0.3185, allocations: 26.48 kB / 479.1 MB, free: 4.531 MB / 306.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.3185, allocations: 0 / 479.1 MB, free: 4.531 MB / 306.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001323/0.3186, allocations: 96.28 kB / 479.2 MB, free: 4.445 MB / 306.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3187, allocations: 11.11 kB / 479.2 MB, free: 4.438 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3187, allocations: 0 / 479.2 MB, free: 4.438 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3187, allocations: 7.906 kB / 479.2 MB, free: 4.43 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.412e-05/0.3187, allocations: 4 kB / 479.2 MB, free: 4.426 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.3187, allocations: 4 kB / 479.2 MB, free: 4.422 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.3188, allocations: 3.938 kB / 479.2 MB, free: 4.418 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3188, allocations: 4 kB / 479.2 MB, free: 4.414 MB / 306.8 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 4.538e-05/0.3188, allocations: 101 kB / 479.3 MB, free: 4.309 MB / 306.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.3189, allocations: 26.55 kB / 479.3 MB, free: 4.285 MB / 306.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.319, allocations: 90.47 kB / 479.4 MB, free: 4.203 MB / 306.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3191, allocations: 0 / 479.4 MB, free: 4.203 MB / 306.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3191, allocations: 0 / 479.4 MB, free: 4.203 MB / 306.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3191, allocations: 0 / 479.4 MB, free: 4.203 MB / 306.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.3193, allocations: 337.4 kB / 479.8 MB, free: 3.859 MB / 306.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3193, allocations: 7.922 kB / 479.8 MB, free: 3.852 MB / 306.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.3193, allocations: 12 kB / 479.8 MB, free: 3.84 MB / 306.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3194, allocations: 0 / 479.8 MB, free: 3.84 MB / 306.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.3194, allocations: 0 / 479.8 MB, free: 3.84 MB / 306.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3194, allocations: 0 / 479.8 MB, free: 3.84 MB / 306.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3194, allocations: 0 / 479.8 MB, free: 3.84 MB / 306.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001055/0.3195, allocations: 173.8 kB / 480 MB, free: 3.664 MB / 306.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.3195, allocations: 92.88 kB / 480 MB, free: 3.559 MB / 306.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.3196, allocations: 7.906 kB / 480.1 MB, free: 3.551 MB / 306.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.3196, allocations: 4 kB / 480.1 MB, free: 3.547 MB / 306.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.3197, allocations: 7.984 kB / 480.1 MB, free: 3.539 MB / 306.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.3197, allocations: 0 / 480.1 MB, free: 3.539 MB / 306.8 MB Notification: Performance of sort global known variables: time 8.465e-05/0.3198, allocations: 149.3 kB / 480.2 MB, free: 3.414 MB / 306.8 MB Notification: Performance of remove unused functions: time 0.0002634/0.3201, allocations: 35 kB / 480.2 MB, free: 3.383 MB / 306.8 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.000493/0.3206, allocations: 271 kB / 480.5 MB, free: 3.148 MB / 306.8 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.3207, allocations: 72.14 kB / 480.6 MB, free: 3.086 MB / 306.8 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3207, allocations: 4 kB / 480.6 MB, free: 3.082 MB / 306.8 MB Notification: Performance of simCode: created simulation system equations: time 3.923e-05/0.3208, allocations: 22.36 kB / 480.6 MB, free: 3.066 MB / 306.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.321, allocations: 7.984 kB / 480.6 MB, free: 3.059 MB / 306.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000312/0.3213, allocations: 164.9 kB / 480.8 MB, free: 2.895 MB / 306.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/0.3215, allocations: 0.7271 MB / 481.5 MB, free: 2.145 MB / 306.8 MB Notification: Performance of SimCode: time 2.41e-07/0.3215, allocations: 4 kB / 481.5 MB, free: 2.141 MB / 306.8 MB Notification: Performance of Templates: time 0.003326/0.3249, allocations: 1.487 MB / 483 MB, free: 0.6836 MB / 306.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1)