Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61") [: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.003098/0.003098, allocations: 176.7 kB / 7.449 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.247/1.247, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001663/0.001664, allocations: 124.4 kB / 217.7 MB, free: 8.195 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.2119/0.2119, allocations: 37.97 MB / 294.8 MB, free: 9.543 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.28e-05/1.284e-05, allocations: 2.844 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 48.71 MB / 398.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.288/0.3885, allocations: 74.86 MB / 473.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.3887, allocations: 67.38 kB / 473.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0097/0.3984, allocations: 3.758 MB / 476.9 MB, free: 13.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.3985, allocations: 3.375 kB / 476.9 MB, free: 13.42 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003172/0.3988, allocations: 422 kB / 477.3 MB, free: 13 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.3989, allocations: 14 kB / 477.3 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.3989, allocations: 17.59 kB / 477.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.3991, allocations: 204.9 kB / 477.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3991, allocations: 7.156 kB / 477.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.24e-05/0.3992, allocations: 0 / 477.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.096e-05/0.3992, allocations: 10.16 kB / 477.6 MB, free: 12.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.646e-05/0.3993, allocations: 44.41 kB / 477.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.282e-06/0.3993, allocations: 0 / 477.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.3993, allocations: 0 / 477.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.3993, allocations: 3.188 kB / 477.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.3995, allocations: 170.9 kB / 477.8 MB, free: 12.58 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.591e-05/0.3995, allocations: 30.59 kB / 477.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.3995, allocations: 11.36 kB / 477.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.3996, allocations: 0 / 477.8 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.009e-05/0.3996, allocations: 57.48 kB / 477.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3996, allocations: 4 kB / 477.9 MB, free: 12.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001521/0.3998, allocations: 58.09 kB / 477.9 MB, free: 12.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.3998, allocations: 51.41 kB / 478 MB, free: 12.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.4, allocations: 217.7 kB / 478.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.4, allocations: 28.89 kB / 478.2 MB, free: 12.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.749e-05/0.4001, allocations: 95.25 kB / 478.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.4001, allocations: 9.547 kB / 478.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.4001, allocations: 0 / 478.3 MB, free: 12.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.31e-05/0.4002, allocations: 329.9 kB / 478.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.451e-05/0.4003, allocations: 17.3 kB / 478.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.4003, allocations: 20.16 kB / 478.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.4003, allocations: 16.69 kB / 478.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.4003, allocations: 0 / 478.7 MB, free: 11.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001325/0.4005, allocations: 84.2 kB / 478.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.4005, allocations: 3.156 kB / 478.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.4005, allocations: 0 / 478.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.4005, allocations: 7.188 kB / 478.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.4006, allocations: 9.828 kB / 478.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-06/0.4006, allocations: 0 / 478.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.185e-05/0.4007, allocations: 7.219 kB / 478.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.4007, allocations: 4.766 kB / 478.8 MB, free: 11.8 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 (5): * Single equations (assignments): 4 * 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.497e-05/0.4007, allocations: 108.2 kB / 478.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.036e-05/0.4008, allocations: 11.34 kB / 478.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001387/0.4009, allocations: 74.75 kB / 479 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.4009, allocations: 3.938 kB / 479 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4009, allocations: 0 / 479 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.4009, allocations: 4.031 kB / 479 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/0.4011, allocations: 182.2 kB / 479.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4011, allocations: 3.094 kB / 479.2 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.4011, allocations: 7.625 kB / 479.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4011, allocations: 0 / 479.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.4011, allocations: 0 / 479.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.4011, allocations: 0 / 479.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4011, allocations: 0 / 479.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.218e-05/0.4012, allocations: 89.98 kB / 479.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.474e-05/0.4013, allocations: 95.86 kB / 479.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.4013, allocations: 7.188 kB / 479.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.511e-05/0.4014, allocations: 3.75 kB / 479.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.4014, allocations: 0 / 479.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.4014, allocations: 3.75 kB / 479.4 MB, free: 11.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001162/0.4015, allocations: 173.3 kB / 479.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.4017, allocations: 33.28 kB / 479.6 MB, free: 11.21 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 (4): * Single equations (assignments): 3 * 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.000491/0.4022, allocations: 243.5 kB / 479.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.4024, allocations: 64.09 kB / 479.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4024, allocations: 0 / 479.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.4024, allocations: 14.45 kB / 479.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.4026, allocations: 21.38 kB / 479.9 MB, free: 11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.403, allocations: 181.6 kB / 480.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.4033, allocations: 0.7259 MB / 480.8 MB, free: 26.21 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4033, allocations: 0 / 480.8 MB, free: 26.21 MB / 346.7 MB Notification: Performance of Templates: time 0.00346/0.4068, allocations: 1.345 MB / 482.2 MB, free: 26.04 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)