Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.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.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37") [: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.003332/0.003332, allocations: 176.1 kB / 7.448 MB, free: 2.523 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.22/1.22, allocations: 170.6 MB / 178.4 MB, free: 15.77 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.001783/0.001783, allocations: 112.5 kB / 217.7 MB, free: 8.562 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.1515/0.1515, allocations: 37.97 MB / 294.8 MB, free: 9.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.275e-06, allocations: 1.594 kB / 349.5 MB, free: 37.2 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08875/0.08877, allocations: 48.72 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2761/0.3649, allocations: 74.86 MB / 473.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.3652, allocations: 69.17 kB / 473.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.009173/0.3744, allocations: 3.469 MB / 476.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.3744, allocations: 4 kB / 476.6 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003023/0.3747, allocations: 401.9 kB / 477 MB, free: 13.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.3748, allocations: 6.656 kB / 477 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.3748, allocations: 10.56 kB / 477 MB, free: 13.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.375, allocations: 193.6 kB / 477.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.375, allocations: 0 / 477.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.3751, allocations: 3.188 kB / 477.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.288e-05/0.3751, allocations: 14.42 kB / 477.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.305e-05/0.3752, allocations: 41.91 kB / 477.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.3752, allocations: 0 / 477.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3752, allocations: 0 / 477.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3752, allocations: 0 / 477.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.3754, allocations: 167.3 kB / 477.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.27e-05/0.3754, allocations: 34.03 kB / 477.5 MB, free: 12.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/0.3755, allocations: 11.3 kB / 477.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.3755, allocations: 4 kB / 477.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.351e-05/0.3756, allocations: 52.78 kB / 477.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.3756, allocations: 0 / 477.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001486/0.3757, allocations: 54.89 kB / 477.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.3758, allocations: 56.66 kB / 477.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3759, allocations: 158.8 kB / 477.8 MB, free: 12.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.3759, allocations: 25.7 kB / 477.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.801e-05/0.376, allocations: 92.41 kB / 477.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.847e-05/0.376, allocations: 11.09 kB / 477.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.16e-06/0.376, allocations: 0 / 477.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.3761, allocations: 323.9 kB / 478.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.124e-05/0.3761, allocations: 14.97 kB / 478.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.3761, allocations: 15.5 kB / 478.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.066e-05/0.3762, allocations: 23.41 kB / 478.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3762, allocations: 0.5625 kB / 478.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001198/0.3763, allocations: 78.61 kB / 478.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.746e-06/0.3763, allocations: 3.188 kB / 478.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.3763, allocations: 4 kB / 478.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.3764, allocations: 0 / 478.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.24e-05/0.3764, allocations: 10.03 kB / 478.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.3764, allocations: 0 / 478.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.207e-05/0.3765, allocations: 13.23 kB / 478.4 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.3765, allocations: 3.219 kB / 478.4 MB, free: 11.88 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 4.354e-05/0.3765, allocations: 104.9 kB / 478.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.703e-05/0.3766, allocations: 10.36 kB / 478.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.3767, allocations: 71.3 kB / 478.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3767, allocations: 3.906 kB / 478.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.3767, allocations: 2.578 kB / 478.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3767, allocations: 3.938 kB / 478.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.296e-05/0.3768, allocations: 155.4 kB / 478.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3768, allocations: 4 kB / 478.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.393e-05/0.3769, allocations: 3.219 kB / 478.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3769, allocations: 3.219 kB / 478.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.3769, allocations: 2.25 kB / 478.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3769, allocations: 0 / 478.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.3769, allocations: 3.906 kB / 478.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.761e-05/0.377, allocations: 89.17 kB / 478.9 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.377, allocations: 93.91 kB / 478.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.3771, allocations: 0 / 478.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.512e-05/0.3771, allocations: 2.016 kB / 478.9 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.3771, allocations: 3.75 kB / 479 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.3772, allocations: 1.875 kB / 479 MB, free: 11.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.912e-05/0.3772, allocations: 129.2 kB / 479.1 MB, free: 11.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.3774, allocations: 28.81 kB / 479.1 MB, free: 11.29 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.0004506/0.3779, allocations: 236.3 kB / 479.3 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001112/0.378, allocations: 67.67 kB / 479.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.378, allocations: 3.188 kB / 479.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.72e-05/0.3781, allocations: 10.41 kB / 479.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.3783, allocations: 19.42 kB / 479.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002439/0.3785, allocations: 114 kB / 479.5 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.3787, allocations: 0.7097 MB / 480.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3787, allocations: 0 / 480.3 MB, free: 10.31 MB / 330.7 MB Notification: Performance of Templates: time 0.003079/0.3818, allocations: 1.237 MB / 481.5 MB, free: 10.16 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1)