Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84") [: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.3+maint.om/package.mo): time 0.000929/0.0009291, allocations: 191.1 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.058/1.058, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008471/0.0008471, allocations: 87.16 kB / 261.4 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1632/0.1632, allocations: 43.48 MB / 352.8 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.115e-06/8.125e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1961, allocations: 58.84 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09488/0.291, allocations: 87.16 MB / 0.5505 GB, free: 11.85 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.2912, allocations: 71.95 kB / 0.5506 GB, free: 11.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01839/0.3096, allocations: 7.379 MB / 0.5578 GB, free: 4.398 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.3096, allocations: 4 kB / 0.5578 GB, free: 4.395 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003749/0.31, allocations: 422.1 kB / 0.5582 GB, free: 3.938 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.986e-05/0.31, allocations: 12.03 kB / 0.5582 GB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.3101, allocations: 11.89 kB / 0.5582 GB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002489/0.3103, allocations: 202.3 kB / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.3104, allocations: 0 / 0.5584 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3104, allocations: 4 kB / 0.5584 GB, free: 3.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.482e-05/0.3105, allocations: 19.89 kB / 0.5584 GB, free: 3.656 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.3106, allocations: 75.33 kB / 0.5585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.3106, allocations: 0 / 0.5585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3106, allocations: 0 / 0.5585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.3106, allocations: 0 / 0.5585 GB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.3109, allocations: 257.4 kB / 0.5588 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.311, allocations: 54.69 kB / 0.5588 GB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.172e-05/0.311, allocations: 20.98 kB / 0.5588 GB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.3111, allocations: 0 / 0.5588 GB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.228e-05/0.3111, allocations: 67.33 kB / 0.5589 GB, free: 3.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.3112, allocations: 0 / 0.5589 GB, free: 3.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003343/0.3115, allocations: 125.4 kB / 0.559 GB, free: 2.988 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3116, allocations: 81.02 kB / 0.5591 GB, free: 2.891 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.3117, allocations: 137 kB / 0.5592 GB, free: 2.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.3117, allocations: 29.7 kB / 0.5593 GB, free: 2.715 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.3117, allocations: 92.06 kB / 0.5593 GB, free: 2.621 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.3118, allocations: 23.66 kB / 0.5594 GB, free: 2.598 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.3118, allocations: 0 / 0.5594 GB, free: 2.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.424e-05/0.3119, allocations: 326.8 kB / 0.5597 GB, free: 2.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.337e-05/0.3119, allocations: 20 kB / 0.5597 GB, free: 2.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/0.312, allocations: 42.56 kB / 0.5597 GB, free: 2.199 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.77e-05/0.312, allocations: 16 kB / 0.5597 GB, free: 2.184 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.312, allocations: 4 kB / 0.5598 GB, free: 2.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001333/0.3122, allocations: 89.78 kB / 0.5598 GB, free: 2.086 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.506e-06/0.3122, allocations: 4 kB / 0.5598 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3122, allocations: 8.016 kB / 0.5598 GB, free: 2.074 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.768e-06/0.3122, allocations: 3.906 kB / 0.5599 GB, free: 2.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.227e-05/0.3123, allocations: 12.19 kB / 0.5599 GB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3123, allocations: 11.97 kB / 0.5599 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.647e-05/0.3123, allocations: 8.062 kB / 0.5599 GB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3124, allocations: 4 kB / 0.5599 GB, free: 2.035 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 prepare postOptimizeDAE: time 6.572e-05/0.3124, allocations: 105 kB / 0.56 GB, free: 1.926 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.3125, allocations: 11.91 kB / 0.56 GB, free: 1.914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.3126, allocations: 102 kB / 0.5601 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3127, allocations: 0 / 0.5601 GB, free: 1.805 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.3127, allocations: 4 kB / 0.5601 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3127, allocations: 0 / 0.5601 GB, free: 1.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.313, allocations: 359.8 kB / 0.5604 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.313, allocations: 0 / 0.5604 GB, free: 1.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.3131, allocations: 15.98 kB / 0.5605 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3131, allocations: 0 / 0.5605 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3131, allocations: 4 kB / 0.5605 GB, free: 1.383 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3131, allocations: 4 kB / 0.5605 GB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.3131, allocations: 3.938 kB / 0.5605 GB, free: 1.375 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000174/0.3133, allocations: 202 kB / 0.5607 GB, free: 1.152 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.3133, allocations: 85.02 kB / 0.5607 GB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.3134, allocations: 11.97 kB / 0.5608 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.667e-05/0.3134, allocations: 0 / 0.5608 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3135, allocations: 15.84 kB / 0.5608 GB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.3135, allocations: 7.984 kB / 0.5608 GB, free: 1.016 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.626e-05/0.3136, allocations: 119 kB / 0.5609 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002519/0.3138, allocations: 43.88 kB / 0.5609 GB, free: 0.8594 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007026/0.3146, allocations: 387.3 kB / 0.5613 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001207/0.3147, allocations: 55.94 kB / 0.5614 GB, free: 476 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3147, allocations: 0 / 0.5614 GB, free: 476 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.892e-05/0.3147, allocations: 31.94 kB / 0.5614 GB, free: 444 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.315, allocations: 23.83 kB / 0.5614 GB, free: 420 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.3153, allocations: 132.8 kB / 0.5615 GB, free: 252 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/0.3156, allocations: 0.7231 MB / 0.5622 GB, free: 15.5 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3156, allocations: 0 / 0.5622 GB, free: 15.5 MB / 410.7 MB Notification: Performance of Templates: time 0.003914/0.3195, allocations: 1.841 MB / 0.564 GB, free: 13.66 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1)